annotate rhodecode/public/js/mode/meta.js @ 4082:ebcb1d32eed9

remove duplicated JSON metatype in codemirror meta.js
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 03 Jul 2013 00:23:30 +0200
parents af3c746b3f1f
children bb9ef0638069
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4026
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
1 CodeMirror.modeInfo = [
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
2 {name: 'APL', mime: 'text/apl', mode: 'apl'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
3 {name: 'Asterisk', mime: 'text/x-asterisk', mode: 'asterisk'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
4 {name: 'C', mime: 'text/x-csrc', mode: 'clike'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
5 {name: 'C++', mime: 'text/x-c++src', mode: 'clike'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
6 {name: 'Cobol', mime: 'text/x-cobol', mode: 'cobol'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
7 {name: 'Java', mime: 'text/x-java', mode: 'clike'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
8 {name: 'C#', mime: 'text/x-csharp', mode: 'clike'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
9 {name: 'Scala', mime: 'text/x-scala', mode: 'clike'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
10 {name: 'Clojure', mime: 'text/x-clojure', mode: 'clojure'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
11 {name: 'CoffeeScript', mime: 'text/x-coffeescript', mode: 'coffeescript'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
12 {name: 'Common Lisp', mime: 'text/x-common-lisp', mode: 'commonlisp'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
13 {name: 'CSS', mime: 'text/css', mode: 'css'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
14 {name: 'D', mime: 'text/x-d', mode: 'd'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
15 {name: 'diff', mime: 'text/x-diff', mode: 'diff'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
16 {name: 'ECL', mime: 'text/x-ecl', mode: 'ecl'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
17 {name: 'Erlang', mime: 'text/x-erlang', mode: 'erlang'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
18 {name: 'Gas', mime: 'text/x-gas', mode: 'gas'},
4042
af3c746b3f1f update codemirror to latest version
Marcin Kuzminski <marcin@python-works.com>
parents: 4030
diff changeset
19 {name: 'GitHub Flavored Markdown', mode: 'gfm'},
4026
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
20 {name: 'GO', mime: 'text/x-go', mode: 'go'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
21 {name: 'Groovy', mime: 'text/x-groovy', mode: 'groovy'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
22 {name: 'Haskell', mime: 'text/x-haskell', mode: 'haskell'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
23 {name: 'Haxe', mime: 'text/x-haxe', mode: 'haxe'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
24 {name: 'ASP.NET', mime: 'application/x-aspx', mode: 'htmlembedded'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
25 {name: 'Embedded Javascript', mime: 'application/x-ejs', mode: 'htmlembedded'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
26 {name: 'JavaServer Pages', mime: 'application/x-jsp', mode: 'htmlembedded'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
27 {name: 'HTML', mime: 'text/html', mode: 'htmlmixed'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
28 {name: 'HTTP', mime: 'message/http', mode: 'http'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
29 {name: 'JavaScript', mime: 'text/javascript', mode: 'javascript'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
30 {name: 'JSON', mime: 'application/json', mode: 'javascript'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
31 {name: 'TypeScript', mime: 'application/typescript', mode: 'javascript'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
32 {name: 'Jinja2', mime: 'jinja2', mode: 'jinja2'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
33 {name: 'LESS', mime: 'text/x-less', mode: 'less'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
34 {name: 'LiveScript', mime: 'text/x-livescript', mode: 'livescript'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
35 {name: 'Lua', mime: 'text/x-lua', mode: 'lua'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
36 {name: 'Markdown (GitHub-flavour)', mime: 'text/x-markdown', mode: 'markdown'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
37 {name: 'mIRC', mime: 'text/mirc', mode: 'mirc'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
38 {name: 'NTriples', mime: 'text/n-triples', mode: 'ntriples'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
39 {name: 'OCaml', mime: 'text/x-ocaml', mode: 'ocaml'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
40 {name: 'Pascal', mime: 'text/x-pascal', mode: 'pascal'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
41 {name: 'Perl', mime: 'text/x-perl', mode: 'perl'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
42 {name: 'PHP', mime: 'text/x-php', mode: 'php'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
43 {name: 'PHP(HTML)', mime: 'application/x-httpd-php', mode: 'php'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
44 {name: 'Pig', mime: 'text/x-pig', mode: 'pig'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
45 {name: 'Plain Text', mime: 'text/plain', mode: 'null'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
46 {name: 'Properties files', mime: 'text/x-properties', mode: 'clike'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
47 {name: 'Python', mime: 'text/x-python', mode: 'python'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
48 {name: 'R', mime: 'text/x-rsrc', mode: 'r'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
49 {name: 'reStructuredText', mime: 'text/x-rst', mode: 'rst'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
50 {name: 'Ruby', mime: 'text/x-ruby', mode: 'ruby'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
51 {name: 'Rust', mime: 'text/x-rustsrc', mode: 'rust'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
52 {name: 'Sass', mime: 'text/x-sass', mode: 'sass'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
53 {name: 'Scheme', mime: 'text/x-scheme', mode: 'scheme'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
54 {name: 'SCSS', mime: 'text/x-scss', mode: 'css'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
55 {name: 'Shell', mime: 'text/x-sh', mode: 'shell'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
56 {name: 'Sieve', mime: 'application/sieve', mode: 'sieve'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
57 {name: 'Smalltalk', mime: 'text/x-stsrc', mode: 'smalltalk'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
58 {name: 'Smarty', mime: 'text/x-smarty', mode: 'smarty'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
59 {name: 'SPARQL', mime: 'application/x-sparql-query', mode: 'sparql'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
60 {name: 'SQL', mime: 'text/x-sql', mode: 'sql'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
61 {name: 'MariaDB', mime: 'text/x-mariadb', mode: 'sql'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
62 {name: 'sTeX', mime: 'text/x-stex', mode: 'stex'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
63 {name: 'LaTeX', mime: 'text/x-latex', mode: 'stex'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
64 {name: 'Tcl', mime: 'text/x-tcl', mode: 'tcl'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
65 {name: 'TiddlyWiki ', mime: 'text/x-tiddlywiki', mode: 'tiddlywiki'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
66 {name: 'Tiki wiki', mime: 'text/tiki', mode: 'tiki'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
67 {name: 'VB.NET', mime: 'text/x-vb', mode: 'vb'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
68 {name: 'VBScript', mime: 'text/vbscript', mode: 'vbscript'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
69 {name: 'Velocity', mime: 'text/velocity', mode: 'velocity'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
70 {name: 'Verilog', mime: 'text/x-verilog', mode: 'verilog'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
71 {name: 'XML', mime: 'application/xml', mode: 'xml'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
72 {name: 'HTML', mime: 'text/html', mode: 'xml'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
73 {name: 'XQuery', mime: 'application/xquery', mode: 'xquery'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
74 {name: 'YAML', mime: 'text/x-yaml', mode: 'yaml'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
75 {name: 'Z80', mime: 'text/x-z80', mode: 'z80'}
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
76 ];