diff options
author | John McLear <john@mclear.co.uk> | 2013-01-22 23:16:49 +0000 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2013-01-22 23:16:49 +0000 |
commit | 3fb2f02875bfd0da7097a3fa021c7959bde1811b (patch) | |
tree | 266a101953b99005e00b2930ae4fb1d3015893b3 /src/node/db | |
parent | d21585b8807b831e51a689bab6769d0ebfc1544b (diff) | |
download | etherpad-lite-3fb2f02875bfd0da7097a3fa021c7959bde1811b.zip |
semi working
Diffstat (limited to 'src/node/db')
-rw-r--r-- | src/node/db/API.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/node/db/API.js b/src/node/db/API.js index 50c4a6c5..2c8b91ab 100644 --- a/src/node/db/API.js +++ b/src/node/db/API.js @@ -611,19 +611,16 @@ exports.createDiff = function(padID, startRev, endRev, callback){ //get the pad getPadSafe(padID, true, function(err, pad) { -console.warn(padID); if(err){ return callback(err); } try { -console.warn(pad); var padDiff = new PadDiff(pad, startRev, endRev); -console.warn("AFTER"); } catch(e) { + // console.warn(e.stack); return callback({stop:e.message}); } -/* var html, authors; async.series([ @@ -650,7 +647,6 @@ console.warn("AFTER"); ], function(err){ callback(err, {html: html, authors: authors}) }); - */ }); } |