jquery-ace-rails 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. data/lib/jquery-ace-rails/version.rb +1 -1
  2. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/ace.js +0 -0
  3. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/ext-static_highlight.js +0 -0
  4. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/ext-textarea.js +0 -0
  5. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/keybinding-emacs.js +0 -0
  6. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/keybinding-vim.js +0 -0
  7. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-abap.js +0 -0
  8. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-asciidoc.js +0 -0
  9. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-c9search.js +0 -0
  10. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-c_cpp.js +0 -0
  11. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-clojure.js +0 -0
  12. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-coffee.js +0 -0
  13. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-coldfusion.js +0 -0
  14. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-csharp.js +0 -0
  15. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-css.js +0 -0
  16. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-dart.js +0 -0
  17. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-diff.js +0 -0
  18. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-dot.js +0 -0
  19. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-glsl.js +0 -0
  20. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-golang.js +0 -0
  21. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-groovy.js +0 -0
  22. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-haml.js +0 -0
  23. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-haxe.js +0 -0
  24. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-html.js +0 -0
  25. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-jade.js +0 -0
  26. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-java.js +0 -0
  27. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-javascript.js +0 -0
  28. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-json.js +0 -0
  29. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-jsp.js +0 -0
  30. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-jsx.js +0 -0
  31. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-latex.js +0 -0
  32. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-less.js +0 -0
  33. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-liquid.js +0 -0
  34. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-lisp.js +0 -0
  35. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-lua.js +0 -0
  36. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-luapage.js +0 -0
  37. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-lucene.js +0 -0
  38. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-makefile.js +0 -0
  39. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-markdown.js +0 -0
  40. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-objectivec.js +0 -0
  41. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-ocaml.js +0 -0
  42. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-perl.js +0 -0
  43. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-pgsql.js +0 -0
  44. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-php.js +0 -0
  45. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-powershell.js +0 -0
  46. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-python.js +0 -0
  47. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-r.js +0 -0
  48. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-rdoc.js +0 -0
  49. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-rhtml.js +0 -0
  50. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-ruby.js +0 -0
  51. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-scad.js +0 -0
  52. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-scala.js +0 -0
  53. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-scss.js +0 -0
  54. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-sh.js +0 -0
  55. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-sql.js +0 -0
  56. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-stylus.js +0 -0
  57. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-svg.js +0 -0
  58. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-tcl.js +0 -0
  59. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-tex.js +0 -0
  60. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-text.js +0 -0
  61. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-textile.js +0 -0
  62. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-typescript.js +0 -0
  63. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-xml.js +0 -0
  64. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-xquery.js +0 -0
  65. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-yaml.js +0 -0
  66. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-ambiance.js +0 -0
  67. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-chaos.js +0 -0
  68. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-chrome.js +0 -0
  69. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-clouds.js +0 -0
  70. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-clouds_midnight.js +0 -0
  71. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-cobalt.js +0 -0
  72. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-crimson_editor.js +0 -0
  73. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-dawn.js +0 -0
  74. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-dreamweaver.js +0 -0
  75. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-eclipse.js +0 -0
  76. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-github.js +0 -0
  77. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-idle_fingers.js +0 -0
  78. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-kr.js +0 -0
  79. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-merbivore.js +0 -0
  80. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-merbivore_soft.js +0 -0
  81. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-mono_industrial.js +0 -0
  82. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-monokai.js +0 -0
  83. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-pastel_on_dark.js +0 -0
  84. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-solarized_dark.js +0 -0
  85. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-solarized_light.js +0 -0
  86. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-textmate.js +0 -0
  87. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow.js +0 -0
  88. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow_night.js +0 -0
  89. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow_night_blue.js +0 -0
  90. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow_night_bright.js +0 -0
  91. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow_night_eighties.js +0 -0
  92. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-twilight.js +0 -0
  93. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-vibrant_ink.js +0 -0
  94. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-xcode.js +0 -0
  95. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-coffee.js +0 -0
  96. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-css.js +0 -0
  97. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-javascript.js +0 -0
  98. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-json.js +0 -0
  99. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-xquery.js +0 -0
  100. data/vendor/assets/javascripts/{jquery-ace/jquery-ace.coffee → jquery-ace.coffee} +1 -1
  101. data/vendor/assets/javascripts/{jquery-ace/jquery-ace.js → jquery-ace.js} +1 -1
  102. data/vendor/assets/javascripts/{jquery-ace/jquery-ace.min.js → jquery-ace.min.js} +1 -1
  103. data/vendor/assets/javascripts/{jquery-ace/vendor → jquery}/jquery-1.8.3.min.js +0 -0
  104. metadata +104 -202
  105. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/ace.js +0 -14262
  106. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/ext-static_highlight.js +0 -96
  107. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/ext-textarea.js +0 -591
  108. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/keybinding-emacs.js +0 -364
  109. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/keybinding-vim.js +0 -1646
  110. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-abap.js +0 -259
  111. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-asciidoc.js +0 -372
  112. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-c9search.js +0 -187
  113. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-c_cpp.js +0 -765
  114. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-clojure.js +0 -325
  115. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-coffee.js +0 -520
  116. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-coldfusion.js +0 -1725
  117. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-csharp.js +0 -605
  118. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-css.js +0 -680
  119. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-dart.js +0 -279
  120. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-diff.js +0 -163
  121. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-dot.js +0 -348
  122. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-glsl.js +0 -838
  123. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-golang.js +0 -660
  124. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-groovy.js +0 -1082
  125. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-haml.js +0 -440
  126. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-haxe.js +0 -610
  127. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-html.js +0 -1850
  128. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-jade.js +0 -2035
  129. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-java.js +0 -1041
  130. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-javascript.js +0 -921
  131. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-json.js +0 -574
  132. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-jsp.js +0 -1371
  133. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-jsx.js +0 -635
  134. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-latex.js +0 -217
  135. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-less.js +0 -394
  136. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-liquid.js +0 -921
  137. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-lisp.js +0 -142
  138. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-lua.js +0 -609
  139. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-luapage.js +0 -2463
  140. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-lucene.js +0 -64
  141. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-makefile.js +0 -314
  142. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-markdown.js +0 -2228
  143. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-objectivec.js +0 -655
  144. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-ocaml.js +0 -448
  145. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-perl.js +0 -319
  146. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-pgsql.js +0 -928
  147. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-php.js +0 -2299
  148. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-powershell.js +0 -611
  149. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-python.js +0 -290
  150. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-r.js +0 -410
  151. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-rdoc.js +0 -189
  152. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-rhtml.js +0 -2138
  153. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-ruby.js +0 -410
  154. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-scad.js +0 -698
  155. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-scala.js +0 -1070
  156. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-scss.js +0 -416
  157. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-sh.js +0 -232
  158. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-sql.js +0 -145
  159. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-stylus.js +0 -474
  160. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-svg.js +0 -1490
  161. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-tcl.js +0 -342
  162. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-tex.js +0 -171
  163. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-text.js +0 -0
  164. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-textile.js +0 -175
  165. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-typescript.js +0 -1011
  166. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-xml.js +0 -792
  167. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-xquery.js +0 -676
  168. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-yaml.js +0 -298
  169. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-ambiance.js +0 -202
  170. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-chaos.js +0 -167
  171. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-chrome.js +0 -161
  172. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-clouds.js +0 -135
  173. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-clouds_midnight.js +0 -136
  174. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-cobalt.js +0 -150
  175. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-crimson_editor.js +0 -154
  176. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-dawn.js +0 -146
  177. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-dreamweaver.js +0 -173
  178. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-eclipse.js +0 -122
  179. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-github.js +0 -136
  180. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-idle_fingers.js +0 -136
  181. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-kr.js +0 -143
  182. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-merbivore.js +0 -135
  183. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-merbivore_soft.js +0 -136
  184. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-mono_industrial.js +0 -148
  185. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-monokai.js +0 -140
  186. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-pastel_on_dark.js +0 -148
  187. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-solarized_dark.js +0 -128
  188. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-solarized_light.js +0 -131
  189. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-textmate.js +0 -163
  190. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow.js +0 -147
  191. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow_night.js +0 -147
  192. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow_night_blue.js +0 -145
  193. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow_night_bright.js +0 -147
  194. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow_night_eighties.js +0 -144
  195. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-twilight.js +0 -147
  196. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-vibrant_ink.js +0 -131
  197. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-xcode.js +0 -125
  198. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-coffee.js +0 -6985
  199. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-css.js +0 -7741
  200. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-javascript.js +0 -6387
  201. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-json.js +0 -2228
  202. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-xquery.js +0 -21719
