mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
Added colors to pad diff
This commit is contained in:
parent
dcfb1b2ea4
commit
07a267be7a
6 changed files with 89 additions and 21 deletions
|
@ -244,17 +244,14 @@ PadDiff.prototype.getHtml = function(callback){
|
|||
},
|
||||
//get the authorColor table
|
||||
function(callback){
|
||||
/*
|
||||
self._pad.getAllAuthorColors(function(err, _authorColors){ // TODO
|
||||
self._pad.getAllAuthorColors(function(err, _authorColors){
|
||||
if(err){
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
authorColors = _authorColors;
|
||||
callback();
|
||||
});
|
||||
*/
|
||||
authorColors = {};
|
||||
callback();
|
||||
},
|
||||
//convert the atext to html
|
||||
function(callback){
|
||||
|
@ -265,7 +262,7 @@ PadDiff.prototype.getHtml = function(callback){
|
|||
], function(err){
|
||||
callback(err, html);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
PadDiff.prototype.getAuthors = function(callback){
|
||||
var self = this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue