lineNumbers controlled from JS var

This commit is contained in:
Matt Pass
2016-04-23 15:13:55 +01:00
parent 94fe55cc14
commit f8c1fbfbec

View File

@@ -94,7 +94,7 @@ var highlightVersion = function(elem) {
}
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
lineNumbers: true,
lineNumbers: top.ICEcoder.lineNumbers,
readOnly: "nocursor",
indentUnit: top.ICEcoder.indentSize,
tabSize: top.ICEcoder.indentSize,