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,145 +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/sql', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/sql_highlight_rules', 'ace/range'], 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 SqlHighlightRules = require("./sql_highlight_rules").SqlHighlightRules;
38
- var Range = require("../range").Range;
39
-
40
- var Mode = function() {
41
- this.$tokenizer = new Tokenizer(new SqlHighlightRules().getRules());
42
- };
43
- oop.inherits(Mode, TextMode);
44
-
45
- (function() {
46
-
47
- this.toggleCommentLines = function(state, doc, startRow, endRow) {
48
- var outdent = true;
49
- var outentedRows = [];
50
- var re = /^(\s*)--/;
51
-
52
- for (var i=startRow; i<= endRow; i++) {
53
- if (!re.test(doc.getLine(i))) {
54
- outdent = false;
55
- break;
56
- }
57
- }
58
-
59
- if (outdent) {
60
- var deleteRange = new Range(0, 0, 0, 0);
61
- for (var i=startRow; i<= endRow; i++)
62
- {
63
- var line = doc.getLine(i);
64
- var m = line.match(re);
65
- deleteRange.start.row = i;
66
- deleteRange.end.row = i;
67
- deleteRange.end.column = m[0].length;
68
- doc.replace(deleteRange, m[1]);
69
- }
70
- }
71
- else {
72
- doc.indentRows(startRow, endRow, "--");
73
- }
74
- };
75
-
76
- }).call(Mode.prototype);
77
-
78
- exports.Mode = Mode;
79
-
80
- });
81
-
82
- define('ace/mode/sql_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
83
-
84
-
85
- var oop = require("../lib/oop");
86
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
87
-
88
- var SqlHighlightRules = function() {
89
-
90
- var keywords = (
91
- "select|insert|update|delete|from|where|and|or|group|by|order|limit|offset|having|as|case|" +
92
- "when|else|end|type|left|right|join|on|outer|desc|asc"
93
- );
94
-
95
- var builtinConstants = (
96
- "true|false|null"
97
- );
98
-
99
- var builtinFunctions = (
100
- "count|min|max|avg|sum|rank|now|coalesce"
101
- );
102
-
103
- var keywordMapper = this.createKeywordMapper({
104
- "support.function": builtinFunctions,
105
- "keyword": keywords,
106
- "constant.language": builtinConstants
107
- }, "identifier", true);
108
-
109
- this.$rules = {
110
- "start" : [ {
111
- token : "comment",
112
- regex : "--.*$"
113
- }, {
114
- token : "string", // " string
115
- regex : '".*?"'
116
- }, {
117
- token : "string", // ' string
118
- regex : "'.*?'"
119
- }, {
120
- token : "constant.numeric", // float
121
- regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
122
- }, {
123
- token : keywordMapper,
124
- regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
125
- }, {
126
- token : "keyword.operator",
127
- regex : "\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="
128
- }, {
129
- token : "paren.lparen",
130
- regex : "[\\(]"
131
- }, {
132
- token : "paren.rparen",
133
- regex : "[\\)]"
134
- }, {
135
- token : "text",
136
- regex : "\\s+"
137
- } ]
138
- };
139
- };
140
-
141
- oop.inherits(SqlHighlightRules, TextHighlightRules);
142
-
143
- exports.SqlHighlightRules = SqlHighlightRules;
144
- });
145
-
@@ -1,474 +0,0 @@
1
- /* ***** BEGIN LICENSE BLOCK *****
2
- * Distributed under the BSD license:
3
- *
4
- * Copyright (c) 2012, 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
- *
30
- * Contributor(s):
31
- *
32
- *
33
- *
34
- * ***** END LICENSE BLOCK ***** */
35
-
36
- define('ace/mode/stylus', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/stylus_highlight_rules', 'ace/mode/folding/coffee'], function(require, exports, module) {
37
-
38
-
39
- var oop = require("../lib/oop");
40
- var TextMode = require("./text").Mode;
41
- var Tokenizer = require("../tokenizer").Tokenizer;
42
- var StylusHighlightRules = require("./stylus_highlight_rules").StylusHighlightRules;
43
- var FoldMode = require("./folding/coffee").FoldMode;
44
-
45
- var Mode = function() {
46
- var highlighter = new StylusHighlightRules();
47
- this.foldingRules = new FoldMode();
48
-
49
- this.$tokenizer = new Tokenizer(highlighter.getRules());
50
- };
51
- oop.inherits(Mode, TextMode);
52
-
53
- (function() {
54
- }).call(Mode.prototype);
55
-
56
- exports.Mode = Mode;
57
- });
58
-
59
- define('ace/mode/stylus_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text_highlight_rules', 'ace/mode/css_highlight_rules'], function(require, exports, module) {
60
-
61
-
62
- var oop = require("../lib/oop");
63
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
64
- var CssHighlightRules = require("./css_highlight_rules");
65
-
66
- var StylusHighlightRules = function() {
67
-
68
- var keywordMapper = this.createKeywordMapper({
69
- "support.type": CssHighlightRules.supportType,
70
- "support.function": CssHighlightRules.supportFunction,
71
- "support.constant": CssHighlightRules.supportConstant,
72
- "support.constant.color": CssHighlightRules.supportConstantColor,
73
- "support.constant.fonts": CssHighlightRules.supportConstantFonts
74
- }, "text", true);
75
-
76
- this.$rules = {
77
- "start": [
78
- {
79
- token : "comment",
80
- regex : /\/\/.*$/
81
- },
82
- {
83
- token : "comment", // multi line comment
84
- regex : /\/\*/,
85
- next : "comment"
86
- },
87
- {
88
- "token": ["entity.name.function.stylus", "text"],
89
- "regex": "^([-a-zA-Z_][-\\w]*)?(\\()"
90
- },
91
- {
92
- "token": ["entity.other.attribute-name.class.stylus"],
93
- "regex": "\\.-?[_a-zA-Z]+[_a-zA-Z0-9-]*"
94
- },
95
- {
96
- "token": ["entity.language.stylus"],
97
- "regex": "^ *&"
98
- },
99
- {
100
- "token": ["variable.language.stylus"],
101
- "regex": "(arguments)"
102
- },
103
- {
104
- "token": ["keyword.stylus"],
105
- "regex": "@[-\\w]+"
106
- },
107
- {
108
- token : ["punctuation", "entity.other.attribute-name.pseudo-element.css"],
109
- regex : CssHighlightRules.pseudoElements
110
- }, {
111
- token : ["punctuation", "entity.other.attribute-name.pseudo-class.css"],
112
- regex : CssHighlightRules.pseudoClasses
113
- },
114
- {
115
- "token": ["entity.name.tag.stylus"],
116
- "regex": "(?:\\b)(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|(?:h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|samp|script|section|select|small|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)(?:\\b)"
117
- },
118
- {
119
- token : "constant.numeric", // hex6 color
120
- regex : "#[a-f0-9]{6}"
121
- },
122
- {
123
- token : "constant.numeric", // hex3 color
124
- regex : "#[a-f0-9]{3}"
125
- },
126
- {
127
- "token": ["punctuation.definition.entity.stylus", "entity.other.attribute-name.id.stylus"],
128
- "regex": "(#)([a-zA-Z][a-zA-Z0-9_-]*)"
129
- },
130
- {
131
- "token": "meta.vendor-prefix.stylus",
132
- "regex": "-webkit-|-moz\\-|-ms-|-o-"
133
- },
134
- {
135
- "token": "keyword.control.stylus",
136
- "regex": "(?:!important|for|in|return|true|false|null|if|else|unless|return)\\b"
137
- },
138
- {
139
- "token": "keyword.operator.stylus",
140
- "regex": "!|~|\\+|-|(?:\\*)?\\*|\\/|%|(?:\\.)\\.\\.|<|>|(?:=|:|\\?|\\+|-|\\*|\\/|%|<|>)?=|!="
141
- },
142
- {
143
- "token": "keyword.operator.stylus",
144
- "regex": "(?:in|is(?:nt)?|not)\\b"
145
- },
146
- {
147
- token : "string",
148
- regex : "'(?=.)",
149
- next : "qstring"
150
- }, {
151
- token : "string",
152
- regex : '"(?=.)',
153
- next : "qqstring"
154
- },
155
- {
156
- token : "constant.numeric",
157
- regex : CssHighlightRules.numRe
158
- },
159
- {
160
- token : "keyword",
161
- regex : "(?:ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vm|vw|%)\\b"
162
- },
163
- {
164
- token : keywordMapper,
165
- regex : "\\-?[a-zA-Z_][a-zA-Z0-9_\\-]*"
166
- }
167
- ],
168
- "comment" : [
169
- {
170
- token : "comment", // closing comment
171
- regex : ".*?\\*\\/",
172
- next : "start"
173
- }, {
174
- token : "comment", // comment spanning whole line
175
- regex : ".+"
176
- }
177
- ],
178
- "qqstring" : [
179
- {
180
- token : "string",
181
- regex : '[^"\\\\]+'
182
- },
183
- {
184
- token : "string",
185
- regex : "\\\\$",
186
- next : "qqstring"
187
- },
188
- {
189
- token : "string",
190
- regex : '"|$',
191
- next : "start"
192
- }
193
- ],
194
- "qstring" : [
195
- {
196
- token : "string",
197
- regex : "[^'\\\\]+"
198
- },
199
- {
200
- token : "string",
201
- regex : "\\\\$",
202
- next : "qstring"
203
- },
204
- {
205
- token : "string",
206
- regex : "'|$",
207
- next : "start"
208
- }
209
- ]
210
- }
211
-
212
- };
213
-
214
- oop.inherits(StylusHighlightRules, TextHighlightRules);
215
-
216
- exports.StylusHighlightRules = StylusHighlightRules;
217
- });
218
-
219
- define('ace/mode/css_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/lib/lang', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
220
-
221
-
222
- var oop = require("../lib/oop");
223
- var lang = require("../lib/lang");
224
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
225
- var supportType = exports.supportType = "animation-fill-mode|alignment-adjust|alignment-baseline|animation-delay|animation-direction|animation-duration|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|animation|appearance|azimuth|backface-visibility|background-attachment|background-break|background-clip|background-color|background-image|background-origin|background-position|background-repeat|background-size|background|baseline-shift|binding|bleed|bookmark-label|bookmark-level|bookmark-state|bookmark-target|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|border|bottom|box-align|box-decoration-break|box-direction|box-flex-group|box-flex|box-lines|box-ordinal-group|box-orient|box-pack|box-shadow|box-sizing|break-after|break-before|break-inside|caption-side|clear|clip|color-profile|color|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|content|counter-increment|counter-reset|crop|cue-after|cue-before|cue|cursor|direction|display|dominant-baseline|drop-initial-after-adjust|drop-initial-after-align|drop-initial-before-adjust|drop-initial-before-align|drop-initial-size|drop-initial-value|elevation|empty-cells|fit|fit-position|float-offset|float|font-family|font-size|font-size-adjust|font-stretch|font-style|font-variant|font-weight|font|grid-columns|grid-rows|hanging-punctuation|height|hyphenate-after|hyphenate-before|hyphenate-character|hyphenate-lines|hyphenate-resource|hyphens|icon|image-orientation|image-rendering|image-resolution|inline-box-align|left|letter-spacing|line-height|line-stacking-ruby|line-stacking-shift|line-stacking-strategy|line-stacking|list-style-image|list-style-position|list-style-type|list-style|margin-bottom|margin-left|margin-right|margin-top|margin|mark-after|mark-before|mark|marks|marquee-direction|marquee-play-count|marquee-speed|marquee-style|max-height|max-width|min-height|min-width|move-to|nav-down|nav-index|nav-left|nav-right|nav-up|opacity|orphans|outline-color|outline-offset|outline-style|outline-width|outline|overflow-style|overflow-x|overflow-y|overflow|padding-bottom|padding-left|padding-right|padding-top|padding|page-break-after|page-break-before|page-break-inside|page-policy|page|pause-after|pause-before|pause|perspective-origin|perspective|phonemes|pitch-range|pitch|play-during|position|presentation-level|punctuation-trim|quotes|rendering-intent|resize|rest-after|rest-before|rest|richness|right|rotation-point|rotation|ruby-align|ruby-overhang|ruby-position|ruby-span|size|speak-header|speak-numeral|speak-punctuation|speak|speech-rate|stress|string-set|table-layout|target-name|target-new|target-position|target|text-align-last|text-align|text-decoration|text-emphasis|text-height|text-indent|text-justify|text-outline|text-shadow|text-transform|text-wrap|top|transform-origin|transform-style|transform|transition-delay|transition-duration|transition-property|transition-timing-function|transition|unicode-bidi|vertical-align|visibility|voice-balance|voice-duration|voice-family|voice-pitch-range|voice-pitch|voice-rate|voice-stress|voice-volume|volume|white-space-collapse|white-space|widows|width|word-break|word-spacing|word-wrap|z-index";
226
- var supportFunction = exports.supportFunction = "rgb|rgba|url|attr|counter|counters";
227
- var supportConstant = exports.supportConstant = "absolute|after-edge|after|all-scroll|all|alphabetic|always|antialiased|armenian|auto|avoid-column|avoid-page|avoid|balance|baseline|before-edge|before|below|bidi-override|block-line-height|block|bold|bolder|border-box|both|bottom|box|break-all|break-word|capitalize|caps-height|caption|center|central|char|circle|cjk-ideographic|clone|close-quote|col-resize|collapse|column|consider-shifts|contain|content-box|cover|crosshair|cubic-bezier|dashed|decimal-leading-zero|decimal|default|disabled|disc|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ease-in|ease-in-out|ease-out|ease|ellipsis|end|exclude-ruby|fill|fixed|georgian|glyphs|grid-height|groove|hand|hanging|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|include-ruby|inherit|initial|inline-block|inline-box|inline-line-height|inline-table|inline|inset|inside|inter-ideograph|inter-word|invert|italic|justify|katakana-iroha|katakana|keep-all|last|left|lighter|line-edge|line-through|line|linear|list-item|local|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|mathematical|max-height|max-size|medium|menu|message-box|middle|move|n-resize|ne-resize|newspaper|no-change|no-close-quote|no-drop|no-open-quote|no-repeat|none|normal|not-allowed|nowrap|nw-resize|oblique|open-quote|outset|outside|overline|padding-box|page|pointer|pre-line|pre-wrap|pre|preserve-3d|progress|relative|repeat-x|repeat-y|repeat|replaced|reset-size|ridge|right|round|row-resize|rtl|s-resize|scroll|se-resize|separate|slice|small-caps|small-caption|solid|space|square|start|static|status-bar|step-end|step-start|steps|stretch|strict|sub|super|sw-resize|table-caption|table-cell|table-column-group|table-column|table-footer-group|table-header-group|table-row-group|table-row|table|tb-rl|text-after-edge|text-before-edge|text-bottom|text-size|text-top|text|thick|thin|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|use-script|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|z-index|zero";
228
- var supportConstantColor = exports.supportConstantColor = "aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow";
229
- var supportConstantFonts = exports.supportConstantFonts = "arial|century|comic|courier|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace";
230
-
231
- var numRe = exports.numRe = "\\-?(?:(?:[0-9]+)|(?:[0-9]*\\.[0-9]+))";
232
- var pseudoElements = exports.pseudoElements = "(\\:+)\\b(after|before|first-letter|first-line|moz-selection|selection)\\b";
233
- var pseudoClasses = exports.pseudoClasses = "(:)\\b(active|checked|disabled|empty|enabled|first-child|first-of-type|focus|hover|indeterminate|invalid|last-child|last-of-type|link|not|nth-child|nth-last-child|nth-last-of-type|nth-of-type|only-child|only-of-type|required|root|target|valid|visited)\\b";
234
-
235
- var CssHighlightRules = function() {
236
-
237
- var keywordMapper = this.createKeywordMapper({
238
- "support.function": supportFunction,
239
- "support.constant": supportConstant,
240
- "support.type": supportType,
241
- "support.constant.color": supportConstantColor,
242
- "support.constant.fonts": supportConstantFonts
243
- }, "text", true);
244
-
245
- var base_ruleset = [
246
- {
247
- token : "comment", // multi line comment
248
- regex : "\\/\\*",
249
- next : "ruleset_comment"
250
- }, {
251
- token : "string", // single line
252
- regex : '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'
253
- }, {
254
- token : "string", // single line
255
- regex : "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"
256
- }, {
257
- token : ["constant.numeric", "keyword"],
258
- regex : "(" + numRe + ")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vm|vw|%)"
259
- }, {
260
- token : "constant.numeric",
261
- regex : numRe
262
- }, {
263
- token : "constant.numeric", // hex6 color
264
- regex : "#[a-f0-9]{6}"
265
- }, {
266
- token : "constant.numeric", // hex3 color
267
- regex : "#[a-f0-9]{3}"
268
- }, {
269
- token : ["punctuation", "entity.other.attribute-name.pseudo-element.css"],
270
- regex : pseudoElements
271
- }, {
272
- token : ["punctuation", "entity.other.attribute-name.pseudo-class.css"],
273
- regex : pseudoClasses
274
- }, {
275
- token : keywordMapper,
276
- regex : "\\-?[a-zA-Z_][a-zA-Z0-9_\\-]*"
277
- }
278
- ];
279
-
280
- var ruleset = lang.copyArray(base_ruleset);
281
- ruleset.unshift({
282
- token : "paren.rparen",
283
- regex : "\\}",
284
- next: "start"
285
- });
286
-
287
- var media_ruleset = lang.copyArray( base_ruleset );
288
- media_ruleset.unshift({
289
- token : "paren.rparen",
290
- regex : "\\}",
291
- next: "media"
292
- });
293
-
294
- var base_comment = [{
295
- token : "comment", // comment spanning whole line
296
- regex : ".+"
297
- }];
298
-
299
- var comment = lang.copyArray(base_comment);
300
- comment.unshift({
301
- token : "comment", // closing comment
302
- regex : ".*?\\*\\/",
303
- next : "start"
304
- });
305
-
306
- var media_comment = lang.copyArray(base_comment);
307
- media_comment.unshift({
308
- token : "comment", // closing comment
309
- regex : ".*?\\*\\/",
310
- next : "media"
311
- });
312
-
313
- var ruleset_comment = lang.copyArray(base_comment);
314
- ruleset_comment.unshift({
315
- token : "comment", // closing comment
316
- regex : ".*?\\*\\/",
317
- next : "ruleset"
318
- });
319
-
320
- this.$rules = {
321
- "start" : [{
322
- token : "comment", // multi line comment
323
- regex : "\\/\\*",
324
- next : "comment"
325
- }, {
326
- token: "paren.lparen",
327
- regex: "\\{",
328
- next: "ruleset"
329
- }, {
330
- token: "string",
331
- regex: "@.*?{",
332
- next: "media"
333
- },{
334
- token: "keyword",
335
- regex: "#[a-z0-9-_]+"
336
- },{
337
- token: "variable",
338
- regex: "\\.[a-z0-9-_]+"
339
- },{
340
- token: "string",
341
- regex: ":[a-z0-9-_]+"
342
- },{
343
- token: "constant",
344
- regex: "[a-z0-9-_]+"
345
- }],
346
-
347
- "media" : [ {
348
- token : "comment", // multi line comment
349
- regex : "\\/\\*",
350
- next : "media_comment"
351
- }, {
352
- token: "paren.lparen",
353
- regex: "\\{",
354
- next: "media_ruleset"
355
- },{
356
- token: "string",
357
- regex: "\\}",
358
- next: "start"
359
- },{
360
- token: "keyword",
361
- regex: "#[a-z0-9-_]+"
362
- },{
363
- token: "variable",
364
- regex: "\\.[a-z0-9-_]+"
365
- },{
366
- token: "string",
367
- regex: ":[a-z0-9-_]+"
368
- },{
369
- token: "constant",
370
- regex: "[a-z0-9-_]+"
371
- }],
372
-
373
- "comment" : comment,
374
-
375
- "ruleset" : ruleset,
376
- "ruleset_comment" : ruleset_comment,
377
-
378
- "media_ruleset" : media_ruleset,
379
- "media_comment" : media_comment
380
- };
381
- };
382
-
383
- oop.inherits(CssHighlightRules, TextHighlightRules);
384
-
385
- exports.CssHighlightRules = CssHighlightRules;
386
-
387
- });
388
-
389
- define('ace/mode/folding/coffee', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/folding/fold_mode', 'ace/range'], function(require, exports, module) {
390
-
391
-
392
- var oop = require("../../lib/oop");
393
- var BaseFoldMode = require("./fold_mode").FoldMode;
394
- var Range = require("../../range").Range;
395
-
396
- var FoldMode = exports.FoldMode = function() {};
397
- oop.inherits(FoldMode, BaseFoldMode);
398
-
399
- (function() {
400
-
401
- this.getFoldWidgetRange = function(session, foldStyle, row) {
402
- var range = this.indentationBlock(session, row);
403
- if (range)
404
- return range;
405
-
406
- var re = /\S/;
407
- var line = session.getLine(row);
408
- var startLevel = line.search(re);
409
- if (startLevel == -1 || line[startLevel] != "#")
410
- return;
411
-
412
- var startColumn = line.length;
413
- var maxRow = session.getLength();
414
- var startRow = row;
415
- var endRow = row;
416
-
417
- while (++row < maxRow) {
418
- line = session.getLine(row);
419
- var level = line.search(re);
420
-
421
- if (level == -1)
422
- continue;
423
-
424
- if (line[level] != "#")
425
- break;
426
-
427
- endRow = row;
428
- }
429
-
430
- if (endRow > startRow) {
431
- var endColumn = session.getLine(endRow).length;
432
- return new Range(startRow, startColumn, endRow, endColumn);
433
- }
434
- };
435
- this.getFoldWidget = function(session, foldStyle, row) {
436
- var line = session.getLine(row);
437
- var indent = line.search(/\S/);
438
- var next = session.getLine(row + 1);
439
- var prev = session.getLine(row - 1);
440
- var prevIndent = prev.search(/\S/);
441
- var nextIndent = next.search(/\S/);
442
-
443
- if (indent == -1) {
444
- session.foldWidgets[row - 1] = prevIndent!= -1 && prevIndent < nextIndent ? "start" : "";
445
- return "";
446
- }
447
- if (prevIndent == -1) {
448
- if (indent == nextIndent && line[indent] == "#" && next[indent] == "#") {
449
- session.foldWidgets[row - 1] = "";
450
- session.foldWidgets[row + 1] = "";
451
- return "start";
452
- }
453
- } else if (prevIndent == indent && line[indent] == "#" && prev[indent] == "#") {
454
- if (session.getLine(row - 2).search(/\S/) == -1) {
455
- session.foldWidgets[row - 1] = "start";
456
- session.foldWidgets[row + 1] = "";
457
- return "";
458
- }
459
- }
460
-
461
- if (prevIndent!= -1 && prevIndent < indent)
462
- session.foldWidgets[row - 1] = "start";
463
- else
464
- session.foldWidgets[row - 1] = "";
465
-
466
- if (indent < nextIndent)
467
- return "start";
468
- else
469
- return "";
470
- };
471
-
472
- }).call(FoldMode.prototype);
473
-
474
- });