mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
lintWith is now lint and false by default
This initialisation should be false to start with as we set PHP mode as a basis and have no linter for that We set the mode in processes/on-editor-load.php and then lint: true if it's a JS mode.
This commit is contained in:
@@ -184,7 +184,7 @@ function createNewCMInstance(num) {
|
||||
autoCloseBrackets: true,
|
||||
highlightSelectionMatches: true,
|
||||
showTrailingSpace: true,
|
||||
lintWith: <?php if ($ICEcoder['codeAssist']) {echo 'fileName && fileName.indexOf(".js")>-1 ? CodeMirror.javascriptValidator : ';};?>false,
|
||||
lint: false,
|
||||
keyMap: "ICEcoder"
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user