X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=to-be-integrated%2Fthird-party%2Fcodemirror-3.15%2Fmode%2Fjavascript%2Findex.html;fp=to-be-integrated%2Fthird-party%2Fcodemirror-3.15%2Fmode%2Fjavascript%2Findex.html;h=db063b772d03a05a420d3661694a88941fc66f35;hb=31540dd504798e0aca69e10d8144fbedc5b16af8;hp=0000000000000000000000000000000000000000;hpb=937653fd70bbf7d95bcf870e7f2b46b4a8fec486;p=myslice.git diff --git a/to-be-integrated/third-party/codemirror-3.15/mode/javascript/index.html b/to-be-integrated/third-party/codemirror-3.15/mode/javascript/index.html new file mode 100644 index 00000000..db063b77 --- /dev/null +++ b/to-be-integrated/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
.