web: add javascript mode to codemirror

This commit is contained in:
Jens Langhammer 2021-02-03 21:58:30 +01:00
parent 4b24b185f2
commit ac24fc9ce3
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ import CodeMirror from "codemirror";
import "codemirror/addon/display/autorefresh"; import "codemirror/addon/display/autorefresh";
import "codemirror/mode/xml/xml.js"; import "codemirror/mode/xml/xml.js";
import "codemirror/mode/yaml/yaml.js"; import "codemirror/mode/yaml/yaml.js";
import "codemirror/mode/javascript/javascript.js";
import "codemirror/mode/python/python.js"; import "codemirror/mode/python/python.js";
@customElement("ak-codemirror") @customElement("ak-codemirror")