diff --git a/rhodecode/public/js/mode/javascript/index.html b/rhodecode/public/js/mode/javascript/index.html new file mode 100644 --- /dev/null +++ b/rhodecode/public/js/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.