@@ -1,217 +0,0 @@
1
- define('ace/mode/latex', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/latex_highlight_rules', 'ace/mode/folding/latex', 'ace/range'], function(require, exports, module) {
2
-
3
-
4
- var oop = require("../lib/oop");
5
- var TextMode = require("./text").Mode;
6
- var Tokenizer = require("../tokenizer").Tokenizer;
7
- var LatexHighlightRules = require("./latex_highlight_rules").LatexHighlightRules;
8
- var LatexFoldMode = require("./folding/latex").FoldMode;
9
- var Range = require("../range").Range;
10
-
11
- var Mode = function() {
12
- this.$tokenizer = new Tokenizer(new LatexHighlightRules().getRules());
13
- this.foldingRules = new LatexFoldMode();
14
- };
15
- oop.inherits(Mode, TextMode);
16
-
17
- (function() {
18
- this.toggleCommentLines = function(state, doc, startRow, endRow) {
19
- var outdent = true;
20
- var commentRegEx = /^(\s*)\%/;
21
-
22
- for (var i = startRow; i <= endRow; i++) {
23
- if (!commentRegEx.test(doc.getLine(i))) {
24
- outdent = false;
25
- break;
26
- }
27
- }
28
-
29
- if (outdent) {
30
- var deleteRange = new Range(0, 0, 0, 0);
31
- for (var i = startRow; i <= endRow; i++) {
32
- var line = doc.getLine(i);
33
- var m = line.match(commentRegEx);
34
- deleteRange.start.row = i;
35
- deleteRange.end.row = i;
36
- deleteRange.end.column = m[0].length;
37
- doc.replace(deleteRange, m[1]);
38
- }
39
- }
40
- else {
41
- doc.indentRows(startRow, endRow, "%");
42
- }
43
- };
44
- this.getNextLineIndent = function(state, line, tab) {
45
- return this.$getIndent(line);
46
- };
47
-
48
- }).call(Mode.prototype);
49
-
50
- exports.Mode = Mode;
51
-
52
- });
53
- define('ace/mode/latex_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
54
-
55
-
56
- var oop = require("../lib/oop");
57
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
58
-
59
- var LatexHighlightRules = function() {
60
- this.$rules = {
61
- "start" : [{
62
- token : "keyword",
63
- regex : "\\\\(?:[^a-zA-Z]|[a-zA-Z]+)"
64
- }, {
65
- token : "lparen",
66
- regex : "[[({]"
67
- }, {
68
- token : "rparen",
69
- regex : "[\\])}]"
70
- }, {
71
- token : "string",
72
- regex : "\\$(?:(?:\\\\.)|(?:[^\\$\\\\]))*?\\$"
73
- }, {
74
- token : "comment",
75
- regex : "%.*$"
76
- }]
77
- };
78
- };
79
-
80
- oop.inherits(LatexHighlightRules, TextHighlightRules);
81
-
82
- exports.LatexHighlightRules = LatexHighlightRules;
83
-
84
- });
85
-
86
- define('ace/mode/folding/latex', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/folding/fold_mode', 'ace/range', 'ace/token_iterator'], function(require, exports, module) {
87
-
88
-
89
- var oop = require("../../lib/oop");
90
- var BaseFoldMode = require("./fold_mode").FoldMode;
91
- var Range = require("../../range").Range;
92
- var TokenIterator = require("../../token_iterator").TokenIterator;
93
-
94
- var FoldMode = exports.FoldMode = function() {};
95
-
96
- oop.inherits(FoldMode, BaseFoldMode);
97
-
98
- (function() {
99
-
100
- this.foldingStartMarker = /^\s*\\(begin)|(section|subsection)\b|{\s*$/;
101
- this.foldingStopMarker = /^\s*\\(end)\b|^\s*}/;
102
-
103
- this.getFoldWidgetRange = function(session, foldStyle, row) {
104
- var line = session.doc.getLine(row);
105
- var match = this.foldingStartMarker.exec(line);
106
- if (match) {
107
- if (match[1])
108
- return this.latexBlock(session, row, match[0].length - 1);
109
- if (match[2])
110
- return this.latexSection(session, row, match[0].length - 1);
111
-
112
- return this.openingBracketBlock(session, "{", row, match.index);
113
- }
114
-
115
- var match = this.foldingStopMarker.exec(line);
116
- if (match) {
117
- if (match[1])
118
- return this.latexBlock(session, row, match[0].length - 1);
119
-
120
- return this.closingBracketBlock(session, "}", row, match.index + match[0].length);
121
- }
122
- };
123
-
124
- this.latexBlock = function(session, row, column) {
125
- var keywords = {
126
- "\\begin": 1,
127
- "\\end": -1
128
- };
129
-
130
- var stream = new TokenIterator(session, row, column);
131
- var token = stream.getCurrentToken();
132
- if (!token || token.type !== "keyword")
133
- return;
134
-
135
- var val = token.value;
136
- var dir = keywords[val];
137
-
138
- var getType = function() {
139
- var token = stream.stepForward();
140
- var type = token.type == "lparen" ?stream.stepForward().value : "";
141
- if (dir === -1) {
142
- stream.stepBackward();
143
- if (type)
144
- stream.stepBackward();
145
- }
146
- return type;
147
- };
148
- var stack = [getType()];
149
- var startColumn = dir === -1 ? stream.getCurrentTokenColumn() : session.getLine(row).length;
150
- var startRow = row;
151
-
152
- stream.step = dir === -1 ? stream.stepBackward : stream.stepForward;
153
- while(token = stream.step()) {
154
- if (token.type !== "keyword")
155
- continue;
156
- var level = keywords[token.value];
157
- if (!level)
158
- continue;
159
- var type = getType();
160
- if (level === dir)
161
- stack.unshift(type);
162
- else if (stack.shift() !== type || !stack.length)
163
- break;
164
- }
165
-
166
- if (stack.length)
167
- return;
168
-
169
- var row = stream.getCurrentTokenRow();
170
- if (dir === -1)
171
- return new Range(row, session.getLine(row).length, startRow, startColumn);
172
- else
173
- return new Range(startRow, startColumn, row, stream.getCurrentTokenColumn());
174
- };
175
-
176
- this.latexSection = function(session, row, column) {
177
- var keywords = ["\\subsection", "\\section", "\\begin", "\\end"];
178
-
179
- var stream = new TokenIterator(session, row, column);
180
- var token = stream.getCurrentToken();
181
- if (!token || token.type != "keyword")
182
- return;
183
-
184
- var startLevel = keywords.indexOf(token.value);
185
- var stackDepth = 0
186
- var endRow = row;
187
-
188
- while(token = stream.stepForward()) {
189
- if (token.type !== "keyword")
190
- continue;
191
- var level = keywords.indexOf(token.value);
192
-
193
- if (level >= 2) {
194
- if (!stackDepth)
195
- endRow = stream.getCurrentTokenRow() - 1;
196
- stackDepth += level == 2 ? 1 : - 1;
197
- if (stackDepth < 0)
198
- break
199
- } else if (level >= startLevel)
200
- break;
201
- }
202
-
203
- if (!stackDepth)
204
- endRow = stream.getCurrentTokenRow() - 1;
205
-
206
- while (endRow > row && !/\S/.test(session.getLine(endRow)))
207
- endRow--;
208
-
209
- return new Range(
210
- row, session.getLine(row).length,
211
- endRow, session.getLine(endRow).length
212
- );
213
- };
214
-
215
- }).call(FoldMode.prototype);
216
-
217
- });
@@ -1,394 +0,0 @@
1
- /* ***** BEGIN LICENSE BLOCK *****
2
- * Distributed under the BSD license:
3
- *
4
- * Copyright (c) 2010, Ajax.org B.V.
5
- * All rights reserved.
6
- *
7
- * Redistribution and use in source and binary forms, with or without
8
- * modification, are permitted provided that the following conditions are met:
9
- * * Redistributions of source code must retain the above copyright
10
- * notice, this list of conditions and the following disclaimer.
11
- * * Redistributions in binary form must reproduce the above copyright
12
- * notice, this list of conditions and the following disclaimer in the
13
- * documentation and/or other materials provided with the distribution.
14
- * * Neither the name of Ajax.org B.V. nor the
15
- * names of its contributors may be used to endorse or promote products
16
- * derived from this software without specific prior written permission.
17
- *
18
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
- * DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
22
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
- *
29
- * ***** END LICENSE BLOCK ***** */
30
-
31
- define('ace/mode/less', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/less_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/folding/cstyle'], function(require, exports, module) {
32
-
33
-
34
- var oop = require("../lib/oop");
35
- var TextMode = require("./text").Mode;
36
- var Tokenizer = require("../tokenizer").Tokenizer;
37
- var LessHighlightRules = require("./less_highlight_rules").LessHighlightRules;
38
- var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
39
- var CStyleFoldMode = require("./folding/cstyle").FoldMode;
40
-
41
- var Mode = function() {
42
- this.$tokenizer = new Tokenizer(new LessHighlightRules().getRules(), "i");
43
- this.$outdent = new MatchingBraceOutdent();
44
- this.foldingRules = new CStyleFoldMode();
45
- };
46
- oop.inherits(Mode, TextMode);
47
-
48
- (function() {
49
-
50
- this.getNextLineIndent = function(state, line, tab) {
51
- var indent = this.$getIndent(line);
52
- var tokens = this.$tokenizer.getLineTokens(line, state).tokens;
53
- if (tokens.length && tokens[tokens.length-1].type == "comment") {
54
- return indent;
55
- }
56
-
57
- var match = line.match(/^.*\{\s*$/);
58
- if (match) {
59
- indent += tab;
60
- }
61
-
62
- return indent;
63
- };
64
-
65
- this.checkOutdent = function(state, line, input) {
66
- return this.$outdent.checkOutdent(line, input);
67
- };
68
-
69
- this.autoOutdent = function(state, doc, row) {
70
- this.$outdent.autoOutdent(doc, row);
71
- };
72
-
73
- }).call(Mode.prototype);
74
-
75
- exports.Mode = Mode;
76
-
77
- });
78
-
79
- define('ace/mode/less_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/lib/lang', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
80
-
81
-
82
- var oop = require("../lib/oop");
83
- var lang = require("../lib/lang");
84
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
85
-
86
- var LessHighlightRules = function() {
87
-
88
- var properties = lang.arrayToMap( (function () {
89
-
90
- var browserPrefix = ("-webkit-|-moz-|-o-|-ms-|-svg-|-pie-|-khtml-").split("|");
91
-
92
- var prefixProperties = ("appearance|background-clip|background-inline-policy|background-origin|" +
93
- "background-size|binding|border-bottom-colors|border-left-colors|" +
94
- "border-right-colors|border-top-colors|border-end|border-end-color|" +
95
- "border-end-style|border-end-width|border-image|border-start|" +
96
- "border-start-color|border-start-style|border-start-width|box-align|" +
97
- "box-direction|box-flex|box-flexgroup|box-ordinal-group|box-orient|" +
98
- "box-pack|box-sizing|column-count|column-gap|column-width|column-rule|" +
99
- "column-rule-width|column-rule-style|column-rule-color|float-edge|" +
100
- "font-feature-settings|font-language-override|force-broken-image-icon|" +
101
- "image-region|margin-end|margin-start|opacity|outline|outline-color|" +
102
- "outline-offset|outline-radius|outline-radius-bottomleft|" +
103
- "outline-radius-bottomright|outline-radius-topleft|outline-radius-topright|" +
104
- "outline-style|outline-width|padding-end|padding-start|stack-sizing|" +
105
- "tab-size|text-blink|text-decoration-color|text-decoration-line|" +
106
- "text-decoration-style|transform|transform-origin|transition|" +
107
- "transition-delay|transition-duration|transition-property|" +
108
- "transition-timing-function|user-focus|user-input|user-modify|user-select|" +
109
- "window-shadow|border-radius").split("|");
110
-
111
- var properties = ("azimuth|background-attachment|background-color|background-image|" +
112
- "background-position|background-repeat|background|border-bottom-color|" +
113
- "border-bottom-style|border-bottom-width|border-bottom|border-collapse|" +
114
- "border-color|border-left-color|border-left-style|border-left-width|" +
115
- "border-left|border-right-color|border-right-style|border-right-width|" +
116
- "border-right|border-spacing|border-style|border-top-color|" +
117
- "border-top-style|border-top-width|border-top|border-width|border|" +
118
- "bottom|box-sizing|caption-side|clear|clip|color|content|counter-increment|" +
119
- "counter-reset|cue-after|cue-before|cue|cursor|direction|display|" +
120
- "elevation|empty-cells|float|font-family|font-size-adjust|font-size|" +
121
- "font-stretch|font-style|font-variant|font-weight|font|height|left|" +
122
- "letter-spacing|line-height|list-style-image|list-style-position|" +
123
- "list-style-type|list-style|margin-bottom|margin-left|margin-right|" +
124
- "margin-top|marker-offset|margin|marks|max-height|max-width|min-height|" +
125
- "min-width|opacity|orphans|outline-color|" +
126
- "outline-style|outline-width|outline|overflow|overflow-x|overflow-y|padding-bottom|" +
127
- "padding-left|padding-right|padding-top|padding|page-break-after|" +
128
- "page-break-before|page-break-inside|page|pause-after|pause-before|" +
129
- "pause|pitch-range|pitch|play-during|position|quotes|richness|right|" +
130
- "size|speak-header|speak-numeral|speak-punctuation|speech-rate|speak|" +
131
- "stress|table-layout|text-align|text-decoration|text-indent|" +
132
- "text-shadow|text-transform|top|unicode-bidi|vertical-align|" +
133
- "visibility|voice-family|volume|white-space|widows|width|word-spacing|" +
134
- "z-index").split("|");
135
- var ret = [];
136
- for (var i=0, ln=browserPrefix.length; i<ln; i++) {
137
- Array.prototype.push.apply(
138
- ret,
139
- (( browserPrefix[i] + prefixProperties.join("|" + browserPrefix[i]) ).split("|"))
140
- );
141
- }
142
- Array.prototype.push.apply(ret, prefixProperties);
143
- Array.prototype.push.apply(ret, properties);
144
-
145
- return ret;
146
-
147
- })() );
148
-
149
-
150
-
151
- var functions = lang.arrayToMap(
152
- ("hsl|hsla|rgb|rgba|url|attr|counter|counters|lighten|darken|saturate|" +
153
- "desaturate|fadein|fadeout|fade|spin|mix|hue|saturation|lightness|" +
154
- "alpha|round|ceil|floor|percentage|color|iscolor|isnumber|isstring|" +
155
- "iskeyword|isurl|ispixel|ispercentage|isem").split("|")
156
- );
157
-
158
- var constants = lang.arrayToMap(
159
- ("absolute|all-scroll|always|armenian|auto|baseline|below|bidi-override|" +
160
- "block|bold|bolder|border-box|both|bottom|break-all|break-word|capitalize|center|" +
161
- "char|circle|cjk-ideographic|col-resize|collapse|content-box|crosshair|dashed|" +
162
- "decimal-leading-zero|decimal|default|disabled|disc|" +
163
- "distribute-all-lines|distribute-letter|distribute-space|" +
164
- "distribute|dotted|double|e-resize|ellipsis|fixed|georgian|groove|" +
165
- "hand|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|" +
166
- "ideograph-alpha|ideograph-numeric|ideograph-parenthesis|" +
167
- "ideograph-space|inactive|inherit|inline-block|inline|inset|inside|" +
168
- "inter-ideograph|inter-word|italic|justify|katakana-iroha|katakana|" +
169
- "keep-all|left|lighter|line-edge|line-through|line|list-item|loose|" +
170
- "lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|" +
171
- "medium|middle|move|n-resize|ne-resize|newspaper|no-drop|no-repeat|" +
172
- "nw-resize|none|normal|not-allowed|nowrap|oblique|outset|outside|" +
173
- "overline|pointer|progress|relative|repeat-x|repeat-y|repeat|right|" +
174
- "ridge|row-resize|rtl|s-resize|scroll|se-resize|separate|small-caps|" +
175
- "solid|square|static|strict|super|sw-resize|table-footer-group|" +
176
- "table-header-group|tb-rl|text-bottom|text-top|text|thick|thin|top|" +
177
- "transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|" +
178
- "vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|" +
179
- "zero").split("|")
180
- );
181
-
182
- var colors = lang.arrayToMap(
183
- ("aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|" +
184
- "purple|red|silver|teal|white|yellow").split("|")
185
- );
186
-
187
- var keywords = lang.arrayToMap(
188
- ("@mixin|@extend|@include|@import|@media|@debug|@warn|@if|@for|@each|" +
189
- "@while|@else|@font-face|@-webkit-keyframes|if|and|!default|module|" +
190
- "def|end|declare|when|not|and").split("|")
191
- );
192
-
193
- var tags = lang.arrayToMap(
194
- ("a|abbr|acronym|address|applet|area|article|aside|audio|b|base|basefont|bdo|" +
195
- "big|blockquote|body|br|button|canvas|caption|center|cite|code|col|colgroup|" +
196
- "command|datalist|dd|del|details|dfn|dir|div|dl|dt|em|embed|fieldset|" +
197
- "figcaption|figure|font|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|" +
198
- "header|hgroup|hr|html|i|iframe|img|input|ins|keygen|kbd|label|legend|li|" +
199
- "link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|" +
200
- "option|output|p|param|pre|progress|q|rp|rt|ruby|s|samp|script|section|select|" +
201
- "small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|" +
202
- "textarea|tfoot|th|thead|time|title|tr|tt|u|ul|var|video|wbr|xmp").split("|")
203
- );
204
-
205
- var numRe = "\\-?(?:(?:[0-9]+)|(?:[0-9]*\\.[0-9]+))";
206
-
207
- this.$rules = {
208
- "start" : [
209
- {
210
- token : "comment",
211
- regex : "\\/\\/.*$"
212
- },
213
- {
214
- token : "comment", // multi line comment
215
- regex : "\\/\\*",
216
- next : "comment"
217
- }, {
218
- token : "string", // single line
219
- regex : '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'
220
- }, {
221
- token : "string", // single line
222
- regex : "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"
223
- }, {
224
- token : "constant.numeric",
225
- regex : numRe + "(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)"
226
- }, {
227
- token : "constant.numeric", // hex6 color
228
- regex : "#[a-f0-9]{6}"
229
- }, {
230
- token : "constant.numeric", // hex3 color
231
- regex : "#[a-f0-9]{3}"
232
- }, {
233
- token : "constant.numeric",
234
- regex : numRe
235
- }, {
236
- token : function(value) {
237
- if (keywords.hasOwnProperty(value))
238
- return "keyword";
239
- else
240
- return "variable";
241
- },
242
- regex : "@[a-z0-9_\\-@]*\\b"
243
- }, {
244
- token : function(value) {
245
- if (properties.hasOwnProperty(value.toLowerCase()))
246
- return "support.type";
247
- else if (keywords.hasOwnProperty(value))
248
- return "keyword";
249
- else if (constants.hasOwnProperty(value))
250
- return "constant.language";
251
- else if (functions.hasOwnProperty(value))
252
- return "support.function";
253
- else if (colors.hasOwnProperty(value.toLowerCase()))
254
- return "support.constant.color";
255
- else if (tags.hasOwnProperty(value.toLowerCase()))
256
- return "variable.language";
257
- else
258
- return "text";
259
- },
260
- regex : "\\-?[@a-z_][@a-z0-9_\\-]*"
261
- }, {
262
- token: "variable.language",
263
- regex: "#[a-z0-9-_]+"
264
- }, {
265
- token: "variable.language",
266
- regex: "\\.[a-z0-9-_]+"
267
- }, {
268
- token: "variable.language",
269
- regex: ":[a-z0-9-_]+"
270
- }, {
271
- token: "constant",
272
- regex: "[a-z0-9-_]+"
273
- }, {
274
- token : "keyword.operator",
275
- regex : "<|>|<=|>=|==|!=|-|%|#|\\+|\\$|\\+|\\*"
276
- }, {
277
- token : "paren.lparen",
278
- regex : "[[({]"
279
- }, {
280
- token : "paren.rparen",
281
- regex : "[\\])}]"
282
- }, {
283
- token : "text",
284
- regex : "\\s+"
285
- }
286
- ],
287
- "comment" : [
288
- {
289
- token : "comment", // closing comment
290
- regex : ".*?\\*\\/",
291
- next : "start"
292
- }, {
293
- token : "comment", // comment spanning whole line
294
- regex : ".+"
295
- }
296
- ]
297
- };
298
- };
299
-
300
- oop.inherits(LessHighlightRules, TextHighlightRules);
301
-
302
- exports.LessHighlightRules = LessHighlightRules;
303
-
304
- });
305
-
306
- define('ace/mode/matching_brace_outdent', ['require', 'exports', 'module' , 'ace/range'], function(require, exports, module) {
307
-
308
-
309
- var Range = require("../range").Range;
310
-
311
- var MatchingBraceOutdent = function() {};
312
-
313
- (function() {
314
-
315
- this.checkOutdent = function(line, input) {
316
- if (! /^\s+$/.test(line))
317
- return false;
318
-
319
- return /^\s*\}/.test(input);
320
- };
321
-
322
- this.autoOutdent = function(doc, row) {
323
- var line = doc.getLine(row);
324
- var match = line.match(/^(\s*\})/);
325
-
326
- if (!match) return 0;
327
-
328
- var column = match[1].length;
329
- var openBracePos = doc.findMatchingBracket({row: row, column: column});
330
-
331
- if (!openBracePos || openBracePos.row == row) return 0;
332
-
333
- var indent = this.$getIndent(doc.getLine(openBracePos.row));
334
- doc.replace(new Range(row, 0, row, column-1), indent);
335
- };
336
-
337
- this.$getIndent = function(line) {
338
- var match = line.match(/^(\s+)/);
339
- if (match) {
340
- return match[1];
341
- }
342
-
343
- return "";
344
- };
345
-
346
- }).call(MatchingBraceOutdent.prototype);
347
-
348
- exports.MatchingBraceOutdent = MatchingBraceOutdent;
349
- });
350
-
351
- define('ace/mode/folding/cstyle', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/range', 'ace/mode/folding/fold_mode'], function(require, exports, module) {
352
-
353
-
354
- var oop = require("../../lib/oop");
355
- var Range = require("../../range").Range;
356
- var BaseFoldMode = require("./fold_mode").FoldMode;
357
-
358
- var FoldMode = exports.FoldMode = function() {};
359
- oop.inherits(FoldMode, BaseFoldMode);
360
-
361
- (function() {
362
-
363
- this.foldingStartMarker = /(\{|\[)[^\}\]]*$|^\s*(\/\*)/;
364
- this.foldingStopMarker = /^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/;
365
-
366
- this.getFoldWidgetRange = function(session, foldStyle, row) {
367
- var line = session.getLine(row);
368
- var match = line.match(this.foldingStartMarker);
369
- if (match) {
370
- var i = match.index;
371
-
372
- if (match[1])
373
- return this.openingBracketBlock(session, match[1], row, i);
374
-
375
- return session.getCommentFoldRange(row, i + match[0].length, 1);
376
- }
377
-
378
- if (foldStyle !== "markbeginend")
379
- return;
380
-
381
- var match = line.match(this.foldingStopMarker);
382
- if (match) {
383
- var i = match.index + match[0].length;
384
-
385
- if (match[1])
386
- return this.closingBracketBlock(session, match[1], row, i);
387
-
388
- return session.getCommentFoldRange(row, i, -1);
389
- }
390
- };
391
-
392
- }).call(FoldMode.prototype);
393
-
394
- });