wallaby 7.0.0.beta2 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (423) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/wallaby/base/_override_vars.scss +3 -0
  3. data/app/assets/stylesheets/wallaby/base.scss +2 -1
  4. data/lib/wallaby/version.rb +1 -1
  5. metadata +21 -434
  6. data/config/brakeman.ignore +0 -26
  7. data/config/massa.yml +0 -45
  8. data/config/rails_best_practices.yml +0 -42
  9. data/vendor/assets/javascripts/codemirror/5.49.2/addon/comment/comment.js +0 -209
  10. data/vendor/assets/javascripts/codemirror/5.49.2/addon/comment/continuecomment.js +0 -113
  11. data/vendor/assets/javascripts/codemirror/5.49.2/addon/dialog/dialog.css +0 -32
  12. data/vendor/assets/javascripts/codemirror/5.49.2/addon/dialog/dialog.js +0 -161
  13. data/vendor/assets/javascripts/codemirror/5.49.2/addon/display/autorefresh.js +0 -47
  14. data/vendor/assets/javascripts/codemirror/5.49.2/addon/display/fullscreen.css +0 -6
  15. data/vendor/assets/javascripts/codemirror/5.49.2/addon/display/fullscreen.js +0 -41
  16. data/vendor/assets/javascripts/codemirror/5.49.2/addon/display/panel.js +0 -127
  17. data/vendor/assets/javascripts/codemirror/5.49.2/addon/display/placeholder.js +0 -63
  18. data/vendor/assets/javascripts/codemirror/5.49.2/addon/display/rulers.js +0 -51
  19. data/vendor/assets/javascripts/codemirror/5.49.2/addon/edit/closebrackets.js +0 -191
  20. data/vendor/assets/javascripts/codemirror/5.49.2/addon/edit/closetag.js +0 -184
  21. data/vendor/assets/javascripts/codemirror/5.49.2/addon/edit/continuelist.js +0 -99
  22. data/vendor/assets/javascripts/codemirror/5.49.2/addon/edit/matchbrackets.js +0 -150
  23. data/vendor/assets/javascripts/codemirror/5.49.2/addon/edit/matchtags.js +0 -66
  24. data/vendor/assets/javascripts/codemirror/5.49.2/addon/edit/trailingspace.js +0 -27
  25. data/vendor/assets/javascripts/codemirror/5.49.2/addon/fold/brace-fold.js +0 -105
  26. data/vendor/assets/javascripts/codemirror/5.49.2/addon/fold/comment-fold.js +0 -59
  27. data/vendor/assets/javascripts/codemirror/5.49.2/addon/fold/foldcode.js +0 -152
  28. data/vendor/assets/javascripts/codemirror/5.49.2/addon/fold/foldgutter.css +0 -20
  29. data/vendor/assets/javascripts/codemirror/5.49.2/addon/fold/foldgutter.js +0 -163
  30. data/vendor/assets/javascripts/codemirror/5.49.2/addon/fold/indent-fold.js +0 -48
  31. data/vendor/assets/javascripts/codemirror/5.49.2/addon/fold/markdown-fold.js +0 -49
  32. data/vendor/assets/javascripts/codemirror/5.49.2/addon/fold/xml-fold.js +0 -184
  33. data/vendor/assets/javascripts/codemirror/5.49.2/addon/hint/anyword-hint.js +0 -41
  34. data/vendor/assets/javascripts/codemirror/5.49.2/addon/hint/css-hint.js +0 -60
  35. data/vendor/assets/javascripts/codemirror/5.49.2/addon/hint/html-hint.js +0 -350
  36. data/vendor/assets/javascripts/codemirror/5.49.2/addon/hint/javascript-hint.js +0 -157
  37. data/vendor/assets/javascripts/codemirror/5.49.2/addon/hint/show-hint.css +0 -36
  38. data/vendor/assets/javascripts/codemirror/5.49.2/addon/hint/show-hint.js +0 -460
  39. data/vendor/assets/javascripts/codemirror/5.49.2/addon/hint/sql-hint.js +0 -304
  40. data/vendor/assets/javascripts/codemirror/5.49.2/addon/hint/xml-hint.js +0 -123
  41. data/vendor/assets/javascripts/codemirror/5.49.2/addon/lint/coffeescript-lint.js +0 -47
  42. data/vendor/assets/javascripts/codemirror/5.49.2/addon/lint/css-lint.js +0 -40
  43. data/vendor/assets/javascripts/codemirror/5.49.2/addon/lint/html-lint.js +0 -59
  44. data/vendor/assets/javascripts/codemirror/5.49.2/addon/lint/javascript-lint.js +0 -63
  45. data/vendor/assets/javascripts/codemirror/5.49.2/addon/lint/json-lint.js +0 -40
  46. data/vendor/assets/javascripts/codemirror/5.49.2/addon/lint/lint.css +0 -73
  47. data/vendor/assets/javascripts/codemirror/5.49.2/addon/lint/lint.js +0 -252
  48. data/vendor/assets/javascripts/codemirror/5.49.2/addon/lint/yaml-lint.js +0 -41
  49. data/vendor/assets/javascripts/codemirror/5.49.2/addon/merge/merge.css +0 -119
  50. data/vendor/assets/javascripts/codemirror/5.49.2/addon/merge/merge.js +0 -1002
  51. data/vendor/assets/javascripts/codemirror/5.49.2/addon/mode/loadmode.js +0 -64
  52. data/vendor/assets/javascripts/codemirror/5.49.2/addon/mode/multiplex.js +0 -131
  53. data/vendor/assets/javascripts/codemirror/5.49.2/addon/mode/multiplex_test.js +0 -33
  54. data/vendor/assets/javascripts/codemirror/5.49.2/addon/mode/overlay.js +0 -90
  55. data/vendor/assets/javascripts/codemirror/5.49.2/addon/mode/simple.js +0 -216
  56. data/vendor/assets/javascripts/codemirror/5.49.2/addon/runmode/colorize.js +0 -40
  57. data/vendor/assets/javascripts/codemirror/5.49.2/addon/runmode/runmode-standalone.js +0 -158
  58. data/vendor/assets/javascripts/codemirror/5.49.2/addon/runmode/runmode.js +0 -72
  59. data/vendor/assets/javascripts/codemirror/5.49.2/addon/runmode/runmode.node.js +0 -197
  60. data/vendor/assets/javascripts/codemirror/5.49.2/addon/scroll/annotatescrollbar.js +0 -122
  61. data/vendor/assets/javascripts/codemirror/5.49.2/addon/scroll/scrollpastend.js +0 -48
  62. data/vendor/assets/javascripts/codemirror/5.49.2/addon/scroll/simplescrollbars.css +0 -66
  63. data/vendor/assets/javascripts/codemirror/5.49.2/addon/scroll/simplescrollbars.js +0 -152
  64. data/vendor/assets/javascripts/codemirror/5.49.2/addon/search/jump-to-line.js +0 -50
  65. data/vendor/assets/javascripts/codemirror/5.49.2/addon/search/match-highlighter.js +0 -165
  66. data/vendor/assets/javascripts/codemirror/5.49.2/addon/search/matchesonscrollbar.css +0 -8
  67. data/vendor/assets/javascripts/codemirror/5.49.2/addon/search/matchesonscrollbar.js +0 -97
  68. data/vendor/assets/javascripts/codemirror/5.49.2/addon/search/search.js +0 -260
  69. data/vendor/assets/javascripts/codemirror/5.49.2/addon/search/searchcursor.js +0 -293
  70. data/vendor/assets/javascripts/codemirror/5.49.2/addon/selection/active-line.js +0 -72
  71. data/vendor/assets/javascripts/codemirror/5.49.2/addon/selection/mark-selection.js +0 -119
  72. data/vendor/assets/javascripts/codemirror/5.49.2/addon/selection/selection-pointer.js +0 -98
  73. data/vendor/assets/javascripts/codemirror/5.49.2/addon/tern/tern.css +0 -87
  74. data/vendor/assets/javascripts/codemirror/5.49.2/addon/tern/tern.js +0 -718
  75. data/vendor/assets/javascripts/codemirror/5.49.2/addon/tern/worker.js +0 -44
  76. data/vendor/assets/javascripts/codemirror/5.49.2/addon/wrap/hardwrap.js +0 -145
  77. data/vendor/assets/javascripts/codemirror/5.49.2/lib/codemirror.js +0 -9783
  78. data/vendor/assets/javascripts/codemirror/5.49.2/mode/apl/apl.js +0 -174
  79. data/vendor/assets/javascripts/codemirror/5.49.2/mode/apl/index.html +0 -72
  80. data/vendor/assets/javascripts/codemirror/5.49.2/mode/asciiarmor/asciiarmor.js +0 -74
  81. data/vendor/assets/javascripts/codemirror/5.49.2/mode/asciiarmor/index.html +0 -46
  82. data/vendor/assets/javascripts/codemirror/5.49.2/mode/asn.1/asn.1.js +0 -204
  83. data/vendor/assets/javascripts/codemirror/5.49.2/mode/asn.1/index.html +0 -78
  84. data/vendor/assets/javascripts/codemirror/5.49.2/mode/asterisk/asterisk.js +0 -220
  85. data/vendor/assets/javascripts/codemirror/5.49.2/mode/asterisk/index.html +0 -155
  86. data/vendor/assets/javascripts/codemirror/5.49.2/mode/brainfuck/brainfuck.js +0 -85
  87. data/vendor/assets/javascripts/codemirror/5.49.2/mode/brainfuck/index.html +0 -85
  88. data/vendor/assets/javascripts/codemirror/5.49.2/mode/clike/clike.js +0 -935
  89. data/vendor/assets/javascripts/codemirror/5.49.2/mode/clike/index.html +0 -380
  90. data/vendor/assets/javascripts/codemirror/5.49.2/mode/clike/scala.html +0 -767
  91. data/vendor/assets/javascripts/codemirror/5.49.2/mode/clike/test.js +0 -165
  92. data/vendor/assets/javascripts/codemirror/5.49.2/mode/clojure/clojure.js +0 -292
  93. data/vendor/assets/javascripts/codemirror/5.49.2/mode/clojure/index.html +0 -95
  94. data/vendor/assets/javascripts/codemirror/5.49.2/mode/clojure/test.js +0 -384
  95. data/vendor/assets/javascripts/codemirror/5.49.2/mode/cmake/cmake.js +0 -97
  96. data/vendor/assets/javascripts/codemirror/5.49.2/mode/cmake/index.html +0 -129
  97. data/vendor/assets/javascripts/codemirror/5.49.2/mode/cobol/cobol.js +0 -255
  98. data/vendor/assets/javascripts/codemirror/5.49.2/mode/cobol/index.html +0 -210
  99. data/vendor/assets/javascripts/codemirror/5.49.2/mode/coffeescript/coffeescript.js +0 -359
  100. data/vendor/assets/javascripts/codemirror/5.49.2/mode/coffeescript/index.html +0 -740
  101. data/vendor/assets/javascripts/codemirror/5.49.2/mode/commonlisp/commonlisp.js +0 -124
  102. data/vendor/assets/javascripts/codemirror/5.49.2/mode/commonlisp/index.html +0 -177
  103. data/vendor/assets/javascripts/codemirror/5.49.2/mode/crystal/crystal.js +0 -433
  104. data/vendor/assets/javascripts/codemirror/5.49.2/mode/crystal/index.html +0 -116
  105. data/vendor/assets/javascripts/codemirror/5.49.2/mode/css/css.js +0 -831
  106. data/vendor/assets/javascripts/codemirror/5.49.2/mode/css/gss.html +0 -104
  107. data/vendor/assets/javascripts/codemirror/5.49.2/mode/css/gss_test.js +0 -17
  108. data/vendor/assets/javascripts/codemirror/5.49.2/mode/css/index.html +0 -75
  109. data/vendor/assets/javascripts/codemirror/5.49.2/mode/css/less.html +0 -152
  110. data/vendor/assets/javascripts/codemirror/5.49.2/mode/css/less_test.js +0 -54
  111. data/vendor/assets/javascripts/codemirror/5.49.2/mode/css/scss.html +0 -158
  112. data/vendor/assets/javascripts/codemirror/5.49.2/mode/css/scss_test.js +0 -110
  113. data/vendor/assets/javascripts/codemirror/5.49.2/mode/css/test.js +0 -217
  114. data/vendor/assets/javascripts/codemirror/5.49.2/mode/cypher/cypher.js +0 -150
  115. data/vendor/assets/javascripts/codemirror/5.49.2/mode/cypher/index.html +0 -64
  116. data/vendor/assets/javascripts/codemirror/5.49.2/mode/cypher/test.js +0 -37
  117. data/vendor/assets/javascripts/codemirror/5.49.2/mode/d/d.js +0 -223
  118. data/vendor/assets/javascripts/codemirror/5.49.2/mode/d/index.html +0 -273
  119. data/vendor/assets/javascripts/codemirror/5.49.2/mode/d/test.js +0 -11
  120. data/vendor/assets/javascripts/codemirror/5.49.2/mode/dart/dart.js +0 -166
  121. data/vendor/assets/javascripts/codemirror/5.49.2/mode/dart/index.html +0 -71
  122. data/vendor/assets/javascripts/codemirror/5.49.2/mode/diff/diff.js +0 -47
  123. data/vendor/assets/javascripts/codemirror/5.49.2/mode/diff/index.html +0 -117
  124. data/vendor/assets/javascripts/codemirror/5.49.2/mode/django/django.js +0 -356
  125. data/vendor/assets/javascripts/codemirror/5.49.2/mode/django/index.html +0 -73
  126. data/vendor/assets/javascripts/codemirror/5.49.2/mode/dockerfile/dockerfile.js +0 -211
  127. data/vendor/assets/javascripts/codemirror/5.49.2/mode/dockerfile/index.html +0 -73
  128. data/vendor/assets/javascripts/codemirror/5.49.2/mode/dockerfile/test.js +0 -128
  129. data/vendor/assets/javascripts/codemirror/5.49.2/mode/dtd/dtd.js +0 -142
  130. data/vendor/assets/javascripts/codemirror/5.49.2/mode/dtd/index.html +0 -89
  131. data/vendor/assets/javascripts/codemirror/5.49.2/mode/dylan/dylan.js +0 -352
  132. data/vendor/assets/javascripts/codemirror/5.49.2/mode/dylan/index.html +0 -407
  133. data/vendor/assets/javascripts/codemirror/5.49.2/mode/dylan/test.js +0 -88
  134. data/vendor/assets/javascripts/codemirror/5.49.2/mode/ebnf/ebnf.js +0 -195
  135. data/vendor/assets/javascripts/codemirror/5.49.2/mode/ebnf/index.html +0 -102
  136. data/vendor/assets/javascripts/codemirror/5.49.2/mode/ecl/ecl.js +0 -206
  137. data/vendor/assets/javascripts/codemirror/5.49.2/mode/ecl/index.html +0 -52
  138. data/vendor/assets/javascripts/codemirror/5.49.2/mode/eiffel/eiffel.js +0 -160
  139. data/vendor/assets/javascripts/codemirror/5.49.2/mode/eiffel/index.html +0 -429
  140. data/vendor/assets/javascripts/codemirror/5.49.2/mode/elm/elm.js +0 -205
  141. data/vendor/assets/javascripts/codemirror/5.49.2/mode/elm/index.html +0 -61
  142. data/vendor/assets/javascripts/codemirror/5.49.2/mode/erlang/erlang.js +0 -619
  143. data/vendor/assets/javascripts/codemirror/5.49.2/mode/erlang/index.html +0 -76
  144. data/vendor/assets/javascripts/codemirror/5.49.2/mode/factor/factor.js +0 -85
  145. data/vendor/assets/javascripts/codemirror/5.49.2/mode/factor/index.html +0 -77
  146. data/vendor/assets/javascripts/codemirror/5.49.2/mode/fcl/fcl.js +0 -173
  147. data/vendor/assets/javascripts/codemirror/5.49.2/mode/fcl/index.html +0 -108
  148. data/vendor/assets/javascripts/codemirror/5.49.2/mode/forth/forth.js +0 -180
  149. data/vendor/assets/javascripts/codemirror/5.49.2/mode/forth/index.html +0 -75
  150. data/vendor/assets/javascripts/codemirror/5.49.2/mode/fortran/fortran.js +0 -188
  151. data/vendor/assets/javascripts/codemirror/5.49.2/mode/fortran/index.html +0 -81
  152. data/vendor/assets/javascripts/codemirror/5.49.2/mode/gas/gas.js +0 -345
  153. data/vendor/assets/javascripts/codemirror/5.49.2/mode/gas/index.html +0 -68
  154. data/vendor/assets/javascripts/codemirror/5.49.2/mode/gfm/gfm.js +0 -129
  155. data/vendor/assets/javascripts/codemirror/5.49.2/mode/gfm/index.html +0 -136
  156. data/vendor/assets/javascripts/codemirror/5.49.2/mode/gfm/test.js +0 -198
  157. data/vendor/assets/javascripts/codemirror/5.49.2/mode/gherkin/gherkin.js +0 -178
  158. data/vendor/assets/javascripts/codemirror/5.49.2/mode/gherkin/index.html +0 -48
  159. data/vendor/assets/javascripts/codemirror/5.49.2/mode/go/go.js +0 -187
  160. data/vendor/assets/javascripts/codemirror/5.49.2/mode/go/index.html +0 -85
  161. data/vendor/assets/javascripts/codemirror/5.49.2/mode/groovy/groovy.js +0 -233
  162. data/vendor/assets/javascripts/codemirror/5.49.2/mode/groovy/index.html +0 -84
  163. data/vendor/assets/javascripts/codemirror/5.49.2/mode/haml/haml.js +0 -161
  164. data/vendor/assets/javascripts/codemirror/5.49.2/mode/haml/index.html +0 -79
  165. data/vendor/assets/javascripts/codemirror/5.49.2/mode/haml/test.js +0 -97
  166. data/vendor/assets/javascripts/codemirror/5.49.2/mode/handlebars/handlebars.js +0 -70
  167. data/vendor/assets/javascripts/codemirror/5.49.2/mode/handlebars/index.html +0 -82
  168. data/vendor/assets/javascripts/codemirror/5.49.2/mode/haskell/haskell.js +0 -268
  169. data/vendor/assets/javascripts/codemirror/5.49.2/mode/haskell/index.html +0 -73
  170. data/vendor/assets/javascripts/codemirror/5.49.2/mode/haskell-literate/haskell-literate.js +0 -43
  171. data/vendor/assets/javascripts/codemirror/5.49.2/mode/haskell-literate/index.html +0 -282
  172. data/vendor/assets/javascripts/codemirror/5.49.2/mode/haxe/haxe.js +0 -515
  173. data/vendor/assets/javascripts/codemirror/5.49.2/mode/haxe/index.html +0 -124
  174. data/vendor/assets/javascripts/codemirror/5.49.2/mode/htmlembedded/htmlembedded.js +0 -37
  175. data/vendor/assets/javascripts/codemirror/5.49.2/mode/htmlembedded/index.html +0 -60
  176. data/vendor/assets/javascripts/codemirror/5.49.2/mode/htmlmixed/htmlmixed.js +0 -152
  177. data/vendor/assets/javascripts/codemirror/5.49.2/mode/htmlmixed/index.html +0 -100
  178. data/vendor/assets/javascripts/codemirror/5.49.2/mode/http/http.js +0 -113
  179. data/vendor/assets/javascripts/codemirror/5.49.2/mode/http/index.html +0 -45
  180. data/vendor/assets/javascripts/codemirror/5.49.2/mode/idl/idl.js +0 -290
  181. data/vendor/assets/javascripts/codemirror/5.49.2/mode/idl/index.html +0 -65
  182. data/vendor/assets/javascripts/codemirror/5.49.2/mode/index.html +0 -165
  183. data/vendor/assets/javascripts/codemirror/5.49.2/mode/javascript/index.html +0 -114
  184. data/vendor/assets/javascripts/codemirror/5.49.2/mode/javascript/javascript.js +0 -930
  185. data/vendor/assets/javascripts/codemirror/5.49.2/mode/javascript/json-ld.html +0 -72
  186. data/vendor/assets/javascripts/codemirror/5.49.2/mode/javascript/test.js +0 -513
  187. data/vendor/assets/javascripts/codemirror/5.49.2/mode/javascript/typescript.html +0 -62
  188. data/vendor/assets/javascripts/codemirror/5.49.2/mode/jinja2/index.html +0 -54
  189. data/vendor/assets/javascripts/codemirror/5.49.2/mode/jinja2/jinja2.js +0 -146
  190. data/vendor/assets/javascripts/codemirror/5.49.2/mode/jsx/index.html +0 -89
  191. data/vendor/assets/javascripts/codemirror/5.49.2/mode/jsx/jsx.js +0 -148
  192. data/vendor/assets/javascripts/codemirror/5.49.2/mode/jsx/test.js +0 -91
  193. data/vendor/assets/javascripts/codemirror/5.49.2/mode/julia/index.html +0 -196
  194. data/vendor/assets/javascripts/codemirror/5.49.2/mode/julia/julia.js +0 -429
  195. data/vendor/assets/javascripts/codemirror/5.49.2/mode/livescript/index.html +0 -459
  196. data/vendor/assets/javascripts/codemirror/5.49.2/mode/livescript/livescript.js +0 -280
  197. data/vendor/assets/javascripts/codemirror/5.49.2/mode/lua/index.html +0 -85
  198. data/vendor/assets/javascripts/codemirror/5.49.2/mode/lua/lua.js +0 -159
  199. data/vendor/assets/javascripts/codemirror/5.49.2/mode/markdown/index.html +0 -412
  200. data/vendor/assets/javascripts/codemirror/5.49.2/mode/markdown/markdown.js +0 -883
  201. data/vendor/assets/javascripts/codemirror/5.49.2/mode/markdown/test.js +0 -1317
  202. data/vendor/assets/javascripts/codemirror/5.49.2/mode/mathematica/index.html +0 -72
  203. data/vendor/assets/javascripts/codemirror/5.49.2/mode/mathematica/mathematica.js +0 -176
  204. data/vendor/assets/javascripts/codemirror/5.49.2/mode/mbox/index.html +0 -44
  205. data/vendor/assets/javascripts/codemirror/5.49.2/mode/mbox/mbox.js +0 -129
  206. data/vendor/assets/javascripts/codemirror/5.49.2/mode/meta.js +0 -219
  207. data/vendor/assets/javascripts/codemirror/5.49.2/mode/mirc/index.html +0 -161
  208. data/vendor/assets/javascripts/codemirror/5.49.2/mode/mirc/mirc.js +0 -193
  209. data/vendor/assets/javascripts/codemirror/5.49.2/mode/mllike/index.html +0 -198
  210. data/vendor/assets/javascripts/codemirror/5.49.2/mode/mllike/mllike.js +0 -359
  211. data/vendor/assets/javascripts/codemirror/5.49.2/mode/modelica/index.html +0 -67
  212. data/vendor/assets/javascripts/codemirror/5.49.2/mode/modelica/modelica.js +0 -245
  213. data/vendor/assets/javascripts/codemirror/5.49.2/mode/mscgen/index.html +0 -151
  214. data/vendor/assets/javascripts/codemirror/5.49.2/mode/mscgen/mscgen.js +0 -175
  215. data/vendor/assets/javascripts/codemirror/5.49.2/mode/mscgen/mscgen_test.js +0 -84
  216. data/vendor/assets/javascripts/codemirror/5.49.2/mode/mscgen/msgenny_test.js +0 -77
  217. data/vendor/assets/javascripts/codemirror/5.49.2/mode/mscgen/xu_test.js +0 -87
  218. data/vendor/assets/javascripts/codemirror/5.49.2/mode/mumps/index.html +0 -85
  219. data/vendor/assets/javascripts/codemirror/5.49.2/mode/mumps/mumps.js +0 -148
  220. data/vendor/assets/javascripts/codemirror/5.49.2/mode/nginx/index.html +0 -181
  221. data/vendor/assets/javascripts/codemirror/5.49.2/mode/nginx/nginx.js +0 -178
  222. data/vendor/assets/javascripts/codemirror/5.49.2/mode/nsis/index.html +0 -80
  223. data/vendor/assets/javascripts/codemirror/5.49.2/mode/nsis/nsis.js +0 -95
  224. data/vendor/assets/javascripts/codemirror/5.49.2/mode/ntriples/index.html +0 -70
  225. data/vendor/assets/javascripts/codemirror/5.49.2/mode/ntriples/ntriples.js +0 -195
  226. data/vendor/assets/javascripts/codemirror/5.49.2/mode/octave/index.html +0 -84
  227. data/vendor/assets/javascripts/codemirror/5.49.2/mode/octave/octave.js +0 -139
  228. data/vendor/assets/javascripts/codemirror/5.49.2/mode/oz/index.html +0 -59
  229. data/vendor/assets/javascripts/codemirror/5.49.2/mode/oz/oz.js +0 -252
  230. data/vendor/assets/javascripts/codemirror/5.49.2/mode/pascal/index.html +0 -61
  231. data/vendor/assets/javascripts/codemirror/5.49.2/mode/pascal/pascal.js +0 -121
  232. data/vendor/assets/javascripts/codemirror/5.49.2/mode/pegjs/index.html +0 -66
  233. data/vendor/assets/javascripts/codemirror/5.49.2/mode/pegjs/pegjs.js +0 -114
  234. data/vendor/assets/javascripts/codemirror/5.49.2/mode/perl/index.html +0 -75
  235. data/vendor/assets/javascripts/codemirror/5.49.2/mode/perl/perl.js +0 -837
  236. data/vendor/assets/javascripts/codemirror/5.49.2/mode/php/index.html +0 -64
  237. data/vendor/assets/javascripts/codemirror/5.49.2/mode/php/php.js +0 -234
  238. data/vendor/assets/javascripts/codemirror/5.49.2/mode/php/test.js +0 -154
  239. data/vendor/assets/javascripts/codemirror/5.49.2/mode/pig/index.html +0 -53
  240. data/vendor/assets/javascripts/codemirror/5.49.2/mode/pig/pig.js +0 -178
  241. data/vendor/assets/javascripts/codemirror/5.49.2/mode/powershell/index.html +0 -205
  242. data/vendor/assets/javascripts/codemirror/5.49.2/mode/powershell/powershell.js +0 -398
  243. data/vendor/assets/javascripts/codemirror/5.49.2/mode/powershell/test.js +0 -74
  244. data/vendor/assets/javascripts/codemirror/5.49.2/mode/properties/index.html +0 -53
  245. data/vendor/assets/javascripts/codemirror/5.49.2/mode/properties/properties.js +0 -78
  246. data/vendor/assets/javascripts/codemirror/5.49.2/mode/protobuf/index.html +0 -104
  247. data/vendor/assets/javascripts/codemirror/5.49.2/mode/protobuf/protobuf.js +0 -69
  248. data/vendor/assets/javascripts/codemirror/5.49.2/mode/pug/index.html +0 -70
  249. data/vendor/assets/javascripts/codemirror/5.49.2/mode/pug/pug.js +0 -591
  250. data/vendor/assets/javascripts/codemirror/5.49.2/mode/puppet/index.html +0 -121
  251. data/vendor/assets/javascripts/codemirror/5.49.2/mode/puppet/puppet.js +0 -220
  252. data/vendor/assets/javascripts/codemirror/5.49.2/mode/python/index.html +0 -207
  253. data/vendor/assets/javascripts/codemirror/5.49.2/mode/python/python.js +0 -399
  254. data/vendor/assets/javascripts/codemirror/5.49.2/mode/python/test.js +0 -44
  255. data/vendor/assets/javascripts/codemirror/5.49.2/mode/q/index.html +0 -144
  256. data/vendor/assets/javascripts/codemirror/5.49.2/mode/q/q.js +0 -139
  257. data/vendor/assets/javascripts/codemirror/5.49.2/mode/r/index.html +0 -88
  258. data/vendor/assets/javascripts/codemirror/5.49.2/mode/r/r.js +0 -190
  259. data/vendor/assets/javascripts/codemirror/5.49.2/mode/rpm/changes/index.html +0 -66
  260. data/vendor/assets/javascripts/codemirror/5.49.2/mode/rpm/index.html +0 -149
  261. data/vendor/assets/javascripts/codemirror/5.49.2/mode/rpm/rpm.js +0 -109
  262. data/vendor/assets/javascripts/codemirror/5.49.2/mode/rst/index.html +0 -535
  263. data/vendor/assets/javascripts/codemirror/5.49.2/mode/rst/rst.js +0 -557
  264. data/vendor/assets/javascripts/codemirror/5.49.2/mode/ruby/index.html +0 -183
  265. data/vendor/assets/javascripts/codemirror/5.49.2/mode/ruby/ruby.js +0 -298
  266. data/vendor/assets/javascripts/codemirror/5.49.2/mode/ruby/test.js +0 -23
  267. data/vendor/assets/javascripts/codemirror/5.49.2/mode/rust/index.html +0 -64
  268. data/vendor/assets/javascripts/codemirror/5.49.2/mode/rust/rust.js +0 -72
  269. data/vendor/assets/javascripts/codemirror/5.49.2/mode/rust/test.js +0 -39
  270. data/vendor/assets/javascripts/codemirror/5.49.2/mode/sas/index.html +0 -81
  271. data/vendor/assets/javascripts/codemirror/5.49.2/mode/sas/sas.js +0 -303
  272. data/vendor/assets/javascripts/codemirror/5.49.2/mode/sass/index.html +0 -68
  273. data/vendor/assets/javascripts/codemirror/5.49.2/mode/sass/sass.js +0 -454
  274. data/vendor/assets/javascripts/codemirror/5.49.2/mode/sass/test.js +0 -122
  275. data/vendor/assets/javascripts/codemirror/5.49.2/mode/scheme/index.html +0 -77
  276. data/vendor/assets/javascripts/codemirror/5.49.2/mode/scheme/scheme.js +0 -265
  277. data/vendor/assets/javascripts/codemirror/5.49.2/mode/shell/index.html +0 -66
  278. data/vendor/assets/javascripts/codemirror/5.49.2/mode/shell/shell.js +0 -152
  279. data/vendor/assets/javascripts/codemirror/5.49.2/mode/shell/test.js +0 -73
  280. data/vendor/assets/javascripts/codemirror/5.49.2/mode/sieve/index.html +0 -93
  281. data/vendor/assets/javascripts/codemirror/5.49.2/mode/sieve/sieve.js +0 -193
  282. data/vendor/assets/javascripts/codemirror/5.49.2/mode/slim/index.html +0 -96
  283. data/vendor/assets/javascripts/codemirror/5.49.2/mode/slim/slim.js +0 -575
  284. data/vendor/assets/javascripts/codemirror/5.49.2/mode/slim/test.js +0 -96
  285. data/vendor/assets/javascripts/codemirror/5.49.2/mode/smalltalk/index.html +0 -68
  286. data/vendor/assets/javascripts/codemirror/5.49.2/mode/smalltalk/smalltalk.js +0 -168
  287. data/vendor/assets/javascripts/codemirror/5.49.2/mode/smarty/index.html +0 -138
  288. data/vendor/assets/javascripts/codemirror/5.49.2/mode/smarty/smarty.js +0 -225
  289. data/vendor/assets/javascripts/codemirror/5.49.2/mode/solr/index.html +0 -57
  290. data/vendor/assets/javascripts/codemirror/5.49.2/mode/solr/solr.js +0 -104
  291. data/vendor/assets/javascripts/codemirror/5.49.2/mode/soy/index.html +0 -68
  292. data/vendor/assets/javascripts/codemirror/5.49.2/mode/soy/soy.js +0 -437
  293. data/vendor/assets/javascripts/codemirror/5.49.2/mode/soy/test.js +0 -204
  294. data/vendor/assets/javascripts/codemirror/5.49.2/mode/sparql/index.html +0 -61
  295. data/vendor/assets/javascripts/codemirror/5.49.2/mode/sparql/sparql.js +0 -180
  296. data/vendor/assets/javascripts/codemirror/5.49.2/mode/spreadsheet/index.html +0 -42
  297. data/vendor/assets/javascripts/codemirror/5.49.2/mode/spreadsheet/spreadsheet.js +0 -112
  298. data/vendor/assets/javascripts/codemirror/5.49.2/mode/sql/index.html +0 -89
  299. data/vendor/assets/javascripts/codemirror/5.49.2/mode/sql/sql.js +0 -494
  300. data/vendor/assets/javascripts/codemirror/5.49.2/mode/stex/index.html +0 -116
  301. data/vendor/assets/javascripts/codemirror/5.49.2/mode/stex/stex.js +0 -264
  302. data/vendor/assets/javascripts/codemirror/5.49.2/mode/stex/test.js +0 -132
  303. data/vendor/assets/javascripts/codemirror/5.49.2/mode/stylus/index.html +0 -106
  304. data/vendor/assets/javascripts/codemirror/5.49.2/mode/stylus/stylus.js +0 -771
  305. data/vendor/assets/javascripts/codemirror/5.49.2/mode/swift/index.html +0 -70
  306. data/vendor/assets/javascripts/codemirror/5.49.2/mode/swift/swift.js +0 -223
  307. data/vendor/assets/javascripts/codemirror/5.49.2/mode/swift/test.js +0 -162
  308. data/vendor/assets/javascripts/codemirror/5.49.2/mode/tcl/index.html +0 -142
  309. data/vendor/assets/javascripts/codemirror/5.49.2/mode/tcl/tcl.js +0 -139
  310. data/vendor/assets/javascripts/codemirror/5.49.2/mode/textile/index.html +0 -191
  311. data/vendor/assets/javascripts/codemirror/5.49.2/mode/textile/test.js +0 -417
  312. data/vendor/assets/javascripts/codemirror/5.49.2/mode/textile/textile.js +0 -469
  313. data/vendor/assets/javascripts/codemirror/5.49.2/mode/tiddlywiki/index.html +0 -154
  314. data/vendor/assets/javascripts/codemirror/5.49.2/mode/tiddlywiki/tiddlywiki.css +0 -14
  315. data/vendor/assets/javascripts/codemirror/5.49.2/mode/tiddlywiki/tiddlywiki.js +0 -308
  316. data/vendor/assets/javascripts/codemirror/5.49.2/mode/tiki/index.html +0 -95
  317. data/vendor/assets/javascripts/codemirror/5.49.2/mode/tiki/tiki.css +0 -26
  318. data/vendor/assets/javascripts/codemirror/5.49.2/mode/tiki/tiki.js +0 -312
  319. data/vendor/assets/javascripts/codemirror/5.49.2/mode/toml/index.html +0 -73
  320. data/vendor/assets/javascripts/codemirror/5.49.2/mode/toml/toml.js +0 -88
  321. data/vendor/assets/javascripts/codemirror/5.49.2/mode/tornado/index.html +0 -63
  322. data/vendor/assets/javascripts/codemirror/5.49.2/mode/tornado/tornado.js +0 -68
  323. data/vendor/assets/javascripts/codemirror/5.49.2/mode/troff/index.html +0 -146
  324. data/vendor/assets/javascripts/codemirror/5.49.2/mode/troff/troff.js +0 -84
  325. data/vendor/assets/javascripts/codemirror/5.49.2/mode/ttcn/index.html +0 -119
  326. data/vendor/assets/javascripts/codemirror/5.49.2/mode/ttcn/ttcn.js +0 -283
  327. data/vendor/assets/javascripts/codemirror/5.49.2/mode/ttcn-cfg/index.html +0 -116
  328. data/vendor/assets/javascripts/codemirror/5.49.2/mode/ttcn-cfg/ttcn-cfg.js +0 -214
  329. data/vendor/assets/javascripts/codemirror/5.49.2/mode/turtle/index.html +0 -51
  330. data/vendor/assets/javascripts/codemirror/5.49.2/mode/turtle/turtle.js +0 -162
  331. data/vendor/assets/javascripts/codemirror/5.49.2/mode/twig/index.html +0 -45
  332. data/vendor/assets/javascripts/codemirror/5.49.2/mode/twig/twig.js +0 -141
  333. data/vendor/assets/javascripts/codemirror/5.49.2/mode/vb/index.html +0 -49
  334. data/vendor/assets/javascripts/codemirror/5.49.2/mode/vb/vb.js +0 -275
  335. data/vendor/assets/javascripts/codemirror/5.49.2/mode/vbscript/index.html +0 -55
  336. data/vendor/assets/javascripts/codemirror/5.49.2/mode/vbscript/vbscript.js +0 -350
  337. data/vendor/assets/javascripts/codemirror/5.49.2/mode/velocity/index.html +0 -120
  338. data/vendor/assets/javascripts/codemirror/5.49.2/mode/velocity/velocity.js +0 -201
  339. data/vendor/assets/javascripts/codemirror/5.49.2/mode/verilog/index.html +0 -120
  340. data/vendor/assets/javascripts/codemirror/5.49.2/mode/verilog/test.js +0 -273
  341. data/vendor/assets/javascripts/codemirror/5.49.2/mode/verilog/verilog.js +0 -675
  342. data/vendor/assets/javascripts/codemirror/5.49.2/mode/vhdl/index.html +0 -95
  343. data/vendor/assets/javascripts/codemirror/5.49.2/mode/vhdl/vhdl.js +0 -189
  344. data/vendor/assets/javascripts/codemirror/5.49.2/mode/vue/index.html +0 -69
  345. data/vendor/assets/javascripts/codemirror/5.49.2/mode/vue/vue.js +0 -77
  346. data/vendor/assets/javascripts/codemirror/5.49.2/mode/webidl/index.html +0 -71
  347. data/vendor/assets/javascripts/codemirror/5.49.2/mode/webidl/webidl.js +0 -195
  348. data/vendor/assets/javascripts/codemirror/5.49.2/mode/xml/index.html +0 -61
  349. data/vendor/assets/javascripts/codemirror/5.49.2/mode/xml/test.js +0 -51
  350. data/vendor/assets/javascripts/codemirror/5.49.2/mode/xml/xml.js +0 -413
  351. data/vendor/assets/javascripts/codemirror/5.49.2/mode/xquery/index.html +0 -211
  352. data/vendor/assets/javascripts/codemirror/5.49.2/mode/xquery/test.js +0 -67
  353. data/vendor/assets/javascripts/codemirror/5.49.2/mode/xquery/xquery.js +0 -448
  354. data/vendor/assets/javascripts/codemirror/5.49.2/mode/yacas/index.html +0 -87
  355. data/vendor/assets/javascripts/codemirror/5.49.2/mode/yacas/yacas.js +0 -204
  356. data/vendor/assets/javascripts/codemirror/5.49.2/mode/yaml/index.html +0 -80
  357. data/vendor/assets/javascripts/codemirror/5.49.2/mode/yaml/yaml.js +0 -120
  358. data/vendor/assets/javascripts/codemirror/5.49.2/mode/yaml-frontmatter/index.html +0 -121
  359. data/vendor/assets/javascripts/codemirror/5.49.2/mode/yaml-frontmatter/yaml-frontmatter.js +0 -68
  360. data/vendor/assets/javascripts/codemirror/5.49.2/mode/z80/index.html +0 -53
  361. data/vendor/assets/javascripts/codemirror/5.49.2/mode/z80/z80.js +0 -116
  362. data/vendor/assets/stylesheets/codemirror/5.49.2/lib/codemirror.css +0 -349
  363. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/3024-day.css +0 -41
  364. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/3024-night.css +0 -39
  365. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/abcdef.css +0 -32
  366. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/ambiance-mobile.css +0 -5
  367. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/ambiance.css +0 -74
  368. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/base16-dark.css +0 -38
  369. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/base16-light.css +0 -38
  370. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/bespin.css +0 -34
  371. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/blackboard.css +0 -32
  372. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/cobalt.css +0 -25
  373. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/colorforth.css +0 -33
  374. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/darcula.css +0 -53
  375. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/dracula.css +0 -40
  376. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/duotone-dark.css +0 -35
  377. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/duotone-light.css +0 -36
  378. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/eclipse.css +0 -23
  379. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/elegant.css +0 -13
  380. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/erlang-dark.css +0 -34
  381. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/gruvbox-dark.css +0 -37
  382. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/hopscotch.css +0 -34
  383. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/icecoder.css +0 -43
  384. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/idea.css +0 -42
  385. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/isotope.css +0 -34
  386. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/lesser-dark.css +0 -47
  387. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/liquibyte.css +0 -95
  388. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/lucario.css +0 -37
  389. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/material-darker.css +0 -135
  390. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/material-ocean.css +0 -135
  391. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/material-palenight.css +0 -135
  392. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/material.css +0 -135
  393. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/mbo.css +0 -37
  394. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/mdn-like.css +0 -46
  395. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/midnight.css +0 -39
  396. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/monokai.css +0 -41
  397. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/moxer.css +0 -143
  398. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/neat.css +0 -12
  399. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/neo.css +0 -43
  400. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/night.css +0 -27
  401. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/nord.css +0 -42
  402. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/oceanic-next.css +0 -44
  403. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/panda-syntax.css +0 -85
  404. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/paraiso-dark.css +0 -38
  405. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/paraiso-light.css +0 -38
  406. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/pastel-on-dark.css +0 -52
  407. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/railscasts.css +0 -34
  408. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/rubyblue.css +0 -25
  409. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/seti.css +0 -44
  410. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/shadowfox.css +0 -52
  411. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/solarized.css +0 -168
  412. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/ssms.css +0 -16
  413. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/the-matrix.css +0 -30
  414. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/tomorrow-night-bright.css +0 -35
  415. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/tomorrow-night-eighties.css +0 -38
  416. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/ttcn.css +0 -64
  417. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/twilight.css +0 -32
  418. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/vibrant-ink.css +0 -34
  419. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/xq-dark.css +0 -53
  420. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/xq-light.css +0 -43
  421. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/yeti.css +0 -44
  422. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/yonce.css +0 -59
  423. data/vendor/assets/stylesheets/codemirror/5.49.2/theme/zenburn.css +0 -37
