mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 09:56:15 -04:00
and semi working
This commit is contained in:
parent
3fb2f02875
commit
f1b9c213ee
3 changed files with 47 additions and 3 deletions
|
@ -92,7 +92,7 @@ function getPadHTML(pad, revNum, callback)
|
|||
|
||||
exports.getPadHTML = getPadHTML;
|
||||
|
||||
function getHTMLFromAtext(pad, atext)
|
||||
exports.getHTMLFromAtext = function(pad, atext)
|
||||
{
|
||||
var apool = pad.apool();
|
||||
var textLines = atext.text.slice(0, -1).split('\n');
|
||||
|
|
|
@ -244,14 +244,17 @@ PadDiff.prototype.getHtml = function(callback){
|
|||
},
|
||||
//get the authorColor table
|
||||
function(callback){
|
||||
self._pad.getAllAuthorColors(function(err, _authorColors){
|
||||
/*
|
||||
self._pad.getAllAuthorColors(function(err, _authorColors){ // TODO
|
||||
if(err){
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
authorColors = _authorColors;
|
||||
callback();
|
||||
});
|
||||
*/
|
||||
authorColors = {};
|
||||
callback();
|
||||
},
|
||||
//convert the atext to html
|
||||
function(callback){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue