make it crash

pull/1417/head
John McLear 2013-01-22 22:48:05 +00:00
parent 5d416579ee
commit 205d983225
3 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ var async = require("async");
var exportHtml = require("../utils/ExportHtml");
var importHtml = require("../utils/ImportHtml");
var cleanText = require("./Pad").cleanText;
var padDiff = require("../utils/padDiff");
/**********************/
/**GROUP FUNCTIONS*****/

View File

@ -24,7 +24,6 @@ var fs = require("fs");
var api = require("../db/API");
var padManager = require("../db/PadManager");
var randomString = require('ep_etherpad-lite/static/js/pad_utils').randomString;
var padDiff = require("../utils/padDiff");
//ensure we have an apikey
var apikey = null;

View File

@ -1,4 +1,5 @@
exports.createDiff = function(padID, startRev, endRev, callback){
console.warn("WTF");
//check if rev is a number
if(startRev !== undefined && typeof startRev != "number")
{