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
1 changed files with 0 additions and 18 deletions

View File

@ -3749,24 +3749,6 @@ function Ace2Inner(){
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)
{
if (isNodeText(nd)) return nd.nodeValue.length;