@@ -1,290 +0,0 @@
1
- // CodeMirror, copyright (c) by Marijn Haverbeke and others
2
- // Distributed under an MIT license: https://codemirror.net/LICENSE
3
-
4
- (function(mod) {
5
- if (typeof exports == "object" && typeof module == "object") // CommonJS
6
- mod(require("../../lib/codemirror"));
7
- else if (typeof define == "function" && define.amd) // AMD
8
- define(["../../lib/codemirror"], mod);
9
- else // Plain browser env
10
- mod(CodeMirror);
11
- })(function(CodeMirror) {
12
- "use strict";
13
-
14
- function wordRegexp(words) {
15
- return new RegExp('^((' + words.join(')|(') + '))\\b', 'i');
16
- };
17
-
18
- var builtinArray = [
19
- 'a_correlate', 'abs', 'acos', 'adapt_hist_equal', 'alog',
20
- 'alog2', 'alog10', 'amoeba', 'annotate', 'app_user_dir',
21
- 'app_user_dir_query', 'arg_present', 'array_equal', 'array_indices',
22
- 'arrow', 'ascii_template', 'asin', 'assoc', 'atan',
23
- 'axis', 'axis', 'bandpass_filter', 'bandreject_filter', 'barplot',
24
- 'bar_plot', 'beseli', 'beselj', 'beselk', 'besely',
25
- 'beta', 'biginteger', 'bilinear', 'bin_date', 'binary_template',
26
- 'bindgen', 'binomial', 'bit_ffs', 'bit_population', 'blas_axpy',
27
- 'blk_con', 'boolarr', 'boolean', 'boxplot', 'box_cursor',
28
- 'breakpoint', 'broyden', 'bubbleplot', 'butterworth', 'bytarr',
29
- 'byte', 'byteorder', 'bytscl', 'c_correlate', 'calendar',
30
- 'caldat', 'call_external', 'call_function', 'call_method',
31
- 'call_procedure', 'canny', 'catch', 'cd', 'cdf', 'ceil',
32
- 'chebyshev', 'check_math', 'chisqr_cvf', 'chisqr_pdf', 'choldc',
33
- 'cholsol', 'cindgen', 'cir_3pnt', 'clipboard', 'close',
34
- 'clust_wts', 'cluster', 'cluster_tree', 'cmyk_convert', 'code_coverage',
35
- 'color_convert', 'color_exchange', 'color_quan', 'color_range_map',
36
- 'colorbar', 'colorize_sample', 'colormap_applicable',
37
- 'colormap_gradient', 'colormap_rotation', 'colortable',
38
- 'comfit', 'command_line_args', 'common', 'compile_opt', 'complex',
39
- 'complexarr', 'complexround', 'compute_mesh_normals', 'cond', 'congrid',
40
- 'conj', 'constrained_min', 'contour', 'contour', 'convert_coord',
41
- 'convol', 'convol_fft', 'coord2to3', 'copy_lun', 'correlate',
42
- 'cos', 'cosh', 'cpu', 'cramer', 'createboxplotdata',
43
- 'create_cursor', 'create_struct', 'create_view', 'crossp', 'crvlength',
44
- 'ct_luminance', 'cti_test', 'cursor', 'curvefit', 'cv_coord',
45
- 'cvttobm', 'cw_animate', 'cw_animate_getp', 'cw_animate_load',
46
- 'cw_animate_run', 'cw_arcball', 'cw_bgroup', 'cw_clr_index',
47
- 'cw_colorsel', 'cw_defroi', 'cw_field', 'cw_filesel', 'cw_form',
48
- 'cw_fslider', 'cw_light_editor', 'cw_light_editor_get',
49
- 'cw_light_editor_set', 'cw_orient', 'cw_palette_editor',
50
- 'cw_palette_editor_get', 'cw_palette_editor_set', 'cw_pdmenu',
51
- 'cw_rgbslider', 'cw_tmpl', 'cw_zoom', 'db_exists',
52
- 'dblarr', 'dcindgen', 'dcomplex', 'dcomplexarr', 'define_key',
53
- 'define_msgblk', 'define_msgblk_from_file', 'defroi', 'defsysv',
54
- 'delvar', 'dendro_plot', 'dendrogram', 'deriv', 'derivsig',
55
- 'determ', 'device', 'dfpmin', 'diag_matrix', 'dialog_dbconnect',
56
- 'dialog_message', 'dialog_pickfile', 'dialog_printersetup',
57
- 'dialog_printjob', 'dialog_read_image',
58
- 'dialog_write_image', 'dictionary', 'digital_filter', 'dilate', 'dindgen',
59
- 'dissolve', 'dist', 'distance_measure', 'dlm_load', 'dlm_register',
60
- 'doc_library', 'double', 'draw_roi', 'edge_dog', 'efont',
61
- 'eigenql', 'eigenvec', 'ellipse', 'elmhes', 'emboss',
62
- 'empty', 'enable_sysrtn', 'eof', 'eos', 'erase',
63
- 'erf', 'erfc', 'erfcx', 'erode', 'errorplot',
64
- 'errplot', 'estimator_filter', 'execute', 'exit', 'exp',
65
- 'expand', 'expand_path', 'expint', 'extrac', 'extract_slice',
66
- 'f_cvf', 'f_pdf', 'factorial', 'fft', 'file_basename',
67
- 'file_chmod', 'file_copy', 'file_delete', 'file_dirname',
68
- 'file_expand_path', 'file_gunzip', 'file_gzip', 'file_info',
69
- 'file_lines', 'file_link', 'file_mkdir', 'file_move',
70
- 'file_poll_input', 'file_readlink', 'file_same',
71
- 'file_search', 'file_tar', 'file_test', 'file_untar', 'file_unzip',
72
- 'file_which', 'file_zip', 'filepath', 'findgen', 'finite',
73
- 'fix', 'flick', 'float', 'floor', 'flow3',
74
- 'fltarr', 'flush', 'format_axis_values', 'forward_function', 'free_lun',
75
- 'fstat', 'fulstr', 'funct', 'function', 'fv_test',
76
- 'fx_root', 'fz_roots', 'gamma', 'gamma_ct', 'gauss_cvf',
77
- 'gauss_pdf', 'gauss_smooth', 'gauss2dfit', 'gaussfit',
78
- 'gaussian_function', 'gaussint', 'get_drive_list', 'get_dxf_objects',
79
- 'get_kbrd', 'get_login_info',
80
- 'get_lun', 'get_screen_size', 'getenv', 'getwindows', 'greg2jul',
81
- 'grib', 'grid_input', 'grid_tps', 'grid3', 'griddata',
82
- 'gs_iter', 'h_eq_ct', 'h_eq_int', 'hanning', 'hash',
83
- 'hdf', 'hdf5', 'heap_free', 'heap_gc', 'heap_nosave',
84
- 'heap_refcount', 'heap_save', 'help', 'hilbert', 'hist_2d',
85
- 'hist_equal', 'histogram', 'hls', 'hough', 'hqr',
86
- 'hsv', 'i18n_multibytetoutf8',
87
- 'i18n_multibytetowidechar', 'i18n_utf8tomultibyte',
88
- 'i18n_widechartomultibyte',
89
- 'ibeta', 'icontour', 'iconvertcoord', 'idelete', 'identity',
90
- 'idl_base64', 'idl_container', 'idl_validname',
91
- 'idlexbr_assistant', 'idlitsys_createtool',
92
- 'idlunit', 'iellipse', 'igamma', 'igetcurrent', 'igetdata',
93
- 'igetid', 'igetproperty', 'iimage', 'image', 'image_cont',
94
- 'image_statistics', 'image_threshold', 'imaginary', 'imap', 'indgen',
95
- 'int_2d', 'int_3d', 'int_tabulated', 'intarr', 'interpol',
96
- 'interpolate', 'interval_volume', 'invert', 'ioctl', 'iopen',
97
- 'ir_filter', 'iplot', 'ipolygon', 'ipolyline', 'iputdata',
98
- 'iregister', 'ireset', 'iresolve', 'irotate', 'isa',
99
- 'isave', 'iscale', 'isetcurrent', 'isetproperty', 'ishft',
100
- 'isocontour', 'isosurface', 'isurface', 'itext', 'itranslate',
101
- 'ivector', 'ivolume', 'izoom', 'journal', 'json_parse',
102
- 'json_serialize', 'jul2greg', 'julday', 'keyword_set', 'krig2d',
103
- 'kurtosis', 'kw_test', 'l64indgen', 'la_choldc', 'la_cholmprove',
104
- 'la_cholsol', 'la_determ', 'la_eigenproblem', 'la_eigenql', 'la_eigenvec',
105
- 'la_elmhes', 'la_gm_linear_model', 'la_hqr', 'la_invert',
106
- 'la_least_square_equality', 'la_least_squares', 'la_linear_equation',
107
- 'la_ludc', 'la_lumprove', 'la_lusol',
108
- 'la_svd', 'la_tridc', 'la_trimprove', 'la_triql', 'la_trired',
109
- 'la_trisol', 'label_date', 'label_region', 'ladfit', 'laguerre',
110
- 'lambda', 'lambdap', 'lambertw', 'laplacian', 'least_squares_filter',
111
- 'leefilt', 'legend', 'legendre', 'linbcg', 'lindgen',
112
- 'linfit', 'linkimage', 'list', 'll_arc_distance', 'lmfit',
113
- 'lmgr', 'lngamma', 'lnp_test', 'loadct', 'locale_get',
114
- 'logical_and', 'logical_or', 'logical_true', 'lon64arr', 'lonarr',
115
- 'long', 'long64', 'lsode', 'lu_complex', 'ludc',
116
- 'lumprove', 'lusol', 'm_correlate', 'machar', 'make_array',
117
- 'make_dll', 'make_rt', 'map', 'mapcontinents', 'mapgrid',
118
- 'map_2points', 'map_continents', 'map_grid', 'map_image', 'map_patch',
119
- 'map_proj_forward', 'map_proj_image', 'map_proj_info',
120
- 'map_proj_init', 'map_proj_inverse',
121
- 'map_set', 'matrix_multiply', 'matrix_power', 'max', 'md_test',
122
- 'mean', 'meanabsdev', 'mean_filter', 'median', 'memory',
123
- 'mesh_clip', 'mesh_decimate', 'mesh_issolid',
124
- 'mesh_merge', 'mesh_numtriangles',
125
- 'mesh_obj', 'mesh_smooth', 'mesh_surfacearea',
126
- 'mesh_validate', 'mesh_volume',
127
- 'message', 'min', 'min_curve_surf', 'mk_html_help', 'modifyct',
128
- 'moment', 'morph_close', 'morph_distance',
129
- 'morph_gradient', 'morph_hitormiss',
130
- 'morph_open', 'morph_thin', 'morph_tophat', 'multi', 'n_elements',
131
- 'n_params', 'n_tags', 'ncdf', 'newton', 'noise_hurl',
132
- 'noise_pick', 'noise_scatter', 'noise_slur', 'norm', 'obj_class',
133
- 'obj_destroy', 'obj_hasmethod', 'obj_isa', 'obj_new', 'obj_valid',
134
- 'objarr', 'on_error', 'on_ioerror', 'online_help', 'openr',
135
- 'openu', 'openw', 'oplot', 'oploterr', 'orderedhash',
136
- 'p_correlate', 'parse_url', 'particle_trace', 'path_cache', 'path_sep',
137
- 'pcomp', 'plot', 'plot3d', 'plot', 'plot_3dbox',
138
- 'plot_field', 'ploterr', 'plots', 'polar_contour', 'polar_surface',
139
- 'polyfill', 'polyshade', 'pnt_line', 'point_lun', 'polarplot',
140
- 'poly', 'poly_2d', 'poly_area', 'poly_fit', 'polyfillv',
141
- 'polygon', 'polyline', 'polywarp', 'popd', 'powell',
142
- 'pref_commit', 'pref_get', 'pref_set', 'prewitt', 'primes',
143
- 'print', 'printf', 'printd', 'pro', 'product',
144
- 'profile', 'profiler', 'profiles', 'project_vol', 'ps_show_fonts',
145
- 'psafm', 'pseudo', 'ptr_free', 'ptr_new', 'ptr_valid',
146
- 'ptrarr', 'pushd', 'qgrid3', 'qhull', 'qromb',
147
- 'qromo', 'qsimp', 'query_*', 'query_ascii', 'query_bmp',
148
- 'query_csv', 'query_dicom', 'query_gif', 'query_image', 'query_jpeg',
149
- 'query_jpeg2000', 'query_mrsid', 'query_pict', 'query_png', 'query_ppm',
150
- 'query_srf', 'query_tiff', 'query_video', 'query_wav', 'r_correlate',
151
- 'r_test', 'radon', 'randomn', 'randomu', 'ranks',
152
- 'rdpix', 'read', 'readf', 'read_ascii', 'read_binary',
153
- 'read_bmp', 'read_csv', 'read_dicom', 'read_gif', 'read_image',
154
- 'read_interfile', 'read_jpeg', 'read_jpeg2000', 'read_mrsid', 'read_pict',
155
- 'read_png', 'read_ppm', 'read_spr', 'read_srf', 'read_sylk',
156
- 'read_tiff', 'read_video', 'read_wav', 'read_wave', 'read_x11_bitmap',
157
- 'read_xwd', 'reads', 'readu', 'real_part', 'rebin',
158
- 'recall_commands', 'recon3', 'reduce_colors', 'reform', 'region_grow',
159
- 'register_cursor', 'regress', 'replicate',
160
- 'replicate_inplace', 'resolve_all',
161
- 'resolve_routine', 'restore', 'retall', 'return', 'reverse',
162
- 'rk4', 'roberts', 'rot', 'rotate', 'round',
163
- 'routine_filepath', 'routine_info', 'rs_test', 's_test', 'save',
164
- 'savgol', 'scale3', 'scale3d', 'scatterplot', 'scatterplot3d',
165
- 'scope_level', 'scope_traceback', 'scope_varfetch',
166
- 'scope_varname', 'search2d',
167
- 'search3d', 'sem_create', 'sem_delete', 'sem_lock', 'sem_release',
168
- 'set_plot', 'set_shading', 'setenv', 'sfit', 'shade_surf',
169
- 'shade_surf_irr', 'shade_volume', 'shift', 'shift_diff', 'shmdebug',
170
- 'shmmap', 'shmunmap', 'shmvar', 'show3', 'showfont',
171
- 'signum', 'simplex', 'sin', 'sindgen', 'sinh',
172
- 'size', 'skewness', 'skip_lun', 'slicer3', 'slide_image',
173
- 'smooth', 'sobel', 'socket', 'sort', 'spawn',
174
- 'sph_4pnt', 'sph_scat', 'spher_harm', 'spl_init', 'spl_interp',
175
- 'spline', 'spline_p', 'sprsab', 'sprsax', 'sprsin',
176
- 'sprstp', 'sqrt', 'standardize', 'stddev', 'stop',
177
- 'strarr', 'strcmp', 'strcompress', 'streamline', 'streamline',
178
- 'stregex', 'stretch', 'string', 'strjoin', 'strlen',
179
- 'strlowcase', 'strmatch', 'strmessage', 'strmid', 'strpos',
180
- 'strput', 'strsplit', 'strtrim', 'struct_assign', 'struct_hide',
181
- 'strupcase', 'surface', 'surface', 'surfr', 'svdc',
182
- 'svdfit', 'svsol', 'swap_endian', 'swap_endian_inplace', 'symbol',
183
- 'systime', 't_cvf', 't_pdf', 't3d', 'tag_names',
184
- 'tan', 'tanh', 'tek_color', 'temporary', 'terminal_size',
185
- 'tetra_clip', 'tetra_surface', 'tetra_volume', 'text', 'thin',
186
- 'thread', 'threed', 'tic', 'time_test2', 'timegen',
187
- 'timer', 'timestamp', 'timestamptovalues', 'tm_test', 'toc',
188
- 'total', 'trace', 'transpose', 'tri_surf', 'triangulate',
189
- 'trigrid', 'triql', 'trired', 'trisol', 'truncate_lun',
190
- 'ts_coef', 'ts_diff', 'ts_fcast', 'ts_smooth', 'tv',
191
- 'tvcrs', 'tvlct', 'tvrd', 'tvscl', 'typename',
192
- 'uindgen', 'uint', 'uintarr', 'ul64indgen', 'ulindgen',
193
- 'ulon64arr', 'ulonarr', 'ulong', 'ulong64', 'uniq',
194
- 'unsharp_mask', 'usersym', 'value_locate', 'variance', 'vector',
195
- 'vector_field', 'vel', 'velovect', 'vert_t3d', 'voigt',
196
- 'volume', 'voronoi', 'voxel_proj', 'wait', 'warp_tri',
197
- 'watershed', 'wdelete', 'wf_draw', 'where', 'widget_base',
198
- 'widget_button', 'widget_combobox', 'widget_control',
199
- 'widget_displaycontextmenu', 'widget_draw',
200
- 'widget_droplist', 'widget_event', 'widget_info',
201
- 'widget_label', 'widget_list',
202
- 'widget_propertysheet', 'widget_slider', 'widget_tab',
203
- 'widget_table', 'widget_text',
204
- 'widget_tree', 'widget_tree_move', 'widget_window',
205
- 'wiener_filter', 'window',
206
- 'window', 'write_bmp', 'write_csv', 'write_gif', 'write_image',
207
- 'write_jpeg', 'write_jpeg2000', 'write_nrif', 'write_pict', 'write_png',
208
- 'write_ppm', 'write_spr', 'write_srf', 'write_sylk', 'write_tiff',
209
- 'write_video', 'write_wav', 'write_wave', 'writeu', 'wset',
210
- 'wshow', 'wtn', 'wv_applet', 'wv_cwt', 'wv_cw_wavelet',
211
- 'wv_denoise', 'wv_dwt', 'wv_fn_coiflet',
212
- 'wv_fn_daubechies', 'wv_fn_gaussian',
213
- 'wv_fn_haar', 'wv_fn_morlet', 'wv_fn_paul',
214
- 'wv_fn_symlet', 'wv_import_data',
215
- 'wv_import_wavelet', 'wv_plot3d_wps', 'wv_plot_multires',
216
- 'wv_pwt', 'wv_tool_denoise',
217
- 'xbm_edit', 'xdisplayfile', 'xdxf', 'xfont', 'xinteranimate',
218
- 'xloadct', 'xmanager', 'xmng_tmpl', 'xmtool', 'xobjview',
219
- 'xobjview_rotate', 'xobjview_write_image',
220
- 'xpalette', 'xpcolor', 'xplot3d',
221
- 'xregistered', 'xroi', 'xsq_test', 'xsurface', 'xvaredit',
222
- 'xvolume', 'xvolume_rotate', 'xvolume_write_image',
223
- 'xyouts', 'zlib_compress', 'zlib_uncompress', 'zoom', 'zoom_24'
224
- ];
225
- var builtins = wordRegexp(builtinArray);
226
-
227
- var keywordArray = [
228
- 'begin', 'end', 'endcase', 'endfor',
229
- 'endwhile', 'endif', 'endrep', 'endforeach',
230
- 'break', 'case', 'continue', 'for',
231
- 'foreach', 'goto', 'if', 'then', 'else',
232
- 'repeat', 'until', 'switch', 'while',
233
- 'do', 'pro', 'function'
234
- ];
235
- var keywords = wordRegexp(keywordArray);
236
-
237
- CodeMirror.registerHelper("hintWords", "idl", builtinArray.concat(keywordArray));
238
-
239
- var identifiers = new RegExp('^[_a-z\xa1-\uffff][_a-z0-9\xa1-\uffff]*', 'i');
240
-
241
- var singleOperators = /[+\-*&=<>\/@#~$]/;
242
- var boolOperators = new RegExp('(and|or|eq|lt|le|gt|ge|ne|not)', 'i');
243
-
244
- function tokenBase(stream) {
245
- // whitespaces
246
- if (stream.eatSpace()) return null;
247
-
248
- // Handle one line Comments
249
- if (stream.match(';')) {
250
- stream.skipToEnd();
251
- return 'comment';
252
- }
253
-
254
- // Handle Number Literals
255
- if (stream.match(/^[0-9\.+-]/, false)) {
256
- if (stream.match(/^[+-]?0x[0-9a-fA-F]+/))
257
- return 'number';
258
- if (stream.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/))
259
- return 'number';
260
- if (stream.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))
261
- return 'number';
262
- }
263
-
264
- // Handle Strings
265
- if (stream.match(/^"([^"]|(""))*"/)) { return 'string'; }
266
- if (stream.match(/^'([^']|(''))*'/)) { return 'string'; }
267
-
268
- // Handle words
269
- if (stream.match(keywords)) { return 'keyword'; }
270
- if (stream.match(builtins)) { return 'builtin'; }
271
- if (stream.match(identifiers)) { return 'variable'; }
272
-
273
- if (stream.match(singleOperators) || stream.match(boolOperators)) {
274
- return 'operator'; }
275
-
276
- // Handle non-detected items
277
- stream.next();
278
- return null;
279
- };
280
-
281
- CodeMirror.defineMode('idl', function() {
282
- return {
283
- token: function(stream) {
284
- return tokenBase(stream);
285
- }
286
- };
287
- });
288
-
289
- CodeMirror.defineMIME('text/x-idl', 'idl');
290
- });
@@ -1,65 +0,0 @@
1
- <!doctype html>
2
-
3
- <title>CodeMirror: IDL mode</title>
4
- <meta charset="utf-8"/>
5
- <link rel=stylesheet href="../../doc/docs.css">
6
-
7
- <link rel="stylesheet" href="../../lib/codemirror.css">
8
- <script src="../../lib/codemirror.js"></script>
9
- <script src="../../addon/edit/matchbrackets.js"></script>
10
- <script src="idl.js"></script>
11
- <style>.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
12
- <div id=nav>
13
- <a href="https://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png" alt=""></a>
14
-
15
- <ul>
16
- <li><a href="../../index.html">Home</a>
17
- <li><a href="../../doc/manual.html">Manual</a>
18
- <li><a href="https://github.com/codemirror/codemirror">Code</a>
19
- </ul>
20
- <ul>
21
- <li><a href="../index.html">Language modes</a>
22
- <li><a class=active href="#">IDL</a>
23
- </ul>
24
- </div>
25
-
26
- <article>
27
- <h2>IDL mode</h2>
28
-
29
- <div><textarea id="code" name="code">
30
- ;; Example IDL code
31
- FUNCTION mean_and_stddev,array
32
- ;; This program reads in an array of numbers
33
- ;; and returns a structure containing the
34
- ;; average and standard deviation
35
-
36
- ave = 0.0
37
- count = 0.0
38
-
39
- for i=0,N_ELEMENTS(array)-1 do begin
40
- ave = ave + array[i]
41
- count = count + 1
42
- endfor
43
-
44
- ave = ave/count
45
-
46
- std = stddev(array)
47
-
48
- return, {average:ave,std:std}
49
-
50
- END
51
-
52
- </textarea></div>
53
- <script>
54
- var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
55
- mode: {name: "idl",
56
- version: 1,
57
- singleLineStringErrors: false},
58
- lineNumbers: true,
59
- indentUnit: 4,
60
- matchBrackets: true
61
- });
62
- </script>
63
-
64
- <p><strong>MIME types defined:</strong> <code>text/x-idl</code>.</p>
65
- </article>
@@ -1,165 +0,0 @@
1
- <!doctype html>
2
-
3
- <title>CodeMirror: Language Modes</title>
4
- <meta charset="utf-8"/>
5
- <link rel=stylesheet href="../doc/docs.css">
6
-
7
- <div id=nav>
8
- <a href="https://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../doc/logo.png"></a>
9
-
10
- <ul>
11
- <li><a href="../index.html">Home</a>
12
- <li><a href="../doc/manual.html">Manual</a>
13
- <li><a href="https://github.com/codemirror/codemirror">Code</a>
14
- </ul>
15
- <ul>
16
- <li><a class=active href="#">Language modes</a>
17
- </ul>
18
- </div>
19
-
20
- <article>
21
-
22
- <h2>Language modes</h2>
23
-
24
- <p>This is a list of every mode in the distribution. Each mode lives
25
- in a subdirectory of the <code>mode/</code> directory, and typically
26
- defines a single JavaScript file that implements the mode. Loading
27
- such file will make the language available to CodeMirror, through
28
- the <a href="../doc/manual.html#option_mode"><code>mode</code></a>
29
- option.</p>
30
-
31
- <div style="-webkit-columns: 100px 2; -moz-columns: 100px 2; columns: 100px 2;">
32
- <ul style="margin-top: 0">
33
- <li><a href="apl/index.html">APL</a></li>
34
- <li><a href="asn.1/index.html">ASN.1</a></li>
35
- <li><a href="asterisk/index.html">Asterisk dialplan</a></li>
36
- <li><a href="brainfuck/index.html">Brainfuck</a></li>
37
- <li><a href="clike/index.html">C, C++, C#</a></li>
38
- <li><a href="clike/index.html">Ceylon</a></li>
39
- <li><a href="clojure/index.html">Clojure</a></li>
40
- <li><a href="css/gss.html">Closure Stylesheets (GSS)</a></li>
41
- <li><a href="cmake/index.html">CMake</a></li>
42
- <li><a href="cobol/index.html">COBOL</a></li>
43
- <li><a href="coffeescript/index.html">CoffeeScript</a></li>
44
- <li><a href="commonlisp/index.html">Common Lisp</a></li>
45
- <li><a href="crystal/index.html">Crystal</a></li>
46
- <li><a href="css/index.html">CSS</a></li>
47
- <li><a href="cypher/index.html">Cypher</a></li>
48
- <li><a href="python/index.html">Cython</a></li>
49
- <li><a href="d/index.html">D</a></li>
50
- <li><a href="dart/index.html">Dart</a></li>
51
- <li><a href="django/index.html">Django</a> (templating language)</li>
52
- <li><a href="dockerfile/index.html">Dockerfile</a></li>
53
- <li><a href="diff/index.html">diff</a></li>
54
- <li><a href="dtd/index.html">DTD</a></li>
55
- <li><a href="dylan/index.html">Dylan</a></li>
56
- <li><a href="ebnf/index.html">EBNF</a></li>
57
- <li><a href="ecl/index.html">ECL</a></li>
58
- <li><a href="eiffel/index.html">Eiffel</a></li>
59
- <li><a href="https://github.com/optick/codemirror-mode-elixir">Elixir</a></li>
60
- <li><a href="elm/index.html">Elm</a></li>
61
- <li><a href="erlang/index.html">Erlang</a></li>
62
- <li><a href="factor/index.html">Factor</a></li>
63
- <li><a href="fcl/index.html">FCL</a></li>
64
- <li><a href="forth/index.html">Forth</a></li>
65
- <li><a href="fortran/index.html">Fortran</a></li>
66
- <li><a href="mllike/index.html">F#</a></li>
67
- <li><a href="gas/index.html">Gas</a> (AT&amp;T-style assembly)</li>
68
- <li><a href="gherkin/index.html">Gherkin</a></li>
69
- <li><a href="go/index.html">Go</a></li>
70
- <li><a href="groovy/index.html">Groovy</a></li>
71
- <li><a href="haml/index.html">HAML</a></li>
72
- <li><a href="handlebars/index.html">Handlebars</a></li>
73
- <li><a href="haskell/index.html">Haskell</a> (<a href="haskell-literate/index.html">Literate</a>)</li>
74
- <li><a href="haxe/index.html">Haxe</a></li>
75
- <li><a href="htmlembedded/index.html">HTML embedded</a> (JSP, ASP.NET)</li>
76
- <li><a href="htmlmixed/index.html">HTML mixed-mode</a></li>
77
- <li><a href="http/index.html">HTTP</a></li>
78
- <li><a href="idl/index.html">IDL</a></li>
79
- <li><a href="clike/index.html">Java</a></li>
80
- <li><a href="javascript/index.html">JavaScript</a> (<a href="jsx/index.html">JSX</a>)</li>
81
- <li><a href="jinja2/index.html">Jinja2</a></li>
82
- <li><a href="julia/index.html">Julia</a></li>
83
- <li><a href="clike/index.html">Kotlin</a></li>
84
- <li><a href="css/less.html">LESS</a></li>
85
- <li><a href="livescript/index.html">LiveScript</a></li>
86
- <li><a href="lua/index.html">Lua</a></li>
87
- <li><a href="markdown/index.html">Markdown</a> (<a href="gfm/index.html">GitHub-flavour</a>)</li>
88
- <li><a href="mathematica/index.html">Mathematica</a></li>
89
- <li><a href="mbox/index.html">mbox</a></li>
90
- <li><a href="mirc/index.html">mIRC</a></li>
91
- <li><a href="modelica/index.html">Modelica</a></li>
92
- <li><a href="mscgen/index.html">MscGen</a></li>
93
- <li><a href="mumps/index.html">MUMPS</a></li>
94
- <li><a href="nginx/index.html">Nginx</a></li>
95
- <li><a href="nsis/index.html">NSIS</a></li>
96
- <li><a href="ntriples/index.html">N-Triples/N-Quads</a></li>
97
- <li><a href="clike/index.html">Objective C</a></li>
98
- <li><a href="mllike/index.html">OCaml</a></li>
99
- <li><a href="octave/index.html">Octave</a> (MATLAB)</li>
100
- <li><a href="oz/index.html">Oz</a></li>
101
- <li><a href="pascal/index.html">Pascal</a></li>
102
- <li><a href="pegjs/index.html">PEG.js</a></li>
103
- <li><a href="perl/index.html">Perl</a></li>
104
- <li><a href="asciiarmor/index.html">PGP (ASCII armor)</a></li>
105
- <li><a href="php/index.html">PHP</a></li>
106
- <li><a href="pig/index.html">Pig Latin</a></li>
107
- <li><a href="powershell/index.html">PowerShell</a></li>
108
- <li><a href="properties/index.html">Properties files</a></li>
109
- <li><a href="protobuf/index.html">ProtoBuf</a></li>
110
- <li><a href="pug/index.html">Pug</a></li>
111
- <li><a href="puppet/index.html">Puppet</a></li>
112
- <li><a href="python/index.html">Python</a></li>
113
- <li><a href="q/index.html">Q</a></li>
114
- <li><a href="r/index.html">R</a></li>
115
- <li><a href="rpm/index.html">RPM</a></li>
116
- <li><a href="rst/index.html">reStructuredText</a></li>
117
- <li><a href="ruby/index.html">Ruby</a></li>
118
- <li><a href="rust/index.html">Rust</a></li>
119
- <li><a href="sas/index.html">SAS</a></li>
120
- <li><a href="sass/index.html">Sass</a></li>
121
- <li><a href="spreadsheet/index.html">Spreadsheet</a></li>
122
- <li><a href="clike/scala.html">Scala</a></li>
123
- <li><a href="scheme/index.html">Scheme</a></li>
124
- <li><a href="css/scss.html">SCSS</a></li>
125
- <li><a href="shell/index.html">Shell</a></li>
126
- <li><a href="sieve/index.html">Sieve</a></li>
127
- <li><a href="slim/index.html">Slim</a></li>
128
- <li><a href="smalltalk/index.html">Smalltalk</a></li>
129
- <li><a href="smarty/index.html">Smarty</a></li>
130
- <li><a href="solr/index.html">Solr</a></li>
131
- <li><a href="soy/index.html">Soy</a></li>
132
- <li><a href="stylus/index.html">Stylus</a></li>
133
- <li><a href="sql/index.html">SQL</a> (several dialects)</li>
134
- <li><a href="sparql/index.html">SPARQL</a></li>
135
- <li><a href="clike/index.html">Squirrel</a></li>
136
- <li><a href="swift/index.html">Swift</a></li>
137
- <li><a href="stex/index.html">sTeX, LaTeX</a></li>
138
- <li><a href="tcl/index.html">Tcl</a></li>
139
- <li><a href="textile/index.html">Textile</a></li>
140
- <li><a href="tiddlywiki/index.html">Tiddlywiki</a></li>
141
- <li><a href="tiki/index.html">Tiki wiki</a></li>
142
- <li><a href="toml/index.html">TOML</a></li>
143
- <li><a href="tornado/index.html">Tornado</a> (templating language)</li>
144
- <li><a href="troff/index.html">troff</a> (for manpages)</li>
145
- <li><a href="ttcn/index.html">TTCN</a></li>
146
- <li><a href="ttcn-cfg/index.html">TTCN Configuration</a></li>
147
- <li><a href="turtle/index.html">Turtle</a></li>
148
- <li><a href="twig/index.html">Twig</a></li>
149
- <li><a href="vb/index.html">VB.NET</a></li>
150
- <li><a href="vbscript/index.html">VBScript</a></li>
151
- <li><a href="velocity/index.html">Velocity</a></li>
152
- <li><a href="verilog/index.html">Verilog/SystemVerilog</a></li>
153
- <li><a href="vhdl/index.html">VHDL</a></li>
154
- <li><a href="vue/index.html">Vue.js app</a></li>
155
- <li><a href="webidl/index.html">Web IDL</a></li>
156
- <li><a href="xml/index.html">XML/HTML</a></li>
157
- <li><a href="xquery/index.html">XQuery</a></li>
158
- <li><a href="yacas/index.html">Yacas</a></li>
159
- <li><a href="yaml/index.html">YAML</a></li>
160
- <li><a href="yaml-frontmatter/index.html">YAML frontmatter</a></li>
161
- <li><a href="z80/index.html">Z80</a></li>
162
- </ul>
163
- </div>
164
-
165
- </article>
@@ -1,114 +0,0 @@
1
- <!doctype html>
2
-
3
- <title>CodeMirror: JavaScript mode</title>
4
- <meta charset="utf-8"/>
5
- <link rel=stylesheet href="../../doc/docs.css">
6
-
7
- <link rel="stylesheet" href="../../lib/codemirror.css">
8
- <script src="../../lib/codemirror.js"></script>
9
- <script src="../../addon/edit/matchbrackets.js"></script>
10
- <script src="../../addon/comment/continuecomment.js"></script>
11
- <script src="../../addon/comment/comment.js"></script>
12
- <script src="javascript.js"></script>
13
- <style>.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
14
- <div id=nav>
15
- <a href="https://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png" alt=""></a>
16
-
17
- <ul>
18
- <li><a href="../../index.html">Home</a>
19
- <li><a href="../../doc/manual.html">Manual</a>
20
- <li><a href="https://github.com/codemirror/codemirror">Code</a>
21
- </ul>
22
- <ul>
23
- <li><a href="../index.html">Language modes</a>
24
- <li><a class=active href="#">JavaScript</a>
25
- </ul>
26
- </div>
27
-
28
- <article>
29
- <h2>JavaScript mode</h2>
30
-
31
-
32
- <div><textarea id="code" name="code">
33
- // Demo code (the actual new parser character stream implementation)
34
-
35
- function StringStream(string) {
36
- this.pos = 0;
37
- this.string = string;
38
- }
39
-
40
- StringStream.prototype = {
41
- done: function() {return this.pos >= this.string.length;},
42
- peek: function() {return this.string.charAt(this.pos);},
43
- next: function() {
44
- if (this.pos &lt; this.string.length)
45
- return this.string.charAt(this.pos++);
46
- },
47
- eat: function(match) {
48
- var ch = this.string.charAt(this.pos);
49
- if (typeof match == "string") var ok = ch == match;
50
- else var ok = ch &amp;&amp; match.test ? match.test(ch) : match(ch);
51
- if (ok) {this.pos++; return ch;}
52
- },
53
- eatWhile: function(match) {
54
- var start = this.pos;
55
- while (this.eat(match));
56
- if (this.pos > start) return this.string.slice(start, this.pos);
57
- },
58
- backUp: function(n) {this.pos -= n;},
59
- column: function() {return this.pos;},
60
- eatSpace: function() {
61
- var start = this.pos;
62
- while (/\s/.test(this.string.charAt(this.pos))) this.pos++;
63
- return this.pos - start;
64
- },
65
- match: function(pattern, consume, caseInsensitive) {
66
- if (typeof pattern == "string") {
67
- function cased(str) {return caseInsensitive ? str.toLowerCase() : str;}
68
- if (cased(this.string).indexOf(cased(pattern), this.pos) == this.pos) {
69
- if (consume !== false) this.pos += str.length;
70
- return true;
71
- }
72
- }
73
- else {
74
- var match = this.string.slice(this.pos).match(pattern);
75
- if (match &amp;&amp; consume !== false) this.pos += match[0].length;
76
- return match;
77
- }
78
- }
79
- };
80
- </textarea></div>
81
-
82
- <script>
83
- var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
84
- lineNumbers: true,
85
- matchBrackets: true,
86
- continueComments: "Enter",
87
- extraKeys: {"Ctrl-Q": "toggleComment"}
88
- });
89
- </script>
90
-
91
- <p>
92
- JavaScript mode supports several configuration options:
93
- <ul>
94
- <li><code>json</code> which will set the mode to expect JSON
95
- data rather than a JavaScript program.</li>
96
- <li><code>jsonld</code> which will set the mode to expect
97
- <a href="http://json-ld.org">JSON-LD</a> linked data rather
98
- than a JavaScript program (<a href="json-ld.html">demo</a>).</li>
99
- <li><code>typescript</code> which will activate additional
100
- syntax highlighting and some other things for TypeScript code
101
- (<a href="typescript.html">demo</a>).</li>
102
- <li><code>statementIndent</code> which (given a number) will
103
- determine the amount of indentation to use for statements
104
- continued on a new line.</li>
105
- <li><code>wordCharacters</code>, a regexp that indicates which
106
- characters should be considered part of an identifier.
107
- Defaults to <code>/[\w$]/</code>, which does not handle
108
- non-ASCII identifiers. Can be set to something more elaborate
109
- to improve Unicode support.</li>
110
- </ul>
111
- </p>
112
-
113
- <p><strong>MIME types defined:</strong> <code>text/javascript</code>, <code>application/json</code>, <code>application/ld+json</code>, <code>text/typescript</code>, <code>application/typescript</code>.</p>
114
- </article>