mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 08:56:17 -04:00
semi working
This commit is contained in:
parent
d21585b880
commit
3fb2f02875
2 changed files with 539 additions and 63 deletions
|
@ -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})
|
||||
});
|
||||
*/
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue