remove unused markup from generated HTML
This commit is contained in:
parent
935859b60e
commit
07f2f8081b
1 changed files with 1 additions and 2 deletions
|
|
@ -64,8 +64,7 @@ ace.TextLayer.prototype.updateLines = function(layerConfig, firstRow, lastRow) {
|
|||
ace.TextLayer.prototype.update = function(config) {
|
||||
var html = [];
|
||||
for ( var i = config.firstRow; i <= config.lastRow; i++) {
|
||||
html.push("<div class='line ", i % 2 == 0 ? "even" : "odd",
|
||||
"' style='height:" + this.lineHeight + "px;", "width:",
|
||||
html.push("<div style='height:" + this.lineHeight + "px;", "width:",
|
||||
config.width, "px'>");
|
||||
this.renderLine(html, i), html.push("</div>");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue