X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=third-party%2Fcodemirror-3.15%2Fmode%2Fjavascript%2Findex.html;fp=third-party%2Fcodemirror-3.15%2Fmode%2Fjavascript%2Findex.html;h=db063b772d03a05a420d3661694a88941fc66f35;hb=75d3bceb8e1d168e83982f910a916aee3bab7981;hp=0000000000000000000000000000000000000000;hpb=302dd5bda1297ed6579ca26da35ee67f8d35d934;p=unfold.git diff --git a/third-party/codemirror-3.15/mode/javascript/index.html b/third-party/codemirror-3.15/mode/javascript/index.html new file mode 100644 index 00000000..db063b77 --- /dev/null +++ b/third-party/codemirror-3.15/mode/javascript/index.html @@ -0,0 +1,94 @@ + + +
+ ++ JavaScript mode supports a two configuration + options: +
json
which will set the mode to expect JSON
+ data rather than a JavaScript program.typescript
which will activate additional
+ syntax highlighting and some other things for TypeScript code
+ (demo).statementIndent
which (given a number) will
+ determine the amount of indentation to use for statements
+ continued on a new line.MIME types defined: text/javascript
, application/json
, text/typescript
, application/typescript
.