bedrock_sass 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (534) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -5
  3. data/assets/_vendor/ace/ace.js +21635 -0
  4. data/assets/_vendor/ace/ext-beautify.js +318 -0
  5. data/assets/_vendor/ace/ext-elastic_tabstops_lite.js +277 -0
  6. data/assets/_vendor/ace/ext-emmet.js +1226 -0
  7. data/assets/_vendor/ace/ext-error_marker.js +10 -0
  8. data/assets/_vendor/ace/ext-keybinding_menu.js +189 -0
  9. data/assets/_vendor/ace/ext-language_tools.js +1997 -0
  10. data/assets/_vendor/ace/ext-linking.js +65 -0
  11. data/assets/_vendor/ace/ext-modelist.js +228 -0
  12. data/assets/_vendor/ace/ext-options.js +750 -0
  13. data/assets/_vendor/ace/ext-rtl.js +110 -0
  14. data/assets/_vendor/ace/ext-searchbox.js +512 -0
  15. data/assets/_vendor/ace/ext-settings_menu.js +771 -0
  16. data/assets/_vendor/ace/ext-spellcheck.js +75 -0
  17. data/assets/_vendor/ace/ext-split.js +208 -0
  18. data/assets/_vendor/ace/ext-static_highlight.js +226 -0
  19. data/assets/_vendor/ace/ext-statusbar.js +57 -0
  20. data/assets/_vendor/ace/ext-textarea.js +567 -0
  21. data/assets/_vendor/ace/ext-themelist.js +67 -0
  22. data/assets/_vendor/ace/ext-whitespace.js +210 -0
  23. data/assets/_vendor/ace/keybinding-emacs.js +1165 -0
  24. data/assets/_vendor/ace/keybinding-vim.js +5673 -0
  25. data/assets/_vendor/ace/mode-abap.js +222 -0
  26. data/assets/_vendor/ace/mode-abc.js +267 -0
  27. data/assets/_vendor/ace/mode-actionscript.js +274 -0
  28. data/assets/_vendor/ace/mode-ada.js +138 -0
  29. data/assets/_vendor/ace/mode-apache_conf.js +363 -0
  30. data/assets/_vendor/ace/mode-applescript.js +279 -0
  31. data/assets/_vendor/ace/mode-asciidoc.js +349 -0
  32. data/assets/_vendor/ace/mode-asl.js +422 -0
  33. data/assets/_vendor/ace/mode-assembly_x86.js +193 -0
  34. data/assets/_vendor/ace/mode-autohotkey.js +243 -0
  35. data/assets/_vendor/ace/mode-batchfile.js +230 -0
  36. data/assets/_vendor/ace/mode-bro.js +334 -0
  37. data/assets/_vendor/ace/mode-c9search.js +294 -0
  38. data/assets/_vendor/ace/mode-c_cpp.js +502 -0
  39. data/assets/_vendor/ace/mode-cirru.js +211 -0
  40. data/assets/_vendor/ace/mode-clojure.js +314 -0
  41. data/assets/_vendor/ace/mode-cobol.js +102 -0
  42. data/assets/_vendor/ace/mode-coffee.js +400 -0
  43. data/assets/_vendor/ace/mode-coldfusion.js +2596 -0
  44. data/assets/_vendor/ace/mode-csharp.js +502 -0
  45. data/assets/_vendor/ace/mode-csound_document.js +3749 -0
  46. data/assets/_vendor/ace/mode-csound_orchestra.js +2687 -0
  47. data/assets/_vendor/ace/mode-csound_score.js +454 -0
  48. data/assets/_vendor/ace/mode-csp.js +60 -0
  49. data/assets/_vendor/ace/mode-css.js +723 -0
  50. data/assets/_vendor/ace/mode-curly.js +2564 -0
  51. data/assets/_vendor/ace/mode-d.js +520 -0
  52. data/assets/_vendor/ace/mode-dart.js +703 -0
  53. data/assets/_vendor/ace/mode-diff.js +146 -0
  54. data/assets/_vendor/ace/mode-django.js +2594 -0
  55. data/assets/_vendor/ace/mode-dockerfile.js +498 -0
  56. data/assets/_vendor/ace/mode-dot.js +418 -0
  57. data/assets/_vendor/ace/mode-drools.js +496 -0
  58. data/assets/_vendor/ace/mode-edifact.js +165 -0
  59. data/assets/_vendor/ace/mode-eiffel.js +136 -0
  60. data/assets/_vendor/ace/mode-ejs.js +3026 -0
  61. data/assets/_vendor/ace/mode-elixir.js +501 -0
  62. data/assets/_vendor/ace/mode-elm.js +307 -0
  63. data/assets/_vendor/ace/mode-erlang.js +1009 -0
  64. data/assets/_vendor/ace/mode-forth.js +297 -0
  65. data/assets/_vendor/ace/mode-fortran.js +431 -0
  66. data/assets/_vendor/ace/mode-fsharp.js +314 -0
  67. data/assets/_vendor/ace/mode-ftl.js +1192 -0
  68. data/assets/_vendor/ace/mode-gcode.js +94 -0
  69. data/assets/_vendor/ace/mode-gherkin.js +172 -0
  70. data/assets/_vendor/ace/mode-gitignore.js +60 -0
  71. data/assets/_vendor/ace/mode-glsl.js +579 -0
  72. data/assets/_vendor/ace/mode-gobstones.js +929 -0
  73. data/assets/_vendor/ace/mode-golang.js +414 -0
  74. data/assets/_vendor/ace/mode-graphqlschema.js +214 -0
  75. data/assets/_vendor/ace/mode-groovy.js +986 -0
  76. data/assets/_vendor/ace/mode-haml.js +1555 -0
  77. data/assets/_vendor/ace/mode-handlebars.js +2622 -0
  78. data/assets/_vendor/ace/mode-haskell.js +379 -0
  79. data/assets/_vendor/ace/mode-haskell_cabal.js +142 -0
  80. data/assets/_vendor/ace/mode-haxe.js +386 -0
  81. data/assets/_vendor/ace/mode-hjson.js +353 -0
  82. data/assets/_vendor/ace/mode-html.js +2509 -0
  83. data/assets/_vendor/ace/mode-html_elixir.js +3087 -0
  84. data/assets/_vendor/ace/mode-html_ruby.js +3043 -0
  85. data/assets/_vendor/ace/mode-ini.js +163 -0
  86. data/assets/_vendor/ace/mode-io.js +253 -0
  87. data/assets/_vendor/ace/mode-jack.js +347 -0
  88. data/assets/_vendor/ace/mode-jade.js +2126 -0
  89. data/assets/_vendor/ace/mode-java.js +975 -0
  90. data/assets/_vendor/ace/mode-javascript.js +797 -0
  91. data/assets/_vendor/ace/mode-json.js +327 -0
  92. data/assets/_vendor/ace/mode-jsoniq.js +4940 -0
  93. data/assets/_vendor/ace/mode-jsp.js +1430 -0
  94. data/assets/_vendor/ace/mode-jssm.js +325 -0
  95. data/assets/_vendor/ace/mode-jsx.js +412 -0
  96. data/assets/_vendor/ace/mode-julia.js +303 -0
  97. data/assets/_vendor/ace/mode-kotlin.js +795 -0
  98. data/assets/_vendor/ace/mode-latex.js +297 -0
  99. data/assets/_vendor/ace/mode-less.js +841 -0
  100. data/assets/_vendor/ace/mode-liquid.js +1193 -0
  101. data/assets/_vendor/ace/mode-lisp.js +112 -0
  102. data/assets/_vendor/ace/mode-livescript.js +280 -0
  103. data/assets/_vendor/ace/mode-logiql.js +317 -0
  104. data/assets/_vendor/ace/mode-lsl.js +343 -0
  105. data/assets/_vendor/ace/mode-lua.js +432 -0
  106. data/assets/_vendor/ace/mode-luapage.js +3007 -0
  107. data/assets/_vendor/ace/mode-lucene.js +87 -0
  108. data/assets/_vendor/ace/mode-makefile.js +410 -0
  109. data/assets/_vendor/ace/mode-markdown.js +3189 -0
  110. data/assets/_vendor/ace/mode-mask.js +1802 -0
  111. data/assets/_vendor/ace/mode-matlab.js +264 -0
  112. data/assets/_vendor/ace/mode-maze.js +291 -0
  113. data/assets/_vendor/ace/mode-mel.js +263 -0
  114. data/assets/_vendor/ace/mode-mixal.js +123 -0
  115. data/assets/_vendor/ace/mode-mushcode.js +681 -0
  116. data/assets/_vendor/ace/mode-mysql.js +168 -0
  117. data/assets/_vendor/ace/mode-nix.js +646 -0
  118. data/assets/_vendor/ace/mode-nsis.js +312 -0
  119. data/assets/_vendor/ace/mode-objectivec.js +739 -0
  120. data/assets/_vendor/ace/mode-ocaml.js +422 -0
  121. data/assets/_vendor/ace/mode-pascal.js +205 -0
  122. data/assets/_vendor/ace/mode-perl.js +380 -0
  123. data/assets/_vendor/ace/mode-pgsql.js +1508 -0
  124. data/assets/_vendor/ace/mode-php.js +13088 -0
  125. data/assets/_vendor/ace/mode-php_laravel_blade.js +13289 -0
  126. data/assets/_vendor/ace/mode-pig.js +310 -0
  127. data/assets/_vendor/ace/mode-plain_text.js +33 -0
  128. data/assets/_vendor/ace/mode-powershell.js +418 -0
  129. data/assets/_vendor/ace/mode-praat.js +478 -0
  130. data/assets/_vendor/ace/mode-prolog.js +371 -0
  131. data/assets/_vendor/ace/mode-properties.js +81 -0
  132. data/assets/_vendor/ace/mode-protobuf.js +592 -0
  133. data/assets/_vendor/ace/mode-puppet.js +370 -0
  134. data/assets/_vendor/ace/mode-python.js +273 -0
  135. data/assets/_vendor/ace/mode-r.js +310 -0
  136. data/assets/_vendor/ace/mode-razor.js +2869 -0
  137. data/assets/_vendor/ace/mode-rdoc.js +243 -0
  138. data/assets/_vendor/ace/mode-red.js +450 -0
  139. data/assets/_vendor/ace/mode-redshift.js +361 -0
  140. data/assets/_vendor/ace/mode-rhtml.js +2806 -0
  141. data/assets/_vendor/ace/mode-rst.js +257 -0
  142. data/assets/_vendor/ace/mode-ruby.js +497 -0
  143. data/assets/_vendor/ace/mode-rust.js +279 -0
  144. data/assets/_vendor/ace/mode-sass.js +441 -0
  145. data/assets/_vendor/ace/mode-scad.js +414 -0
  146. data/assets/_vendor/ace/mode-scala.js +982 -0
  147. data/assets/_vendor/ace/mode-scheme.js +232 -0
  148. data/assets/_vendor/ace/mode-scss.js +606 -0
  149. data/assets/_vendor/ace/mode-sh.js +447 -0
  150. data/assets/_vendor/ace/mode-sjs.js +1014 -0
  151. data/assets/_vendor/ace/mode-slim.js +4736 -0
  152. data/assets/_vendor/ace/mode-smarty.js +2635 -0
  153. data/assets/_vendor/ace/mode-snippets.js +207 -0
  154. data/assets/_vendor/ace/mode-soy_template.js +2847 -0
  155. data/assets/_vendor/ace/mode-space.js +168 -0
  156. data/assets/_vendor/ace/mode-sparql.js +320 -0
  157. data/assets/_vendor/ace/mode-sql.js +111 -0
  158. data/assets/_vendor/ace/mode-sqlserver.js +444 -0
  159. data/assets/_vendor/ace/mode-stylus.js +471 -0
  160. data/assets/_vendor/ace/mode-svg.js +1581 -0
  161. data/assets/_vendor/ace/mode-swift.js +390 -0
  162. data/assets/_vendor/ace/mode-tcl.js +383 -0
  163. data/assets/_vendor/ace/mode-terraform.js +398 -0
  164. data/assets/_vendor/ace/mode-tex.js +159 -0
  165. data/assets/_vendor/ace/mode-text.js +10 -0
  166. data/assets/_vendor/ace/mode-textile.js +150 -0
  167. data/assets/_vendor/ace/mode-toml.js +154 -0
  168. data/assets/_vendor/ace/mode-tsx.js +887 -0
  169. data/assets/_vendor/ace/mode-turtle.js +296 -0
  170. data/assets/_vendor/ace/mode-twig.js +2693 -0
  171. data/assets/_vendor/ace/mode-typescript.js +868 -0
  172. data/assets/_vendor/ace/mode-vala.js +676 -0
  173. data/assets/_vendor/ace/mode-vbscript.js +207 -0
  174. data/assets/_vendor/ace/mode-velocity.js +2790 -0
  175. data/assets/_vendor/ace/mode-verilog.js +119 -0
  176. data/assets/_vendor/ace/mode-vhdl.js +118 -0
  177. data/assets/_vendor/ace/mode-wollok.js +911 -0
  178. data/assets/_vendor/ace/mode-xml.js +677 -0
  179. data/assets/_vendor/ace/mode-xquery.js +4922 -0
  180. data/assets/_vendor/ace/mode-yaml.js +300 -0
  181. data/assets/_vendor/ace/snippets/abap.js +15 -0
  182. data/assets/_vendor/ace/snippets/abc.js +46 -0
  183. data/assets/_vendor/ace/snippets/actionscript.js +172 -0
  184. data/assets/_vendor/ace/snippets/ada.js +15 -0
  185. data/assets/_vendor/ace/snippets/apache_conf.js +15 -0
  186. data/assets/_vendor/ace/snippets/applescript.js +15 -0
  187. data/assets/_vendor/ace/snippets/asciidoc.js +15 -0
  188. data/assets/_vendor/ace/snippets/asl.js +14 -0
  189. data/assets/_vendor/ace/snippets/assembly_x86.js +15 -0
  190. data/assets/_vendor/ace/snippets/autohotkey.js +15 -0
  191. data/assets/_vendor/ace/snippets/batchfile.js +15 -0
  192. data/assets/_vendor/ace/snippets/bro.js +15 -0
  193. data/assets/_vendor/ace/snippets/c9search.js +15 -0
  194. data/assets/_vendor/ace/snippets/c_cpp.js +146 -0
  195. data/assets/_vendor/ace/snippets/cirru.js +15 -0
  196. data/assets/_vendor/ace/snippets/clojure.js +105 -0
  197. data/assets/_vendor/ace/snippets/cobol.js +15 -0
  198. data/assets/_vendor/ace/snippets/coffee.js +110 -0
  199. data/assets/_vendor/ace/snippets/coldfusion.js +15 -0
  200. data/assets/_vendor/ace/snippets/csharp.js +15 -0
  201. data/assets/_vendor/ace/snippets/csound_document.js +25 -0
  202. data/assets/_vendor/ace/snippets/csound_orchestra.js +62 -0
  203. data/assets/_vendor/ace/snippets/csound_score.js +15 -0
  204. data/assets/_vendor/ace/snippets/csp.js +15 -0
  205. data/assets/_vendor/ace/snippets/css.js +982 -0
  206. data/assets/_vendor/ace/snippets/curly.js +15 -0
  207. data/assets/_vendor/ace/snippets/d.js +15 -0
  208. data/assets/_vendor/ace/snippets/dart.js +98 -0
  209. data/assets/_vendor/ace/snippets/diff.js +26 -0
  210. data/assets/_vendor/ace/snippets/django.js +123 -0
  211. data/assets/_vendor/ace/snippets/dockerfile.js +15 -0
  212. data/assets/_vendor/ace/snippets/dot.js +15 -0
  213. data/assets/_vendor/ace/snippets/drools.js +34 -0
  214. data/assets/_vendor/ace/snippets/edifact.js +255 -0
  215. data/assets/_vendor/ace/snippets/eiffel.js +15 -0
  216. data/assets/_vendor/ace/snippets/ejs.js +15 -0
  217. data/assets/_vendor/ace/snippets/elixir.js +15 -0
  218. data/assets/_vendor/ace/snippets/elm.js +15 -0
  219. data/assets/_vendor/ace/snippets/erlang.js +175 -0
  220. data/assets/_vendor/ace/snippets/forth.js +15 -0
  221. data/assets/_vendor/ace/snippets/fortran.js +15 -0
  222. data/assets/_vendor/ace/snippets/fsharp.js +15 -0
  223. data/assets/_vendor/ace/snippets/ftl.js +15 -0
  224. data/assets/_vendor/ace/snippets/gcode.js +15 -0
  225. data/assets/_vendor/ace/snippets/gherkin.js +15 -0
  226. data/assets/_vendor/ace/snippets/gitignore.js +15 -0
  227. data/assets/_vendor/ace/snippets/glsl.js +15 -0
  228. data/assets/_vendor/ace/snippets/gobstones.js +49 -0
  229. data/assets/_vendor/ace/snippets/golang.js +15 -0
  230. data/assets/_vendor/ace/snippets/graphqlschema.js +47 -0
  231. data/assets/_vendor/ace/snippets/groovy.js +15 -0
  232. data/assets/_vendor/ace/snippets/haml.js +35 -0
  233. data/assets/_vendor/ace/snippets/handlebars.js +15 -0
  234. data/assets/_vendor/ace/snippets/haskell.js +97 -0
  235. data/assets/_vendor/ace/snippets/haskell_cabal.js +15 -0
  236. data/assets/_vendor/ace/snippets/haxe.js +15 -0
  237. data/assets/_vendor/ace/snippets/hjson.js +15 -0
  238. data/assets/_vendor/ace/snippets/html.js +870 -0
  239. data/assets/_vendor/ace/snippets/html_elixir.js +15 -0
  240. data/assets/_vendor/ace/snippets/html_ruby.js +15 -0
  241. data/assets/_vendor/ace/snippets/ini.js +15 -0
  242. data/assets/_vendor/ace/snippets/io.js +77 -0
  243. data/assets/_vendor/ace/snippets/jack.js +15 -0
  244. data/assets/_vendor/ace/snippets/jade.js +15 -0
  245. data/assets/_vendor/ace/snippets/java.js +255 -0
  246. data/assets/_vendor/ace/snippets/javascript.js +210 -0
  247. data/assets/_vendor/ace/snippets/json.js +15 -0
  248. data/assets/_vendor/ace/snippets/jsoniq.js +76 -0
  249. data/assets/_vendor/ace/snippets/jsp.js +114 -0
  250. data/assets/_vendor/ace/snippets/jssm.js +15 -0
  251. data/assets/_vendor/ace/snippets/jsx.js +15 -0
  252. data/assets/_vendor/ace/snippets/julia.js +15 -0
  253. data/assets/_vendor/ace/snippets/kotlin.js +15 -0
  254. data/assets/_vendor/ace/snippets/latex.js +15 -0
  255. data/assets/_vendor/ace/snippets/less.js +15 -0
  256. data/assets/_vendor/ace/snippets/liquid.js +15 -0
  257. data/assets/_vendor/ace/snippets/lisp.js +15 -0
  258. data/assets/_vendor/ace/snippets/livescript.js +15 -0
  259. data/assets/_vendor/ace/snippets/logiql.js +15 -0
  260. data/assets/_vendor/ace/snippets/lsl.js +1247 -0
  261. data/assets/_vendor/ace/snippets/lua.js +36 -0
  262. data/assets/_vendor/ace/snippets/luapage.js +15 -0
  263. data/assets/_vendor/ace/snippets/lucene.js +15 -0
  264. data/assets/_vendor/ace/snippets/makefile.js +19 -0
  265. data/assets/_vendor/ace/snippets/markdown.js +103 -0
  266. data/assets/_vendor/ace/snippets/mask.js +15 -0
  267. data/assets/_vendor/ace/snippets/matlab.js +15 -0
  268. data/assets/_vendor/ace/snippets/maze.js +24 -0
  269. data/assets/_vendor/ace/snippets/mel.js +15 -0
  270. data/assets/_vendor/ace/snippets/mixal.js +15 -0
  271. data/assets/_vendor/ace/snippets/mushcode.js +15 -0
  272. data/assets/_vendor/ace/snippets/mysql.js +15 -0
  273. data/assets/_vendor/ace/snippets/nix.js +15 -0
  274. data/assets/_vendor/ace/snippets/nsis.js +15 -0
  275. data/assets/_vendor/ace/snippets/objectivec.js +15 -0
  276. data/assets/_vendor/ace/snippets/ocaml.js +15 -0
  277. data/assets/_vendor/ace/snippets/pascal.js +15 -0
  278. data/assets/_vendor/ace/snippets/perl.js +362 -0
  279. data/assets/_vendor/ace/snippets/pgsql.js +15 -0
  280. data/assets/_vendor/ace/snippets/php.js +398 -0
  281. data/assets/_vendor/ace/snippets/php_laravel_blade.js +15 -0
  282. data/assets/_vendor/ace/snippets/pig.js +15 -0
  283. data/assets/_vendor/ace/snippets/plain_text.js +15 -0
  284. data/assets/_vendor/ace/snippets/powershell.js +15 -0
  285. data/assets/_vendor/ace/snippets/praat.js +15 -0
  286. data/assets/_vendor/ace/snippets/prolog.js +15 -0
  287. data/assets/_vendor/ace/snippets/properties.js +15 -0
  288. data/assets/_vendor/ace/snippets/protobuf.js +15 -0
  289. data/assets/_vendor/ace/snippets/puppet.js +15 -0
  290. data/assets/_vendor/ace/snippets/python.js +173 -0
  291. data/assets/_vendor/ace/snippets/r.js +136 -0
  292. data/assets/_vendor/ace/snippets/razor.js +18 -0
  293. data/assets/_vendor/ace/snippets/rdoc.js +15 -0
  294. data/assets/_vendor/ace/snippets/red.js +15 -0
  295. data/assets/_vendor/ace/snippets/redshift.js +15 -0
  296. data/assets/_vendor/ace/snippets/rhtml.js +15 -0
  297. data/assets/_vendor/ace/snippets/rst.js +37 -0
  298. data/assets/_vendor/ace/snippets/ruby.js +943 -0
  299. data/assets/_vendor/ace/snippets/rust.js +15 -0
  300. data/assets/_vendor/ace/snippets/sass.js +15 -0
  301. data/assets/_vendor/ace/snippets/scad.js +15 -0
  302. data/assets/_vendor/ace/snippets/scala.js +15 -0
  303. data/assets/_vendor/ace/snippets/scheme.js +15 -0
  304. data/assets/_vendor/ace/snippets/scss.js +15 -0
  305. data/assets/_vendor/ace/snippets/sh.js +98 -0
  306. data/assets/_vendor/ace/snippets/sjs.js +15 -0
  307. data/assets/_vendor/ace/snippets/slim.js +15 -0
  308. data/assets/_vendor/ace/snippets/smarty.js +15 -0
  309. data/assets/_vendor/ace/snippets/snippets.js +24 -0
  310. data/assets/_vendor/ace/snippets/soy_template.js +15 -0
  311. data/assets/_vendor/ace/snippets/space.js +15 -0
  312. data/assets/_vendor/ace/snippets/sparql.js +15 -0
  313. data/assets/_vendor/ace/snippets/sql.js +41 -0
  314. data/assets/_vendor/ace/snippets/sqlserver.js +84 -0
  315. data/assets/_vendor/ace/snippets/stylus.js +15 -0
  316. data/assets/_vendor/ace/snippets/svg.js +15 -0
  317. data/assets/_vendor/ace/snippets/swift.js +15 -0
  318. data/assets/_vendor/ace/snippets/tcl.js +107 -0
  319. data/assets/_vendor/ace/snippets/terraform.js +15 -0
  320. data/assets/_vendor/ace/snippets/tex.js +205 -0
  321. data/assets/_vendor/ace/snippets/text.js +15 -0
  322. data/assets/_vendor/ace/snippets/textile.js +45 -0
  323. data/assets/_vendor/ace/snippets/toml.js +15 -0
  324. data/assets/_vendor/ace/snippets/tsx.js +15 -0
  325. data/assets/_vendor/ace/snippets/turtle.js +15 -0
  326. data/assets/_vendor/ace/snippets/twig.js +15 -0
  327. data/assets/_vendor/ace/snippets/typescript.js +15 -0
  328. data/assets/_vendor/ace/snippets/vala.js +201 -0
  329. data/assets/_vendor/ace/snippets/vbscript.js +15 -0
  330. data/assets/_vendor/ace/snippets/velocity.js +44 -0
  331. data/assets/_vendor/ace/snippets/verilog.js +15 -0
  332. data/assets/_vendor/ace/snippets/vhdl.js +15 -0
  333. data/assets/_vendor/ace/snippets/wollok.js +99 -0
  334. data/assets/_vendor/ace/snippets/xml.js +15 -0
  335. data/assets/_vendor/ace/snippets/xquery.js +76 -0
  336. data/assets/_vendor/ace/snippets/yaml.js +15 -0
  337. data/assets/_vendor/ace/theme-ambiance.js +185 -0
  338. data/assets/_vendor/ace/theme-chaos.js +164 -0
  339. data/assets/_vendor/ace/theme-chrome.js +136 -0
  340. data/assets/_vendor/ace/theme-clouds.js +103 -0
  341. data/assets/_vendor/ace/theme-clouds_midnight.js +104 -0
  342. data/assets/_vendor/ace/theme-cobalt.js +121 -0
  343. data/assets/_vendor/ace/theme-crimson_editor.js +126 -0
  344. data/assets/_vendor/ace/theme-dawn.js +116 -0
  345. data/assets/_vendor/ace/theme-dracula.js +136 -0
  346. data/assets/_vendor/ace/theme-dreamweaver.js +149 -0
  347. data/assets/_vendor/ace/theme-eclipse.js +106 -0
  348. data/assets/_vendor/ace/theme-github.js +110 -0
  349. data/assets/_vendor/ace/theme-gob.js +120 -0
  350. data/assets/_vendor/ace/theme-gruvbox.js +90 -0
  351. data/assets/_vendor/ace/theme-idle_fingers.js +104 -0
  352. data/assets/_vendor/ace/theme-iplastic.js +129 -0
  353. data/assets/_vendor/ace/theme-katzenmilch.js +129 -0
  354. data/assets/_vendor/ace/theme-kr_theme.js +112 -0
  355. data/assets/_vendor/ace/theme-kuroir.js +69 -0
  356. data/assets/_vendor/ace/theme-merbivore.js +103 -0
  357. data/assets/_vendor/ace/theme-merbivore_soft.js +104 -0
  358. data/assets/_vendor/ace/theme-mono_industrial.js +115 -0
  359. data/assets/_vendor/ace/theme-monokai.js +113 -0
  360. data/assets/_vendor/ace/theme-pastel_on_dark.js +116 -0
  361. data/assets/_vendor/ace/theme-solarized_dark.js +96 -0
  362. data/assets/_vendor/ace/theme-solarized_light.js +99 -0
  363. data/assets/_vendor/ace/theme-sqlserver.js +146 -0
  364. data/assets/_vendor/ace/theme-terminal.js +122 -0
  365. data/assets/_vendor/ace/theme-textmate.js +138 -0
  366. data/assets/_vendor/ace/theme-tomorrow.js +116 -0
  367. data/assets/_vendor/ace/theme-tomorrow_night.js +116 -0
  368. data/assets/_vendor/ace/theme-tomorrow_night_blue.js +114 -0
  369. data/assets/_vendor/ace/theme-tomorrow_night_bright.js +129 -0
  370. data/assets/_vendor/ace/theme-tomorrow_night_eighties.js +116 -0
  371. data/assets/_vendor/ace/theme-twilight.js +117 -0
  372. data/assets/_vendor/ace/theme-vibrant_ink.js +102 -0
  373. data/assets/_vendor/ace/theme-xcode.js +96 -0
  374. data/assets/_vendor/ace/worker-coffee.js +2165 -0
  375. data/assets/_vendor/ace/worker-css.js +8764 -0
  376. data/assets/_vendor/ace/worker-html.js +11614 -0
  377. data/assets/_vendor/ace/worker-javascript.js +12491 -0
  378. data/assets/_vendor/ace/worker-json.js +2396 -0
  379. data/assets/_vendor/ace/worker-lua.js +3637 -0
  380. data/assets/_vendor/ace/worker-php.js +4313 -0
  381. data/assets/_vendor/ace/worker-xml.js +3899 -0
  382. data/assets/_vendor/ace/worker-xquery.js +70688 -0
  383. data/assets/_vendor/motion-ui/_settings.scss +1 -0
  384. data/assets/_vendor/motion-ui/effects/_fade.scss +1 -4
  385. data/assets/_vendor/motion-ui/effects/_hinge.scss +4 -3
  386. data/assets/_vendor/motion-ui/effects/_shake.scss +1 -1
  387. data/assets/_vendor/motion-ui/effects/_slide.scss +4 -3
  388. data/assets/_vendor/motion-ui/effects/_spin.scss +4 -3
  389. data/assets/_vendor/motion-ui/effects/_wiggle.scss +1 -1
  390. data/assets/_vendor/motion-ui/effects/_zoom.scss +2 -2
  391. data/assets/_vendor/motion-ui/motion-ui.scss +2 -0
  392. data/assets/_vendor/motion-ui/transitions/_fade.scss +6 -4
  393. data/assets/_vendor/motion-ui/transitions/_hinge.scss +3 -2
  394. data/assets/_vendor/motion-ui/transitions/_slide.scss +3 -2
  395. data/assets/_vendor/motion-ui/transitions/_spin.scss +2 -1
  396. data/assets/_vendor/motion-ui/transitions/_zoom.scss +6 -4
  397. data/assets/_vendor/motion-ui/util/_animation.scss +1 -1
  398. data/assets/_vendor/motion-ui/util/_args.scss +2 -2
  399. data/assets/_vendor/motion-ui/util/_function.scss +94 -0
  400. data/assets/_vendor/motion-ui/util/_keyframe.scss +5 -5
  401. data/assets/_vendor/motion-ui/util/_series.scss +20 -17
  402. data/assets/_vendor/motion-ui/util/_string.scss +36 -0
  403. data/assets/_vendor/tinymce/plugins/advlist/plugin.js +136 -404
  404. data/assets/_vendor/tinymce/plugins/advlist/plugin.min.js +1 -1
  405. data/assets/_vendor/tinymce/plugins/anchor/plugin.js +103 -323
  406. data/assets/_vendor/tinymce/plugins/anchor/plugin.min.js +1 -1
  407. data/assets/_vendor/tinymce/plugins/autolink/plugin.js +153 -377
  408. data/assets/_vendor/tinymce/plugins/autolink/plugin.min.js +1 -1
  409. data/assets/_vendor/tinymce/plugins/autoresize/plugin.js +145 -427
  410. data/assets/_vendor/tinymce/plugins/autoresize/plugin.min.js +1 -1
  411. data/assets/_vendor/tinymce/plugins/autosave/plugin.js +197 -579
  412. data/assets/_vendor/tinymce/plugins/autosave/plugin.min.js +1 -1
  413. data/assets/_vendor/tinymce/plugins/bbcode/plugin.js +88 -251
  414. data/assets/_vendor/tinymce/plugins/bbcode/plugin.min.js +1 -1
  415. data/assets/_vendor/tinymce/plugins/charmap/plugin.js +1243 -818
  416. data/assets/_vendor/tinymce/plugins/charmap/plugin.min.js +1 -1
  417. data/assets/_vendor/tinymce/plugins/code/plugin.js +82 -326
  418. data/assets/_vendor/tinymce/plugins/code/plugin.min.js +1 -1
  419. data/assets/_vendor/tinymce/plugins/codesample/plugin.js +829 -1444
  420. data/assets/_vendor/tinymce/plugins/codesample/plugin.min.js +1 -1
  421. data/assets/_vendor/tinymce/plugins/colorpicker/plugin.js +111 -257
  422. data/assets/_vendor/tinymce/plugins/colorpicker/plugin.min.js +1 -1
  423. data/assets/_vendor/tinymce/plugins/contextmenu/plugin.js +141 -469
  424. data/assets/_vendor/tinymce/plugins/contextmenu/plugin.min.js +1 -1
  425. data/assets/_vendor/tinymce/plugins/directionality/plugin.js +57 -261
  426. data/assets/_vendor/tinymce/plugins/directionality/plugin.min.js +1 -1
  427. data/assets/_vendor/tinymce/plugins/emoticons/plugin.js +78 -247
  428. data/assets/_vendor/tinymce/plugins/emoticons/plugin.min.js +1 -1
  429. data/assets/_vendor/tinymce/plugins/fullpage/plugin.js +463 -906
  430. data/assets/_vendor/tinymce/plugins/fullpage/plugin.min.js +1 -1
  431. data/assets/_vendor/tinymce/plugins/fullscreen/plugin.js +149 -427
  432. data/assets/_vendor/tinymce/plugins/fullscreen/plugin.min.js +1 -1
  433. data/assets/_vendor/tinymce/plugins/help/plugin.js +634 -1434
  434. data/assets/_vendor/tinymce/plugins/help/plugin.min.js +1 -1
  435. data/assets/_vendor/tinymce/plugins/hr/plugin.js +29 -185
  436. data/assets/_vendor/tinymce/plugins/hr/plugin.min.js +1 -1
  437. data/assets/_vendor/tinymce/plugins/image/plugin.js +1147 -1508
  438. data/assets/_vendor/tinymce/plugins/image/plugin.min.js +1 -1
  439. data/assets/_vendor/tinymce/plugins/imagetools/plugin.js +3319 -4079
  440. data/assets/_vendor/tinymce/plugins/imagetools/plugin.min.js +1 -2
  441. data/assets/_vendor/tinymce/plugins/importcss/plugin.js +230 -543
  442. data/assets/_vendor/tinymce/plugins/importcss/plugin.min.js +1 -1
  443. data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.js +151 -460
  444. data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
  445. data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.js +204 -379
  446. data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.min.js +1 -1
  447. data/assets/_vendor/tinymce/plugins/link/plugin.js +644 -1162
  448. data/assets/_vendor/tinymce/plugins/link/plugin.min.js +1 -1
  449. data/assets/_vendor/tinymce/plugins/lists/plugin.js +1005 -1875
  450. data/assets/_vendor/tinymce/plugins/lists/plugin.min.js +1 -1
  451. data/assets/_vendor/tinymce/plugins/media/plugin.js +1066 -1926
  452. data/assets/_vendor/tinymce/plugins/media/plugin.min.js +1 -1
  453. data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.js +70 -298
  454. data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
  455. data/assets/_vendor/tinymce/plugins/noneditable/plugin.js +96 -294
  456. data/assets/_vendor/tinymce/plugins/noneditable/plugin.min.js +1 -1
  457. data/assets/_vendor/tinymce/plugins/pagebreak/plugin.js +92 -337
  458. data/assets/_vendor/tinymce/plugins/pagebreak/plugin.min.js +1 -1
  459. data/assets/_vendor/tinymce/plugins/paste/plugin.js +1363 -2801
  460. data/assets/_vendor/tinymce/plugins/paste/plugin.min.js +1 -1
  461. data/assets/_vendor/tinymce/plugins/preview/plugin.js +106 -393
  462. data/assets/_vendor/tinymce/plugins/preview/plugin.min.js +1 -1
  463. data/assets/_vendor/tinymce/plugins/print/plugin.js +29 -185
  464. data/assets/_vendor/tinymce/plugins/print/plugin.min.js +1 -1
  465. data/assets/_vendor/tinymce/plugins/save/plugin.js +100 -350
  466. data/assets/_vendor/tinymce/plugins/save/plugin.min.js +1 -1
  467. data/assets/_vendor/tinymce/plugins/searchreplace/plugin.js +491 -865
  468. data/assets/_vendor/tinymce/plugins/searchreplace/plugin.min.js +1 -1
  469. data/assets/_vendor/tinymce/plugins/spellchecker/plugin.js +630 -1292
  470. data/assets/_vendor/tinymce/plugins/spellchecker/plugin.min.js +1 -1
  471. data/assets/_vendor/tinymce/plugins/tabfocus/plugin.js +96 -391
  472. data/assets/_vendor/tinymce/plugins/tabfocus/plugin.min.js +1 -1
  473. data/assets/_vendor/tinymce/plugins/table/plugin.js +9537 -14920
  474. data/assets/_vendor/tinymce/plugins/table/plugin.min.js +1 -5
  475. data/assets/_vendor/tinymce/plugins/template/plugin.js +309 -771
  476. data/assets/_vendor/tinymce/plugins/template/plugin.min.js +1 -1
  477. data/assets/_vendor/tinymce/plugins/textcolor/plugin.js +319 -592
  478. data/assets/_vendor/tinymce/plugins/textcolor/plugin.min.js +1 -1
  479. data/assets/_vendor/tinymce/plugins/textpattern/plugin.js +326 -674
  480. data/assets/_vendor/tinymce/plugins/textpattern/plugin.min.js +1 -1
  481. data/assets/_vendor/tinymce/plugins/toc/plugin.js +199 -530
  482. data/assets/_vendor/tinymce/plugins/toc/plugin.min.js +1 -1
  483. data/assets/_vendor/tinymce/plugins/visualblocks/plugin.js +112 -436
  484. data/assets/_vendor/tinymce/plugins/visualblocks/plugin.min.js +1 -1
  485. data/assets/_vendor/tinymce/plugins/visualchars/plugin.js +428 -1248
  486. data/assets/_vendor/tinymce/plugins/visualchars/plugin.min.js +1 -1
  487. data/assets/_vendor/tinymce/plugins/wordcount/plugin.js +307 -699
  488. data/assets/_vendor/tinymce/plugins/wordcount/plugin.min.js +1 -1
  489. data/assets/_vendor/tinymce/skins/lightgray/content.inline.min.css +1 -1
  490. data/assets/_vendor/tinymce/skins/lightgray/content.min.css +1 -1
  491. data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
  492. data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.svg +1 -1
  493. data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
  494. data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
  495. data/assets/_vendor/tinymce/skins/lightgray/skin.min.css +1 -1
  496. data/assets/_vendor/tinymce/skins/lightgray/skin.mobile.min.css +1 -1
  497. data/assets/_vendor/tinymce/themes/inlite/theme.js +9693 -18245
  498. data/assets/_vendor/tinymce/themes/inlite/theme.min.js +1 -5
  499. data/assets/_vendor/tinymce/themes/mobile/theme.js +12629 -22467
  500. data/assets/_vendor/tinymce/themes/mobile/theme.min.js +1 -8
  501. data/assets/_vendor/tinymce/themes/modern/theme.js +9510 -17780
  502. data/assets/_vendor/tinymce/themes/modern/theme.min.js +1 -5
  503. data/assets/_vendor/tinymce/tinymce.js +25087 -42606
  504. data/assets/_vendor/yoastseo/css/_icons.scss +7 -7
  505. data/assets/_vendor/yoastseo/css/_snippet-editor.scss +1 -1
  506. data/assets/bedrock/js/bedrock.js +1 -71697
  507. data/assets/bedrock/scss/_bedrock-components.scss +20 -0
  508. data/assets/bedrock/scss/_bedrock-settings.scss +12 -4
  509. data/assets/bedrock/scss/_foundation-settings.scss +4 -2
  510. data/assets/bedrock/scss/components/ace-editor.scss +21 -0
  511. data/assets/bedrock/scss/components/attachments-grid.scss +18 -15
  512. data/assets/bedrock/scss/components/date-picker.scss +146 -0
  513. data/assets/bedrock/scss/components/dropzone-upload.scss +7 -0
  514. data/assets/bedrock/scss/components/file-input.scss +7 -0
  515. data/assets/bedrock/scss/components/file-preview.scss +36 -0
  516. data/assets/bedrock/scss/components/frame-embed.scss +23 -0
  517. data/assets/bedrock/scss/components/global.scss +27 -0
  518. data/assets/bedrock/scss/components/helper-classes.scss +1 -0
  519. data/assets/bedrock/scss/components/icon-box.scss +38 -0
  520. data/assets/bedrock/scss/components/item-list.scss +66 -0
  521. data/assets/bedrock/scss/components/lists.scss +58 -0
  522. data/assets/bedrock/scss/components/off-canvas-menu.scss +27 -15
  523. data/assets/bedrock/scss/components/place-autocomplete.scss +90 -0
  524. data/assets/bedrock/scss/components/rrule-generator.scss +102 -0
  525. data/assets/bedrock/scss/components/rrule-reveal.scss +14 -0
  526. data/assets/bedrock/scss/components/select-box.scss +1 -0
  527. data/assets/bedrock/scss/components/seo-analysis.scss +5 -0
  528. data/assets/bedrock/scss/components/textarea.scss +14 -2
  529. data/assets/bedrock/scss/components/tiny-mce-editor.scss +5 -16
  530. data/lib/bedrock_sass.rb +5 -0
  531. data/lib/bedrock_sass/version.rb +1 -1
  532. data/lib/tasks/before_assets_precompile.rake +1 -0
  533. metadata +395 -4
  534. data/CODE_OF_CONDUCT.md +0 -74
