lazy loading of eslint only for JS code

This commit is contained in:
azivner
2018-02-21 20:30:15 -05:00
parent 89666eb078
commit e1200aa308
3 changed files with 13 additions and 22 deletions

View File

@@ -142,7 +142,6 @@ const noteEditor = (function() {
else if (currentNote.detail.type === 'code') {
if (!codeEditor) {
await requireLibrary(CODE_MIRROR);
await requireLibrary(JS_LINT);
CodeMirror.keyMap.default["Shift-Tab"] = "indentLess";
CodeMirror.keyMap.default["Tab"] = "indentMore";