mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
getRepHTML seems to be unused. Removing
This commit is contained in:
parent
709a3b1dbe
commit
8593b1905c
1 changed files with 0 additions and 18 deletions
|
@ -3749,24 +3749,6 @@ function Ace2Inner(){
|
||||||
setSelection(selection);
|
setSelection(selection);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getRepHTML()
|
|
||||||
{
|
|
||||||
return _.map(rep.lines.slice(), function(entry)
|
|
||||||
{
|
|
||||||
var text = entry.text;
|
|
||||||
var content;
|
|
||||||
if (text.length === 0)
|
|
||||||
{
|
|
||||||
content = '<span style="color: #aaa">--</span>';
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
content = htmlPrettyEscape(text);
|
|
||||||
}
|
|
||||||
return '<div><code>' + content + '</div></code>';
|
|
||||||
}).join('');
|
|
||||||
}
|
|
||||||
|
|
||||||
function nodeMaxIndex(nd)
|
function nodeMaxIndex(nd)
|
||||||
{
|
{
|
||||||
if (isNodeText(nd)) return nd.nodeValue.length;
|
if (isNodeText(nd)) return nd.nodeValue.length;
|
||||||
|
|
Loading…
Reference in a new issue