getRepHTML seems to be unused. Removing

This commit is contained in:
Matthias Bartelmeß 2012-04-20 14:24:44 +02:00
parent 709a3b1dbe
commit 8593b1905c

View file

@ -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;