@@ -0,0 +1,279 @@
1
+ define("ace/mode/rust_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
2
+ "use strict";
3
+
4
+ var oop = require("../lib/oop");
5
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
6
+
7
+ var stringEscape = /\\(?:[nrt0'"\\]|x[\da-fA-F]{2}|u\{[\da-fA-F]{6}\})/.source;
8
+ var RustHighlightRules = function() {
9
+ this.$rules = { start:
10
+ [ { token: 'variable.other.source.rust',
11
+ regex: '\'[a-zA-Z_][a-zA-Z0-9_]*(?![\\\'])' },
12
+ { token: 'string.quoted.single.source.rust',
13
+ regex: "'(?:[^'\\\\]|" + stringEscape + ")'" },
14
+ {
15
+ stateName: "bracketedComment",
16
+ onMatch : function(value, currentState, stack){
17
+ stack.unshift(this.next, value.length - 1, currentState);
18
+ return "string.quoted.raw.source.rust";
19
+ },
20
+ regex : /r#*"/,
21
+ next : [
22
+ {
23
+ onMatch : function(value, currentState, stack) {
24
+ var token = "string.quoted.raw.source.rust";
25
+ if (value.length >= stack[1]) {
26
+ if (value.length > stack[1])
27
+ token = "invalid";
28
+ stack.shift();
29
+ stack.shift();
30
+ this.next = stack.shift();
31
+ } else {
32
+ this.next = "";
33
+ }
34
+ return token;
35
+ },
36
+ regex : /"#*/,
37
+ next : "start"
38
+ }, {
39
+ defaultToken : "string.quoted.raw.source.rust"
40
+ }
41
+ ]
42
+ },
43
+ { token: 'string.quoted.double.source.rust',
44
+ regex: '"',
45
+ push:
46
+ [ { token: 'string.quoted.double.source.rust',
47
+ regex: '"',
48
+ next: 'pop' },
49
+ { token: 'constant.character.escape.source.rust',
50
+ regex: stringEscape },
51
+ { defaultToken: 'string.quoted.double.source.rust' } ] },
52
+ { token: [ 'keyword.source.rust', 'text', 'entity.name.function.source.rust' ],
53
+ regex: '\\b(fn)(\\s+)([a-zA-Z_][a-zA-Z0-9_]*)' },
54
+ { token: 'support.constant', regex: '\\b[a-zA-Z_][\\w\\d]*::' },
55
+ { token: 'keyword.source.rust',
56
+ regex: '\\b(?:abstract|alignof|as|become|box|break|catch|continue|const|crate|default|do|dyn|else|enum|extern|for|final|if|impl|in|let|loop|macro|match|mod|move|mut|offsetof|override|priv|proc|pub|pure|ref|return|self|sizeof|static|struct|super|trait|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\\b' },
57
+ { token: 'storage.type.source.rust',
58
+ regex: '\\b(?:Self|isize|usize|char|bool|u8|u16|u32|u64|u128|f16|f32|f64|i8|i16|i32|i64|i128|str|option|either|c_float|c_double|c_void|FILE|fpos_t|DIR|dirent|c_char|c_schar|c_uchar|c_short|c_ushort|c_int|c_uint|c_long|c_ulong|size_t|ptrdiff_t|clock_t|time_t|c_longlong|c_ulonglong|intptr_t|uintptr_t|off_t|dev_t|ino_t|pid_t|mode_t|ssize_t)\\b' },
59
+ { token: 'variable.language.source.rust', regex: '\\bself\\b' },
60
+
61
+ { token: 'comment.line.doc.source.rust',
62
+ regex: '//!.*$' },
63
+ { token: 'comment.line.double-dash.source.rust',
64
+ regex: '//.*$' },
65
+ { token: 'comment.start.block.source.rust',
66
+ regex: '/\\*',
67
+ stateName: 'comment',
68
+ push:
69
+ [ { token: 'comment.start.block.source.rust',
70
+ regex: '/\\*',
71
+ push: 'comment' },
72
+ { token: 'comment.end.block.source.rust',
73
+ regex: '\\*/',
74
+ next: 'pop' },
75
+ { defaultToken: 'comment.block.source.rust' } ] },
76
+
77
+ { token: 'keyword.operator',
78
+ regex: /\$|[-=]>|[-+%^=!&|<>]=?|[*/](?![*/])=?/ },
79
+ { token : "punctuation.operator", regex : /[?:,;.]/ },
80
+ { token : "paren.lparen", regex : /[\[({]/ },
81
+ { token : "paren.rparen", regex : /[\])}]/ },
82
+ { token: 'constant.language.source.rust',
83
+ regex: '\\b(?:true|false|Some|None|Ok|Err)\\b' },
84
+ { token: 'support.constant.source.rust',
85
+ regex: '\\b(?:EXIT_FAILURE|EXIT_SUCCESS|RAND_MAX|EOF|SEEK_SET|SEEK_CUR|SEEK_END|_IOFBF|_IONBF|_IOLBF|BUFSIZ|FOPEN_MAX|FILENAME_MAX|L_tmpnam|TMP_MAX|O_RDONLY|O_WRONLY|O_RDWR|O_APPEND|O_CREAT|O_EXCL|O_TRUNC|S_IFIFO|S_IFCHR|S_IFBLK|S_IFDIR|S_IFREG|S_IFMT|S_IEXEC|S_IWRITE|S_IREAD|S_IRWXU|S_IXUSR|S_IWUSR|S_IRUSR|F_OK|R_OK|W_OK|X_OK|STDIN_FILENO|STDOUT_FILENO|STDERR_FILENO)\\b' },
86
+ { token: 'meta.preprocessor.source.rust',
87
+ regex: '\\b\\w\\(\\w\\)*!|#\\[[\\w=\\(\\)_]+\\]\\b' },
88
+ { token: 'constant.numeric.source.rust',
89
+ regex: /\b(?:0x[a-fA-F0-9_]+|0o[0-7_]+|0b[01_]+|[0-9][0-9_]*(?!\.))(?:[iu](?:size|8|16|32|64|128))?\b/ },
90
+ { token: 'constant.numeric.source.rust',
91
+ regex: /\b(?:[0-9][0-9_]*)(?:\.[0-9][0-9_]*)?(?:[Ee][+-][0-9][0-9_]*)?(?:f32|f64)?\b/ } ] };
92
+
93
+ this.normalizeRules();
94
+ };
95
+
96
+ RustHighlightRules.metaData = { fileTypes: [ 'rs', 'rc' ],
97
+ foldingStartMarker: '^.*\\bfn\\s*(\\w+\\s*)?\\([^\\)]*\\)(\\s*\\{[^\\}]*)?\\s*$',
98
+ foldingStopMarker: '^\\s*\\}',
99
+ name: 'Rust',
100
+ scopeName: 'source.rust' };
101
+
102
+
103
+ oop.inherits(RustHighlightRules, TextHighlightRules);
104
+
105
+ exports.RustHighlightRules = RustHighlightRules;
106
+ });
107
+
108
+ define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"], function(require, exports, module) {
109
+ "use strict";
110
+
111
+ var oop = require("../../lib/oop");
112
+ var Range = require("../../range").Range;
113
+ var BaseFoldMode = require("./fold_mode").FoldMode;
114
+
115
+ var FoldMode = exports.FoldMode = function(commentRegex) {
116
+ if (commentRegex) {
117
+ this.foldingStartMarker = new RegExp(
118
+ this.foldingStartMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.start)
119
+ );
120
+ this.foldingStopMarker = new RegExp(
121
+ this.foldingStopMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.end)
122
+ );
123
+ }
124
+ };
125
+ oop.inherits(FoldMode, BaseFoldMode);
126
+
127
+ (function() {
128
+
129
+ this.foldingStartMarker = /([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;
130
+ this.foldingStopMarker = /^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;
131
+ this.singleLineBlockCommentRe= /^\s*(\/\*).*\*\/\s*$/;
132
+ this.tripleStarBlockCommentRe = /^\s*(\/\*\*\*).*\*\/\s*$/;
133
+ this.startRegionRe = /^\s*(\/\*|\/\/)#?region\b/;
134
+ this._getFoldWidgetBase = this.getFoldWidget;
135
+ this.getFoldWidget = function(session, foldStyle, row) {
136
+ var line = session.getLine(row);
137
+
138
+ if (this.singleLineBlockCommentRe.test(line)) {
139
+ if (!this.startRegionRe.test(line) && !this.tripleStarBlockCommentRe.test(line))
140
+ return "";
141
+ }
142
+
143
+ var fw = this._getFoldWidgetBase(session, foldStyle, row);
144
+
145
+ if (!fw && this.startRegionRe.test(line))
146
+ return "start"; // lineCommentRegionStart
147
+
148
+ return fw;
149
+ };
150
+
151
+ this.getFoldWidgetRange = function(session, foldStyle, row, forceMultiline) {
152
+ var line = session.getLine(row);
153
+
154
+ if (this.startRegionRe.test(line))
155
+ return this.getCommentRegionBlock(session, line, row);
156
+
157
+ var match = line.match(this.foldingStartMarker);
158
+ if (match) {
159
+ var i = match.index;
160
+
161
+ if (match[1])
162
+ return this.openingBracketBlock(session, match[1], row, i);
163
+
164
+ var range = session.getCommentFoldRange(row, i + match[0].length, 1);
165
+
166
+ if (range && !range.isMultiLine()) {
167
+ if (forceMultiline) {
168
+ range = this.getSectionRange(session, row);
169
+ } else if (foldStyle != "all")
170
+ range = null;
171
+ }
172
+
173
+ return range;
174
+ }
175
+
176
+ if (foldStyle === "markbegin")
177
+ return;
178
+
179
+ var match = line.match(this.foldingStopMarker);
180
+ if (match) {
181
+ var i = match.index + match[0].length;
182
+
183
+ if (match[1])
184
+ return this.closingBracketBlock(session, match[1], row, i);
185
+
186
+ return session.getCommentFoldRange(row, i, -1);
187
+ }
188
+ };
189
+
190
+ this.getSectionRange = function(session, row) {
191
+ var line = session.getLine(row);
192
+ var startIndent = line.search(/\S/);
193
+ var startRow = row;
194
+ var startColumn = line.length;
195
+ row = row + 1;
196
+ var endRow = row;
197
+ var maxRow = session.getLength();
198
+ while (++row < maxRow) {
199
+ line = session.getLine(row);
200
+ var indent = line.search(/\S/);
201
+ if (indent === -1)
202
+ continue;
203
+ if (startIndent > indent)
204
+ break;
205
+ var subRange = this.getFoldWidgetRange(session, "all", row);
206
+
207
+ if (subRange) {
208
+ if (subRange.start.row <= startRow) {
209
+ break;
210
+ } else if (subRange.isMultiLine()) {
211
+ row = subRange.end.row;
212
+ } else if (startIndent == indent) {
213
+ break;
214
+ }
215
+ }
216
+ endRow = row;
217
+ }
218
+
219
+ return new Range(startRow, startColumn, endRow, session.getLine(endRow).length);
220
+ };
221
+ this.getCommentRegionBlock = function(session, line, row) {
222
+ var startColumn = line.search(/\s*$/);
223
+ var maxRow = session.getLength();
224
+ var startRow = row;
225
+
226
+ var re = /^\s*(?:\/\*|\/\/|--)#?(end)?region\b/;
227
+ var depth = 1;
228
+ while (++row < maxRow) {
229
+ line = session.getLine(row);
230
+ var m = re.exec(line);
231
+ if (!m) continue;
232
+ if (m[1]) depth--;
233
+ else depth++;
234
+
235
+ if (!depth) break;
236
+ }
237
+
238
+ var endRow = row;
239
+ if (endRow > startRow) {
240
+ return new Range(startRow, startColumn, endRow, line.length);
241
+ }
242
+ };
243
+
244
+ }).call(FoldMode.prototype);
245
+
246
+ });
247
+
248
+ define("ace/mode/rust",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/rust_highlight_rules","ace/mode/folding/cstyle"], function(require, exports, module) {
249
+ "use strict";
250
+
251
+ var oop = require("../lib/oop");
252
+ var TextMode = require("./text").Mode;
253
+ var RustHighlightRules = require("./rust_highlight_rules").RustHighlightRules;
254
+ var FoldMode = require("./folding/cstyle").FoldMode;
255
+
256
+ var Mode = function() {
257
+ this.HighlightRules = RustHighlightRules;
258
+ this.foldingRules = new FoldMode();
259
+ this.$behaviour = this.$defaultBehaviour;
260
+ };
261
+ oop.inherits(Mode, TextMode);
262
+
263
+ (function() {
264
+ this.lineCommentStart = "//";
265
+ this.blockComment = {start: "/*", end: "*/", nestable: true};
266
+ this.$quotes = { '"': '"' };
267
+ this.$id = "ace/mode/rust";
268
+ }).call(Mode.prototype);
269
+
270
+ exports.Mode = Mode;
271
+ });
272
+ (function() {
273
+ window.require(["ace/mode/rust"], function(m) {
274
+ if (typeof module == "object" && typeof exports == "object" && module) {
275
+ module.exports = m;
276
+ }
277
+ });
278
+ })();
279
+
@@ -0,0 +1,441 @@
1
+ define("ace/mode/scss_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"], function(require, exports, module) {
2
+ "use strict";
3
+
4
+ var oop = require("../lib/oop");
5
+ var lang = require("../lib/lang");
6
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
7
+
8
+ var ScssHighlightRules = function() {
9
+
10
+ var properties = lang.arrayToMap( (function () {
11
+
12
+ var browserPrefix = ("-webkit-|-moz-|-o-|-ms-|-svg-|-pie-|-khtml-").split("|");
13
+
14
+ var prefixProperties = ("appearance|background-clip|background-inline-policy|background-origin|" +
15
+ "background-size|binding|border-bottom-colors|border-left-colors|" +
16
+ "border-right-colors|border-top-colors|border-end|border-end-color|" +
17
+ "border-end-style|border-end-width|border-image|border-start|" +
18
+ "border-start-color|border-start-style|border-start-width|box-align|" +
19
+ "box-direction|box-flex|box-flexgroup|box-ordinal-group|box-orient|" +
20
+ "box-pack|box-sizing|column-count|column-gap|column-width|column-rule|" +
21
+ "column-rule-width|column-rule-style|column-rule-color|float-edge|" +
22
+ "font-feature-settings|font-language-override|force-broken-image-icon|" +
23
+ "image-region|margin-end|margin-start|opacity|outline|outline-color|" +
24
+ "outline-offset|outline-radius|outline-radius-bottomleft|" +
25
+ "outline-radius-bottomright|outline-radius-topleft|outline-radius-topright|" +
26
+ "outline-style|outline-width|padding-end|padding-start|stack-sizing|" +
27
+ "tab-size|text-blink|text-decoration-color|text-decoration-line|" +
28
+ "text-decoration-style|transform|transform-origin|transition|" +
29
+ "transition-delay|transition-duration|transition-property|" +
30
+ "transition-timing-function|user-focus|user-input|user-modify|user-select|" +
31
+ "window-shadow|border-radius").split("|");
32
+
33
+ var properties = ("azimuth|background-attachment|background-color|background-image|" +
34
+ "background-position|background-repeat|background|border-bottom-color|" +
35
+ "border-bottom-style|border-bottom-width|border-bottom|border-collapse|" +
36
+ "border-color|border-left-color|border-left-style|border-left-width|" +
37
+ "border-left|border-right-color|border-right-style|border-right-width|" +
38
+ "border-right|border-spacing|border-style|border-top-color|" +
39
+ "border-top-style|border-top-width|border-top|border-width|border|bottom|" +
40
+ "box-shadow|box-sizing|caption-side|clear|clip|color|content|counter-increment|" +
41
+ "counter-reset|cue-after|cue-before|cue|cursor|direction|display|" +
42
+ "elevation|empty-cells|float|font-family|font-size-adjust|font-size|" +
43
+ "font-stretch|font-style|font-variant|font-weight|font|height|left|" +
44
+ "letter-spacing|line-height|list-style-image|list-style-position|" +
45
+ "list-style-type|list-style|margin-bottom|margin-left|margin-right|" +
46
+ "margin-top|marker-offset|margin|marks|max-height|max-width|min-height|" +
47
+ "min-width|opacity|orphans|outline-color|" +
48
+ "outline-style|outline-width|outline|overflow|overflow-x|overflow-y|padding-bottom|" +
49
+ "padding-left|padding-right|padding-top|padding|page-break-after|" +
50
+ "page-break-before|page-break-inside|page|pause-after|pause-before|" +
51
+ "pause|pitch-range|pitch|play-during|position|quotes|richness|right|" +
52
+ "size|speak-header|speak-numeral|speak-punctuation|speech-rate|speak|" +
53
+ "stress|table-layout|text-align|text-decoration|text-indent|" +
54
+ "text-shadow|text-transform|top|unicode-bidi|vertical-align|" +
55
+ "visibility|voice-family|volume|white-space|widows|width|word-spacing|" +
56
+ "z-index").split("|");
57
+ var ret = [];
58
+ for (var i=0, ln=browserPrefix.length; i<ln; i++) {
59
+ Array.prototype.push.apply(
60
+ ret,
61
+ (( browserPrefix[i] + prefixProperties.join("|" + browserPrefix[i]) ).split("|"))
62
+ );
63
+ }
64
+ Array.prototype.push.apply(ret, prefixProperties);
65
+ Array.prototype.push.apply(ret, properties);
66
+
67
+ return ret;
68
+
69
+ })() );
70
+
71
+
72
+
73
+ var functions = lang.arrayToMap(
74
+ ("hsl|hsla|rgb|rgba|url|attr|counter|counters|abs|adjust_color|adjust_hue|" +
75
+ "alpha|join|blue|ceil|change_color|comparable|complement|darken|desaturate|" +
76
+ "floor|grayscale|green|hue|if|invert|join|length|lighten|lightness|mix|" +
77
+ "nth|opacify|opacity|percentage|quote|red|round|saturate|saturation|" +
78
+ "scale_color|transparentize|type_of|unit|unitless|unquote").split("|")
79
+ );
80
+
81
+ var constants = lang.arrayToMap(
82
+ ("absolute|all-scroll|always|armenian|auto|baseline|below|bidi-override|" +
83
+ "block|bold|bolder|border-box|both|bottom|break-all|break-word|capitalize|center|" +
84
+ "char|circle|cjk-ideographic|col-resize|collapse|content-box|crosshair|dashed|" +
85
+ "decimal-leading-zero|decimal|default|disabled|disc|" +
86
+ "distribute-all-lines|distribute-letter|distribute-space|" +
87
+ "distribute|dotted|double|e-resize|ellipsis|fixed|georgian|groove|" +
88
+ "hand|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|" +
89
+ "ideograph-alpha|ideograph-numeric|ideograph-parenthesis|" +
90
+ "ideograph-space|inactive|inherit|inline-block|inline|inset|inside|" +
91
+ "inter-ideograph|inter-word|italic|justify|katakana-iroha|katakana|" +
92
+ "keep-all|left|lighter|line-edge|line-through|line|list-item|loose|" +
93
+ "lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|" +
94
+ "medium|middle|move|n-resize|ne-resize|newspaper|no-drop|no-repeat|" +
95
+ "nw-resize|none|normal|not-allowed|nowrap|oblique|outset|outside|" +
96
+ "overline|pointer|progress|relative|repeat-x|repeat-y|repeat|right|" +
97
+ "ridge|row-resize|rtl|s-resize|scroll|se-resize|separate|small-caps|" +
98
+ "solid|square|static|strict|super|sw-resize|table-footer-group|" +
99
+ "table-header-group|tb-rl|text-bottom|text-top|text|thick|thin|top|" +
100
+ "transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|" +
101
+ "vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|" +
102
+ "zero").split("|")
103
+ );
104
+
105
+ var colors = lang.arrayToMap(
106
+ ("aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|" +
107
+ "blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|" +
108
+ "chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|" +
109
+ "darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|" +
110
+ "darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|" +
111
+ "darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|" +
112
+ "darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|" +
113
+ "dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|" +
114
+ "ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|" +
115
+ "hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|" +
116
+ "lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|" +
117
+ "lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|" +
118
+ "lightsalmon|lightseagreen|lightskyblue|lightslategray|" +
119
+ "lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|" +
120
+ "magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|" +
121
+ "mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|" +
122
+ "mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|" +
123
+ "moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|" +
124
+ "orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|" +
125
+ "papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|" +
126
+ "red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|" +
127
+ "seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|" +
128
+ "springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|" +
129
+ "wheat|white|whitesmoke|yellow|yellowgreen").split("|")
130
+ );
131
+
132
+ var keywords = lang.arrayToMap(
133
+ ("@mixin|@extend|@include|@import|@media|@debug|@warn|@if|@for|@each|@while|@else|@font-face|@-webkit-keyframes|if|and|!default|module|def|end|declare").split("|")
134
+ );
135
+
136
+ var tags = lang.arrayToMap(
137
+ ("a|abbr|acronym|address|applet|area|article|aside|audio|b|base|basefont|bdo|" +
138
+ "big|blockquote|body|br|button|canvas|caption|center|cite|code|col|colgroup|" +
139
+ "command|datalist|dd|del|details|dfn|dir|div|dl|dt|em|embed|fieldset|" +
140
+ "figcaption|figure|font|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|" +
141
+ "header|hgroup|hr|html|i|iframe|img|input|ins|keygen|kbd|label|legend|li|" +
142
+ "link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|" +
143
+ "option|output|p|param|pre|progress|q|rp|rt|ruby|s|samp|script|section|select|" +
144
+ "small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|" +
145
+ "textarea|tfoot|th|thead|time|title|tr|tt|u|ul|var|video|wbr|xmp").split("|")
146
+ );
147
+ var numRe = "\\-?(?:(?:[0-9]+)|(?:[0-9]*\\.[0-9]+))";
148
+ this.$rules = {
149
+ "start" : [
150
+ {
151
+ token : "comment",
152
+ regex : "\\/\\/.*$"
153
+ },
154
+ {
155
+ token : "comment", // multi line comment
156
+ regex : "\\/\\*",
157
+ next : "comment"
158
+ }, {
159
+ token : "string", // single line
160
+ regex : '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'
161
+ }, {
162
+ token : "string", // multi line string start
163
+ regex : '["].*\\\\$',
164
+ next : "qqstring"
165
+ }, {
166
+ token : "string", // single line
167
+ regex : "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"
168
+ }, {
169
+ token : "string", // multi line string start
170
+ regex : "['].*\\\\$",
171
+ next : "qstring"
172
+ }, {
173
+ token : "constant.numeric",
174
+ regex : numRe + "(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)"
175
+ }, {
176
+ token : "constant.numeric", // hex6 color
177
+ regex : "#[a-f0-9]{6}"
178
+ }, {
179
+ token : "constant.numeric", // hex3 color
180
+ regex : "#[a-f0-9]{3}"
181
+ }, {
182
+ token : "constant.numeric",
183
+ regex : numRe
184
+ }, {
185
+ token : ["support.function", "string", "support.function"],
186
+ regex : "(url\\()(.*)(\\))"
187
+ }, {
188
+ token : function(value) {
189
+ if (properties.hasOwnProperty(value.toLowerCase()))
190
+ return "support.type";
191
+ if (keywords.hasOwnProperty(value))
192
+ return "keyword";
193
+ else if (constants.hasOwnProperty(value))
194
+ return "constant.language";
195
+ else if (functions.hasOwnProperty(value))
196
+ return "support.function";
197
+ else if (colors.hasOwnProperty(value.toLowerCase()))
198
+ return "support.constant.color";
199
+ else if (tags.hasOwnProperty(value.toLowerCase()))
200
+ return "variable.language";
201
+ else
202
+ return "text";
203
+ },
204
+ regex : "\\-?[@a-z_][@a-z0-9_\\-]*"
205
+ }, {
206
+ token : "variable",
207
+ regex : "[a-z_\\-$][a-z0-9_\\-$]*\\b"
208
+ }, {
209
+ token: "variable.language",
210
+ regex: "#[a-z0-9-_]+"
211
+ }, {
212
+ token: "variable.language",
213
+ regex: "\\.[a-z0-9-_]+"
214
+ }, {
215
+ token: "variable.language",
216
+ regex: ":[a-z0-9-_]+"
217
+ }, {
218
+ token: "constant",
219
+ regex: "[a-z0-9-_]+"
220
+ }, {
221
+ token : "keyword.operator",
222
+ regex : "<|>|<=|>=|==|!=|-|%|#|\\+|\\$|\\+|\\*"
223
+ }, {
224
+ token : "paren.lparen",
225
+ regex : "[[({]"
226
+ }, {
227
+ token : "paren.rparen",
228
+ regex : "[\\])}]"
229
+ }, {
230
+ token : "text",
231
+ regex : "\\s+"
232
+ }, {
233
+ caseInsensitive: true
234
+ }
235
+ ],
236
+ "comment" : [
237
+ {
238
+ token : "comment", // closing comment
239
+ regex : "\\*\\/",
240
+ next : "start"
241
+ }, {
242
+ defaultToken : "comment"
243
+ }
244
+ ],
245
+ "qqstring" : [
246
+ {
247
+ token : "string",
248
+ regex : '(?:(?:\\\\.)|(?:[^"\\\\]))*?"',
249
+ next : "start"
250
+ }, {
251
+ token : "string",
252
+ regex : '.+'
253
+ }
254
+ ],
255
+ "qstring" : [
256
+ {
257
+ token : "string",
258
+ regex : "(?:(?:\\\\.)|(?:[^'\\\\]))*?'",
259
+ next : "start"
260
+ }, {
261
+ token : "string",
262
+ regex : '.+'
263
+ }
264
+ ]
265
+ };
266
+ };
267
+
268
+ oop.inherits(ScssHighlightRules, TextHighlightRules);
269
+
270
+ exports.ScssHighlightRules = ScssHighlightRules;
271
+
272
+ });
273
+
274
+ define("ace/mode/sass_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/scss_highlight_rules"], function(require, exports, module) {
275
+ "use strict";
276
+
277
+ var oop = require("../lib/oop");
278
+ var lang = require("../lib/lang");
279
+ var ScssHighlightRules = require("./scss_highlight_rules").ScssHighlightRules;
280
+
281
+ var SassHighlightRules = function() {
282
+ ScssHighlightRules.call(this);
283
+ var start = this.$rules.start;
284
+ if (start[1].token == "comment") {
285
+ start.splice(1, 1, {
286
+ onMatch: function(value, currentState, stack) {
287
+ stack.unshift(this.next, -1, value.length - 2, currentState);
288
+ return "comment";
289
+ },
290
+ regex: /^\s*\/\*/,
291
+ next: "comment"
292
+ }, {
293
+ token: "error.invalid",
294
+ regex: "/\\*|[{;}]"
295
+ }, {
296
+ token: "support.type",
297
+ regex: /^\s*:[\w\-]+\s/
298
+ });
299
+
300
+ this.$rules.comment = [
301
+ {regex: /^\s*/, onMatch: function(value, currentState, stack) {
302
+ if (stack[1] === -1)
303
+ stack[1] = Math.max(stack[2], value.length - 1);
304
+ if (value.length <= stack[1]) {
305
+ stack.shift();stack.shift();stack.shift();
306
+ this.next = stack.shift();
307
+ return "text";
308
+ } else {
309
+ this.next = "";
310
+ return "comment";
311
+ }
312
+ }, next: "start"},
313
+ {defaultToken: "comment"}
314
+ ];
315
+ }
316
+ };
317
+
318
+ oop.inherits(SassHighlightRules, ScssHighlightRules);
319
+
320
+ exports.SassHighlightRules = SassHighlightRules;
321
+
322
+ });
323
+
324
+ define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"], function(require, exports, module) {
325
+ "use strict";
326
+
327
+ var oop = require("../../lib/oop");
328
+ var BaseFoldMode = require("./fold_mode").FoldMode;
329
+ var Range = require("../../range").Range;
330
+
331
+ var FoldMode = exports.FoldMode = function() {};
332
+ oop.inherits(FoldMode, BaseFoldMode);
333
+
334
+ (function() {
335
+
336
+ this.getFoldWidgetRange = function(session, foldStyle, row) {
337
+ var range = this.indentationBlock(session, row);
338
+ if (range)
339
+ return range;
340
+
341
+ var re = /\S/;
342
+ var line = session.getLine(row);
343
+ var startLevel = line.search(re);
344
+ if (startLevel == -1 || line[startLevel] != "#")
345
+ return;
346
+
347
+ var startColumn = line.length;
348
+ var maxRow = session.getLength();
349
+ var startRow = row;
350
+ var endRow = row;
351
+
352
+ while (++row < maxRow) {
353
+ line = session.getLine(row);
354
+ var level = line.search(re);
355
+
356
+ if (level == -1)
357
+ continue;
358
+
359
+ if (line[level] != "#")
360
+ break;
361
+
362
+ endRow = row;
363
+ }
364
+
365
+ if (endRow > startRow) {
366
+ var endColumn = session.getLine(endRow).length;
367
+ return new Range(startRow, startColumn, endRow, endColumn);
368
+ }
369
+ };
370
+ this.getFoldWidget = function(session, foldStyle, row) {
371
+ var line = session.getLine(row);
372
+ var indent = line.search(/\S/);
373
+ var next = session.getLine(row + 1);
374
+ var prev = session.getLine(row - 1);
375
+ var prevIndent = prev.search(/\S/);
376
+ var nextIndent = next.search(/\S/);
377
+
378
+ if (indent == -1) {
379
+ session.foldWidgets[row - 1] = prevIndent!= -1 && prevIndent < nextIndent ? "start" : "";
380
+ return "";
381
+ }
382
+ if (prevIndent == -1) {
383
+ if (indent == nextIndent && line[indent] == "#" && next[indent] == "#") {
384
+ session.foldWidgets[row - 1] = "";
385
+ session.foldWidgets[row + 1] = "";
386
+ return "start";
387
+ }
388
+ } else if (prevIndent == indent && line[indent] == "#" && prev[indent] == "#") {
389
+ if (session.getLine(row - 2).search(/\S/) == -1) {
390
+ session.foldWidgets[row - 1] = "start";
391
+ session.foldWidgets[row + 1] = "";
392
+ return "";
393
+ }
394
+ }
395
+
396
+ if (prevIndent!= -1 && prevIndent < indent)
397
+ session.foldWidgets[row - 1] = "start";
398
+ else
399
+ session.foldWidgets[row - 1] = "";
400
+
401
+ if (indent < nextIndent)
402
+ return "start";
403
+ else
404
+ return "";
405
+ };
406
+
407
+ }).call(FoldMode.prototype);
408
+
409
+ });
410
+
411
+ define("ace/mode/sass",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/sass_highlight_rules","ace/mode/folding/coffee"], function(require, exports, module) {
412
+ "use strict";
413
+
414
+ var oop = require("../lib/oop");
415
+ var TextMode = require("./text").Mode;
416
+ var SassHighlightRules = require("./sass_highlight_rules").SassHighlightRules;
417
+ var FoldMode = require("./folding/coffee").FoldMode;
418
+
419
+ var Mode = function() {
420
+ this.HighlightRules = SassHighlightRules;
421
+ this.foldingRules = new FoldMode();
422
+ this.$behaviour = this.$defaultBehaviour;
423
+ };
424
+ oop.inherits(Mode, TextMode);
425
+
426
+ (function() {
427
+ this.lineCommentStart = "//";
428
+ this.$id = "ace/mode/sass";
429
+ }).call(Mode.prototype);
430
+
431
+ exports.Mode = Mode;
432
+
433
+ });
434
+ (function() {
435
+ window.require(["ace/mode/sass"], function(m) {
436
+ if (typeof module == "object" && typeof exports == "object" && module) {
437
+ module.exports = m;
438
+ }
439
+ });
440
+ })();
441
+