commit
a5210ab27d
|
@ -167,6 +167,12 @@ require.setGlobalKeyPath("require");\n\
|
||||||
buffer.push(Ace2Editor.EMBEDED[KERNEL_SOURCE]);
|
buffer.push(Ace2Editor.EMBEDED[KERNEL_SOURCE]);
|
||||||
buffer.push(KERNEL_BOOT);
|
buffer.push(KERNEL_BOOT);
|
||||||
buffer.push('<\/script>');
|
buffer.push('<\/script>');
|
||||||
|
} else {
|
||||||
|
file = KERNEL_SOURCE;
|
||||||
|
buffer.push('<script type="application/javascript" src="' + KERNEL_SOURCE + '"><\/script>');
|
||||||
|
buffer.push('<script type="text/javascript">');
|
||||||
|
buffer.push(KERNEL_BOOT);
|
||||||
|
buffer.push('<\/script>');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function pushScriptsTo(buffer) {
|
function pushScriptsTo(buffer) {
|
||||||
|
|
|
@ -229,6 +229,10 @@ domline.createDomLine = function(nonEmpty, doesWrap, optBrowser, optDocument)
|
||||||
result.node.innerHTML = curHTML;
|
result.node.innerHTML = curHTML;
|
||||||
}
|
}
|
||||||
if (lineClass !== null) result.node.className = lineClass;
|
if (lineClass !== null) result.node.className = lineClass;
|
||||||
|
|
||||||
|
hooks.callAll("acePostWriteDomLineHTML", {
|
||||||
|
node: result.node
|
||||||
|
});
|
||||||
}
|
}
|
||||||
result.prepareForAdd = writeHTML;
|
result.prepareForAdd = writeHTML;
|
||||||
result.finishUpdate = writeHTML;
|
result.finishUpdate = writeHTML;
|
||||||
|
|
Loading…
Reference in New Issue