card-mod-ace_editor 0.1 → 0.11.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. checksums.yaml +4 -4
  2. data/db/migrate_core_cards/20160804112538_add_ace_cards.rb +1 -1
  3. data/db/migrate_core_cards/20180805112548_delete_ace_help_card.rb +1 -1
  4. data/lib/javascript/script_ace.js +0 -0
  5. data/lib/javascript/script_ace_config.js.coffee +1 -1
  6. data/public/assets/ace/ext-beautify.js +9 -0
  7. data/public/assets/ace/ext-elastic_tabstops_lite.js +9 -0
  8. data/public/assets/ace/ext-emmet.js +9 -0
  9. data/public/assets/ace/ext-error_marker.js +9 -0
  10. data/public/assets/ace/ext-keybinding_menu.js +9 -0
  11. data/public/assets/ace/ext-language_tools.js +9 -0
  12. data/public/assets/ace/ext-linking.js +9 -0
  13. data/public/assets/ace/ext-modelist.js +9 -0
  14. data/public/assets/ace/ext-options.js +9 -0
  15. data/public/assets/ace/ext-searchbox.js +9 -0
  16. data/public/assets/ace/ext-settings_menu.js +9 -0
  17. data/public/assets/ace/ext-spellcheck.js +9 -0
  18. data/public/assets/ace/ext-split.js +9 -0
  19. data/public/assets/ace/ext-static_highlight.js +9 -0
  20. data/public/assets/ace/ext-statusbar.js +9 -0
  21. data/public/assets/ace/ext-textarea.js +9 -0
  22. data/public/assets/ace/ext-themelist.js +9 -0
  23. data/public/assets/ace/ext-whitespace.js +9 -0
  24. data/public/assets/ace/keybinding-emacs.js +9 -0
  25. data/public/assets/ace/keybinding-vim.js +9 -0
  26. data/public/assets/ace/mode-abap.js +9 -0
  27. data/public/assets/ace/mode-abc.js +9 -0
  28. data/public/assets/ace/mode-actionscript.js +9 -0
  29. data/public/assets/ace/mode-ada.js +9 -0
  30. data/public/assets/ace/mode-apache_conf.js +9 -0
  31. data/public/assets/ace/mode-applescript.js +9 -0
  32. data/public/assets/ace/mode-asciidoc.js +9 -0
  33. data/public/assets/ace/mode-asl.js +9 -0
  34. data/public/assets/ace/mode-assembly_x86.js +9 -0
  35. data/public/assets/ace/mode-autohotkey.js +9 -0
  36. data/public/assets/ace/mode-batchfile.js +9 -0
  37. data/public/assets/ace/mode-bro.js +9 -0
  38. data/public/assets/ace/mode-c9search.js +9 -0
  39. data/public/assets/ace/mode-c_cpp.js +9 -0
  40. data/public/assets/ace/mode-cirru.js +9 -0
  41. data/public/assets/ace/mode-clojure.js +9 -0
  42. data/public/assets/ace/mode-cobol.js +9 -0
  43. data/public/assets/ace/mode-coffee.js +9 -0
  44. data/public/assets/ace/mode-coldfusion.js +9 -0
  45. data/public/assets/ace/mode-csharp.js +9 -0
  46. data/public/assets/ace/mode-csound_document.js +9 -0
  47. data/public/assets/ace/mode-csound_orchestra.js +9 -0
  48. data/public/assets/ace/mode-csound_score.js +9 -0
  49. data/public/assets/ace/mode-csp.js +9 -0
  50. data/public/assets/ace/mode-css.js +9 -0
  51. data/public/assets/ace/mode-curly.js +9 -0
  52. data/public/assets/ace/mode-d.js +9 -0
  53. data/public/assets/ace/mode-dart.js +9 -0
  54. data/public/assets/ace/mode-diff.js +9 -0
  55. data/public/assets/ace/mode-django.js +9 -0
  56. data/public/assets/ace/mode-dockerfile.js +9 -0
  57. data/public/assets/ace/mode-dot.js +9 -0
  58. data/public/assets/ace/mode-drools.js +9 -0
  59. data/public/assets/ace/mode-edifact.js +9 -0
  60. data/public/assets/ace/mode-eiffel.js +9 -0
  61. data/public/assets/ace/mode-ejs.js +9 -0
  62. data/public/assets/ace/mode-elixir.js +9 -0
  63. data/public/assets/ace/mode-elm.js +9 -0
  64. data/public/assets/ace/mode-erlang.js +9 -0
  65. data/public/assets/ace/mode-forth.js +9 -0
  66. data/public/assets/ace/mode-fortran.js +9 -0
  67. data/public/assets/ace/mode-ftl.js +9 -0
  68. data/public/assets/ace/mode-gcode.js +9 -0
  69. data/public/assets/ace/mode-gherkin.js +9 -0
  70. data/public/assets/ace/mode-gitignore.js +9 -0
  71. data/public/assets/ace/mode-glsl.js +9 -0
  72. data/public/assets/ace/mode-gobstones.js +9 -0
  73. data/public/assets/ace/mode-golang.js +9 -0
  74. data/public/assets/ace/mode-graphqlschema.js +9 -0
  75. data/public/assets/ace/mode-groovy.js +9 -0
  76. data/public/assets/ace/mode-haml.js +9 -0
  77. data/public/assets/ace/mode-handlebars.js +9 -0
  78. data/public/assets/ace/mode-haskell.js +9 -0
  79. data/public/assets/ace/mode-haskell_cabal.js +9 -0
  80. data/public/assets/ace/mode-haxe.js +9 -0
  81. data/public/assets/ace/mode-hjson.js +9 -0
  82. data/public/assets/ace/mode-html.js +9 -0
  83. data/public/assets/ace/mode-html_elixir.js +9 -0
  84. data/public/assets/ace/mode-html_ruby.js +9 -0
  85. data/public/assets/ace/mode-ini.js +9 -0
  86. data/public/assets/ace/mode-io.js +9 -0
  87. data/public/assets/ace/mode-jack.js +9 -0
  88. data/public/assets/ace/mode-jade.js +9 -0
  89. data/public/assets/ace/mode-java.js +9 -0
  90. data/public/assets/ace/mode-javascript.js +9 -0
  91. data/public/assets/ace/mode-json.js +9 -0
  92. data/public/assets/ace/mode-jsoniq.js +9 -0
  93. data/public/assets/ace/mode-jsp.js +9 -0
  94. data/public/assets/ace/mode-jssm.js +9 -0
  95. data/public/assets/ace/mode-jsx.js +9 -0
  96. data/public/assets/ace/mode-julia.js +9 -0
  97. data/public/assets/ace/mode-kotlin.js +9 -0
  98. data/public/assets/ace/mode-latex.js +9 -0
  99. data/public/assets/ace/mode-less.js +9 -0
  100. data/public/assets/ace/mode-liquid.js +9 -0
  101. data/public/assets/ace/mode-lisp.js +9 -0
  102. data/public/assets/ace/mode-livescript.js +9 -0
  103. data/public/assets/ace/mode-logiql.js +9 -0
  104. data/public/assets/ace/mode-lsl.js +9 -0
  105. data/public/assets/ace/mode-lua.js +9 -0
  106. data/public/assets/ace/mode-luapage.js +9 -0
  107. data/public/assets/ace/mode-lucene.js +9 -0
  108. data/public/assets/ace/mode-makefile.js +9 -0
  109. data/public/assets/ace/mode-markdown.js +9 -0
  110. data/public/assets/ace/mode-mask.js +9 -0
  111. data/public/assets/ace/mode-matlab.js +9 -0
  112. data/public/assets/ace/mode-maze.js +9 -0
  113. data/public/assets/ace/mode-mel.js +9 -0
  114. data/public/assets/ace/mode-mixal.js +9 -0
  115. data/public/assets/ace/mode-mushcode.js +9 -0
  116. data/public/assets/ace/mode-mysql.js +9 -0
  117. data/public/assets/ace/mode-nix.js +9 -0
  118. data/public/assets/ace/mode-nsis.js +9 -0
  119. data/public/assets/ace/mode-objectivec.js +9 -0
  120. data/public/assets/ace/mode-ocaml.js +9 -0
  121. data/public/assets/ace/mode-pascal.js +9 -0
  122. data/public/assets/ace/mode-perl.js +9 -0
  123. data/public/assets/ace/mode-pgsql.js +9 -0
  124. data/public/assets/ace/mode-php.js +9 -0
  125. data/public/assets/ace/mode-pig.js +9 -0
  126. data/public/assets/ace/mode-plain_text.js +9 -0
  127. data/public/assets/ace/mode-powershell.js +9 -0
  128. data/public/assets/ace/mode-praat.js +9 -0
  129. data/public/assets/ace/mode-prolog.js +9 -0
  130. data/public/assets/ace/mode-properties.js +9 -0
  131. data/public/assets/ace/mode-protobuf.js +9 -0
  132. data/public/assets/ace/mode-python.js +9 -0
  133. data/public/assets/ace/mode-r.js +9 -0
  134. data/public/assets/ace/mode-razor.js +9 -0
  135. data/public/assets/ace/mode-rdoc.js +9 -0
  136. data/public/assets/ace/mode-red.js +9 -0
  137. data/public/assets/ace/mode-redshift.js +9 -0
  138. data/public/assets/ace/mode-rhtml.js +9 -0
  139. data/public/assets/ace/mode-rst.js +9 -0
  140. data/public/assets/ace/mode-ruby.js +9 -0
  141. data/public/assets/ace/mode-rust.js +9 -0
  142. data/public/assets/ace/mode-sass.js +9 -0
  143. data/public/assets/ace/mode-scad.js +9 -0
  144. data/public/assets/ace/mode-scala.js +9 -0
  145. data/public/assets/ace/mode-scheme.js +9 -0
  146. data/public/assets/ace/mode-scss.js +9 -0
  147. data/public/assets/ace/mode-sh.js +9 -0
  148. data/public/assets/ace/mode-sjs.js +9 -0
  149. data/public/assets/ace/mode-smarty.js +9 -0
  150. data/public/assets/ace/mode-snippets.js +9 -0
  151. data/public/assets/ace/mode-soy_template.js +9 -0
  152. data/public/assets/ace/mode-space.js +9 -0
  153. data/public/assets/ace/mode-sparql.js +9 -0
  154. data/public/assets/ace/mode-sql.js +9 -0
  155. data/public/assets/ace/mode-sqlserver.js +9 -0
  156. data/public/assets/ace/mode-stylus.js +9 -0
  157. data/public/assets/ace/mode-svg.js +9 -0
  158. data/public/assets/ace/mode-swift.js +9 -0
  159. data/public/assets/ace/mode-tcl.js +9 -0
  160. data/public/assets/ace/mode-tex.js +9 -0
  161. data/public/assets/ace/mode-text.js +9 -0
  162. data/public/assets/ace/mode-textile.js +9 -0
  163. data/public/assets/ace/mode-toml.js +9 -0
  164. data/public/assets/ace/mode-tsx.js +9 -0
  165. data/public/assets/ace/mode-turtle.js +9 -0
  166. data/public/assets/ace/mode-twig.js +9 -0
  167. data/public/assets/ace/mode-typescript.js +9 -0
  168. data/public/assets/ace/mode-vala.js +9 -0
  169. data/public/assets/ace/mode-vbscript.js +9 -0
  170. data/public/assets/ace/mode-velocity.js +9 -0
  171. data/public/assets/ace/mode-verilog.js +9 -0
  172. data/public/assets/ace/mode-vhdl.js +9 -0
  173. data/public/assets/ace/mode-wollok.js +9 -0
  174. data/public/assets/ace/mode-xml.js +9 -0
  175. data/public/assets/ace/mode-xquery.js +9 -0
  176. data/public/assets/ace/mode-yaml.js +9 -0
  177. data/public/assets/ace/snippets/abap.js +9 -0
  178. data/public/assets/ace/snippets/abc.js +9 -0
  179. data/public/assets/ace/snippets/actionscript.js +9 -0
  180. data/public/assets/ace/snippets/ada.js +9 -0
  181. data/public/assets/ace/snippets/apache_conf.js +9 -0
  182. data/public/assets/ace/snippets/applescript.js +9 -0
  183. data/public/assets/ace/snippets/asciidoc.js +9 -0
  184. data/public/assets/ace/snippets/asl.js +9 -0
  185. data/public/assets/ace/snippets/assembly_x86.js +9 -0
  186. data/public/assets/ace/snippets/autohotkey.js +9 -0
  187. data/public/assets/ace/snippets/batchfile.js +9 -0
  188. data/public/assets/ace/snippets/bro.js +9 -0
  189. data/public/assets/ace/snippets/c9search.js +9 -0
  190. data/public/assets/ace/snippets/c_cpp.js +9 -0
  191. data/public/assets/ace/snippets/cirru.js +9 -0
  192. data/public/assets/ace/snippets/clojure.js +9 -0
  193. data/public/assets/ace/snippets/cobol.js +9 -0
  194. data/public/assets/ace/snippets/coffee.js +9 -0
  195. data/public/assets/ace/snippets/coldfusion.js +9 -0
  196. data/public/assets/ace/snippets/csharp.js +9 -0
  197. data/public/assets/ace/snippets/csound_document.js +9 -0
  198. data/public/assets/ace/snippets/csound_orchestra.js +9 -0
  199. data/public/assets/ace/snippets/csound_score.js +9 -0
  200. data/public/assets/ace/snippets/csp.js +9 -0
  201. data/public/assets/ace/snippets/css.js +9 -0
  202. data/public/assets/ace/snippets/curly.js +9 -0
  203. data/public/assets/ace/snippets/d.js +9 -0
  204. data/public/assets/ace/snippets/dart.js +9 -0
  205. data/public/assets/ace/snippets/diff.js +9 -0
  206. data/public/assets/ace/snippets/django.js +9 -0
  207. data/public/assets/ace/snippets/dockerfile.js +9 -0
  208. data/public/assets/ace/snippets/dot.js +9 -0
  209. data/public/assets/ace/snippets/drools.js +9 -0
  210. data/public/assets/ace/snippets/edifact.js +9 -0
  211. data/public/assets/ace/snippets/eiffel.js +9 -0
  212. data/public/assets/ace/snippets/ejs.js +9 -0
  213. data/public/assets/ace/snippets/elixir.js +9 -0
  214. data/public/assets/ace/snippets/elm.js +9 -0
  215. data/public/assets/ace/snippets/erlang.js +9 -0
  216. data/public/assets/ace/snippets/forth.js +9 -0
  217. data/public/assets/ace/snippets/fortran.js +9 -0
  218. data/public/assets/ace/snippets/ftl.js +9 -0
  219. data/public/assets/ace/snippets/gcode.js +9 -0
  220. data/public/assets/ace/snippets/gherkin.js +9 -0
  221. data/public/assets/ace/snippets/gitignore.js +9 -0
  222. data/public/assets/ace/snippets/glsl.js +9 -0
  223. data/public/assets/ace/snippets/gobstones.js +9 -0
  224. data/public/assets/ace/snippets/golang.js +9 -0
  225. data/public/assets/ace/snippets/graphqlschema.js +9 -0
  226. data/public/assets/ace/snippets/groovy.js +9 -0
  227. data/public/assets/ace/snippets/haml.js +9 -0
  228. data/public/assets/ace/snippets/handlebars.js +9 -0
  229. data/public/assets/ace/snippets/haskell.js +9 -0
  230. data/public/assets/ace/snippets/haskell_cabal.js +9 -0
  231. data/public/assets/ace/snippets/haxe.js +9 -0
  232. data/public/assets/ace/snippets/hjson.js +9 -0
  233. data/public/assets/ace/snippets/html.js +9 -0
  234. data/public/assets/ace/snippets/html_elixir.js +9 -0
  235. data/public/assets/ace/snippets/html_ruby.js +9 -0
  236. data/public/assets/ace/snippets/ini.js +9 -0
  237. data/public/assets/ace/snippets/io.js +9 -0
  238. data/public/assets/ace/snippets/jack.js +9 -0
  239. data/public/assets/ace/snippets/jade.js +9 -0
  240. data/public/assets/ace/snippets/java.js +9 -0
  241. data/public/assets/ace/snippets/javascript.js +9 -0
  242. data/public/assets/ace/snippets/json.js +9 -0
  243. data/public/assets/ace/snippets/jsoniq.js +9 -0
  244. data/public/assets/ace/snippets/jsp.js +9 -0
  245. data/public/assets/ace/snippets/jssm.js +9 -0
  246. data/public/assets/ace/snippets/jsx.js +9 -0
  247. data/public/assets/ace/snippets/julia.js +9 -0
  248. data/public/assets/ace/snippets/kotlin.js +9 -0
  249. data/public/assets/ace/snippets/latex.js +9 -0
  250. data/public/assets/ace/snippets/less.js +9 -0
  251. data/public/assets/ace/snippets/liquid.js +9 -0
  252. data/public/assets/ace/snippets/lisp.js +9 -0
  253. data/public/assets/ace/snippets/livescript.js +9 -0
  254. data/public/assets/ace/snippets/logiql.js +9 -0
  255. data/public/assets/ace/snippets/lsl.js +9 -0
  256. data/public/assets/ace/snippets/lua.js +9 -0
  257. data/public/assets/ace/snippets/luapage.js +9 -0
  258. data/public/assets/ace/snippets/lucene.js +9 -0
  259. data/public/assets/ace/snippets/makefile.js +9 -0
  260. data/public/assets/ace/snippets/markdown.js +9 -0
  261. data/public/assets/ace/snippets/mask.js +9 -0
  262. data/public/assets/ace/snippets/matlab.js +9 -0
  263. data/public/assets/ace/snippets/maze.js +9 -0
  264. data/public/assets/ace/snippets/mel.js +9 -0
  265. data/public/assets/ace/snippets/mixal.js +9 -0
  266. data/public/assets/ace/snippets/mushcode.js +9 -0
  267. data/public/assets/ace/snippets/mysql.js +9 -0
  268. data/public/assets/ace/snippets/nix.js +9 -0
  269. data/public/assets/ace/snippets/nsis.js +9 -0
  270. data/public/assets/ace/snippets/objectivec.js +9 -0
  271. data/public/assets/ace/snippets/ocaml.js +9 -0
  272. data/public/assets/ace/snippets/pascal.js +9 -0
  273. data/public/assets/ace/snippets/perl.js +9 -0
  274. data/public/assets/ace/snippets/pgsql.js +9 -0
  275. data/public/assets/ace/snippets/php.js +9 -0
  276. data/public/assets/ace/snippets/pig.js +9 -0
  277. data/public/assets/ace/snippets/plain_text.js +9 -0
  278. data/public/assets/ace/snippets/powershell.js +9 -0
  279. data/public/assets/ace/snippets/praat.js +9 -0
  280. data/public/assets/ace/snippets/prolog.js +9 -0
  281. data/public/assets/ace/snippets/properties.js +9 -0
  282. data/public/assets/ace/snippets/protobuf.js +9 -0
  283. data/public/assets/ace/snippets/python.js +9 -0
  284. data/public/assets/ace/snippets/r.js +9 -0
  285. data/public/assets/ace/snippets/razor.js +9 -0
  286. data/public/assets/ace/snippets/rdoc.js +9 -0
  287. data/public/assets/ace/snippets/red.js +9 -0
  288. data/public/assets/ace/snippets/redshift.js +9 -0
  289. data/public/assets/ace/snippets/rhtml.js +9 -0
  290. data/public/assets/ace/snippets/rst.js +9 -0
  291. data/public/assets/ace/snippets/ruby.js +9 -0
  292. data/public/assets/ace/snippets/rust.js +9 -0
  293. data/public/assets/ace/snippets/sass.js +9 -0
  294. data/public/assets/ace/snippets/scad.js +9 -0
  295. data/public/assets/ace/snippets/scala.js +9 -0
  296. data/public/assets/ace/snippets/scheme.js +9 -0
  297. data/public/assets/ace/snippets/scss.js +9 -0
  298. data/public/assets/ace/snippets/sh.js +9 -0
  299. data/public/assets/ace/snippets/sjs.js +9 -0
  300. data/public/assets/ace/snippets/smarty.js +9 -0
  301. data/public/assets/ace/snippets/snippets.js +9 -0
  302. data/public/assets/ace/snippets/soy_template.js +9 -0
  303. data/public/assets/ace/snippets/space.js +9 -0
  304. data/public/assets/ace/snippets/sparql.js +9 -0
  305. data/public/assets/ace/snippets/sql.js +9 -0
  306. data/public/assets/ace/snippets/sqlserver.js +9 -0
  307. data/public/assets/ace/snippets/stylus.js +9 -0
  308. data/public/assets/ace/snippets/svg.js +9 -0
  309. data/public/assets/ace/snippets/swift.js +9 -0
  310. data/public/assets/ace/snippets/tcl.js +9 -0
  311. data/public/assets/ace/snippets/tex.js +9 -0
  312. data/public/assets/ace/snippets/text.js +9 -0
  313. data/public/assets/ace/snippets/textile.js +9 -0
  314. data/public/assets/ace/snippets/toml.js +9 -0
  315. data/public/assets/ace/snippets/tsx.js +9 -0
  316. data/public/assets/ace/snippets/turtle.js +9 -0
  317. data/public/assets/ace/snippets/twig.js +9 -0
  318. data/public/assets/ace/snippets/typescript.js +9 -0
  319. data/public/assets/ace/snippets/vala.js +9 -0
  320. data/public/assets/ace/snippets/vbscript.js +9 -0
  321. data/public/assets/ace/snippets/velocity.js +9 -0
  322. data/public/assets/ace/snippets/verilog.js +9 -0
  323. data/public/assets/ace/snippets/vhdl.js +9 -0
  324. data/public/assets/ace/snippets/wollok.js +9 -0
  325. data/public/assets/ace/snippets/xml.js +9 -0
  326. data/public/assets/ace/snippets/xquery.js +9 -0
  327. data/public/assets/ace/snippets/yaml.js +9 -0
  328. data/public/assets/ace/theme-ambiance.js +9 -0
  329. data/public/assets/ace/theme-chaos.js +9 -0
  330. data/public/assets/ace/theme-chrome.js +9 -0
  331. data/public/assets/ace/theme-clouds.js +9 -0
  332. data/public/assets/ace/theme-clouds_midnight.js +9 -0
  333. data/public/assets/ace/theme-cobalt.js +9 -0
  334. data/public/assets/ace/theme-crimson_editor.js +9 -0
  335. data/public/assets/ace/theme-dawn.js +9 -0
  336. data/public/assets/ace/theme-dracula.js +9 -0
  337. data/public/assets/ace/theme-dreamweaver.js +9 -0
  338. data/public/assets/ace/theme-eclipse.js +9 -0
  339. data/public/assets/ace/theme-github.js +9 -0
  340. data/public/assets/ace/theme-gob.js +9 -0
  341. data/public/assets/ace/theme-gruvbox.js +9 -0
  342. data/public/assets/ace/theme-idle_fingers.js +9 -0
  343. data/public/assets/ace/theme-iplastic.js +9 -0
  344. data/public/assets/ace/theme-katzenmilch.js +9 -0
  345. data/public/assets/ace/theme-kr_theme.js +9 -0
  346. data/public/assets/ace/theme-kuroir.js +9 -0
  347. data/public/assets/ace/theme-merbivore.js +9 -0
  348. data/public/assets/ace/theme-merbivore_soft.js +9 -0
  349. data/public/assets/ace/theme-mono_industrial.js +9 -0
  350. data/public/assets/ace/theme-monokai.js +9 -0
  351. data/public/assets/ace/theme-pastel_on_dark.js +9 -0
  352. data/public/assets/ace/theme-solarized_dark.js +9 -0
  353. data/public/assets/ace/theme-solarized_light.js +9 -0
  354. data/public/assets/ace/theme-sqlserver.js +9 -0
  355. data/public/assets/ace/theme-terminal.js +9 -0
  356. data/public/assets/ace/theme-textmate.js +9 -0
  357. data/public/assets/ace/theme-tomorrow.js +9 -0
  358. data/public/assets/ace/theme-tomorrow_night.js +9 -0
  359. data/public/assets/ace/theme-tomorrow_night_blue.js +9 -0
  360. data/public/assets/ace/theme-tomorrow_night_bright.js +9 -0
  361. data/public/assets/ace/theme-tomorrow_night_eighties.js +9 -0
  362. data/public/assets/ace/theme-twilight.js +9 -0
  363. data/public/assets/ace/theme-vibrant_ink.js +9 -0
  364. data/public/assets/ace/theme-xcode.js +9 -0
  365. data/public/assets/ace/worker-coffee.js +1 -0
  366. data/public/assets/ace/worker-css.js +1 -0
  367. data/public/assets/ace/worker-html.js +1 -0
  368. data/public/assets/ace/worker-javascript.js +1 -0
  369. data/public/assets/ace/worker-json.js +1 -0
  370. data/public/assets/ace/worker-lua.js +1 -0
  371. data/public/assets/ace/worker-php.js +1 -0
  372. data/public/assets/ace/worker-xml.js +1 -0
  373. data/public/assets/ace/worker-xquery.js +1 -0
  374. metadata +409 -9
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/protobuf",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="protobuf"});
2
+ (function() {
3
+ ace.require(["ace/snippets/protobuf"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/python",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='snippet #!\n #!/usr/bin/env python\nsnippet imp\n import ${1:module}\nsnippet from\n from ${1:package} import ${2:module}\n# Module Docstring\nsnippet docs\n \'\'\'\n File: ${1:FILENAME:file_name}\n Author: ${2:author}\n Description: ${3}\n \'\'\'\nsnippet wh\n while ${1:condition}:\n ${2:# TODO: write code...}\n# dowh - does the same as do...while in other languages\nsnippet dowh\n while True:\n ${1:# TODO: write code...}\n if ${2:condition}:\n break\nsnippet with\n with ${1:expr} as ${2:var}:\n ${3:# TODO: write code...}\n# New Class\nsnippet cl\n class ${1:ClassName}(${2:object}):\n """${3:docstring for $1}"""\n def __init__(self, ${4:arg}):\n ${5:super($1, self).__init__()}\n self.$4 = $4\n ${6}\n# New Function\nsnippet def\n def ${1:fname}(${2:`indent(\'.\') ? \'self\' : \'\'`}):\n """${3:docstring for $1}"""\n ${4:# TODO: write code...}\nsnippet deff\n def ${1:fname}(${2:`indent(\'.\') ? \'self\' : \'\'`}):\n ${3:# TODO: write code...}\n# New Method\nsnippet defs\n def ${1:mname}(self, ${2:arg}):\n ${3:# TODO: write code...}\n# New Property\nsnippet property\n def ${1:foo}():\n doc = "${2:The $1 property.}"\n def fget(self):\n ${3:return self._$1}\n def fset(self, value):\n ${4:self._$1 = value}\n# Ifs\nsnippet if\n if ${1:condition}:\n ${2:# TODO: write code...}\nsnippet el\n else:\n ${1:# TODO: write code...}\nsnippet ei\n elif ${1:condition}:\n ${2:# TODO: write code...}\n# For\nsnippet for\n for ${1:item} in ${2:items}:\n ${3:# TODO: write code...}\n# Encodes\nsnippet cutf8\n # -*- coding: utf-8 -*-\nsnippet clatin1\n # -*- coding: latin-1 -*-\nsnippet cascii\n # -*- coding: ascii -*-\n# Lambda\nsnippet ld\n ${1:var} = lambda ${2:vars} : ${3:action}\nsnippet .\n self.\nsnippet try Try/Except\n try:\n ${1:# TODO: write code...}\n except ${2:Exception}, ${3:e}:\n ${4:raise $3}\nsnippet try Try/Except/Else\n try:\n ${1:# TODO: write code...}\n except ${2:Exception}, ${3:e}:\n ${4:raise $3}\n else:\n ${5:# TODO: write code...}\nsnippet try Try/Except/Finally\n try:\n ${1:# TODO: write code...}\n except ${2:Exception}, ${3:e}:\n ${4:raise $3}\n finally:\n ${5:# TODO: write code...}\nsnippet try Try/Except/Else/Finally\n try:\n ${1:# TODO: write code...}\n except ${2:Exception}, ${3:e}:\n ${4:raise $3}\n else:\n ${5:# TODO: write code...}\n finally:\n ${6:# TODO: write code...}\n# if __name__ == \'__main__\':\nsnippet ifmain\n if __name__ == \'__main__\':\n ${1:main()}\n# __magic__\nsnippet _\n __${1:init}__${2}\n# python debugger (pdb)\nsnippet pdb\n import pdb; pdb.set_trace()\n# ipython debugger (ipdb)\nsnippet ipdb\n import ipdb; ipdb.set_trace()\n# ipython debugger (pdbbb)\nsnippet pdbbb\n import pdbpp; pdbpp.set_trace()\nsnippet pprint\n import pprint; pprint.pprint(${1})${2}\nsnippet "\n """\n ${1:doc}\n """\n# test function/method\nsnippet test\n def test_${1:description}(${2:self}):\n ${3:# TODO: write code...}\n# test case\nsnippet testcase\n class ${1:ExampleCase}(unittest.TestCase):\n \n def test_${2:description}(self):\n ${3:# TODO: write code...}\nsnippet fut\n from __future__ import ${1}\n#getopt\nsnippet getopt\n try:\n # Short option syntax: "hv:"\n # Long option syntax: "help" or "verbose="\n opts, args = getopt.getopt(sys.argv[1:], "${1:short_options}", [${2:long_options}])\n \n except getopt.GetoptError, err:\n # Print debug info\n print str(err)\n ${3:error_action}\n\n for option, argument in opts:\n if option in ("-h", "--help"):\n ${4}\n elif option in ("-v", "--verbose"):\n verbose = argument\n',t.scope="python"});
2
+ (function() {
3
+ ace.require(["ace/snippets/python"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/r",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='snippet #!\n #!/usr/bin/env Rscript\n\n# includes\nsnippet lib\n library(${1:package})\nsnippet req\n require(${1:package})\nsnippet source\n source(\'${1:file}\')\n\n# conditionals\nsnippet if\n if (${1:condition}) {\n ${2:code}\n }\nsnippet el\n else {\n ${1:code}\n }\nsnippet ei\n else if (${1:condition}) {\n ${2:code}\n }\n\n# functions\nsnippet fun\n ${1:name} = function (${2:variables}) {\n ${3:code}\n }\nsnippet ret\n return(${1:code})\n\n# dataframes, lists, etc\nsnippet df\n ${1:name}[${2:rows}, ${3:cols}]\nsnippet c\n c(${1:items})\nsnippet li\n list(${1:items})\nsnippet mat\n matrix(${1:data}, nrow=${2:rows}, ncol=${3:cols})\n\n# apply functions\nsnippet apply\n apply(${1:array}, ${2:margin}, ${3:function})\nsnippet lapply\n lapply(${1:list}, ${2:function})\nsnippet sapply\n sapply(${1:list}, ${2:function})\nsnippet vapply\n vapply(${1:list}, ${2:function}, ${3:type})\nsnippet mapply\n mapply(${1:function}, ${2:...})\nsnippet tapply\n tapply(${1:vector}, ${2:index}, ${3:function})\nsnippet rapply\n rapply(${1:list}, ${2:function})\n\n# plyr functions\nsnippet dd\n ddply(${1:frame}, ${2:variables}, ${3:function})\nsnippet dl\n dlply(${1:frame}, ${2:variables}, ${3:function})\nsnippet da\n daply(${1:frame}, ${2:variables}, ${3:function})\nsnippet d_\n d_ply(${1:frame}, ${2:variables}, ${3:function})\n\nsnippet ad\n adply(${1:array}, ${2:margin}, ${3:function})\nsnippet al\n alply(${1:array}, ${2:margin}, ${3:function})\nsnippet aa\n aaply(${1:array}, ${2:margin}, ${3:function})\nsnippet a_\n a_ply(${1:array}, ${2:margin}, ${3:function})\n\nsnippet ld\n ldply(${1:list}, ${2:function})\nsnippet ll\n llply(${1:list}, ${2:function})\nsnippet la\n laply(${1:list}, ${2:function})\nsnippet l_\n l_ply(${1:list}, ${2:function})\n\nsnippet md\n mdply(${1:matrix}, ${2:function})\nsnippet ml\n mlply(${1:matrix}, ${2:function})\nsnippet ma\n maply(${1:matrix}, ${2:function})\nsnippet m_\n m_ply(${1:matrix}, ${2:function})\n\n# plot functions\nsnippet pl\n plot(${1:x}, ${2:y})\nsnippet ggp\n ggplot(${1:data}, aes(${2:aesthetics}))\nsnippet img\n ${1:(jpeg,bmp,png,tiff)}(filename="${2:filename}", width=${3}, height=${4}, unit="${5}")\n ${6:plot}\n dev.off()\n\n# statistical test functions\nsnippet fis\n fisher.test(${1:x}, ${2:y})\nsnippet chi\n chisq.test(${1:x}, ${2:y})\nsnippet tt\n t.test(${1:x}, ${2:y})\nsnippet wil\n wilcox.test(${1:x}, ${2:y})\nsnippet cor\n cor.test(${1:x}, ${2:y})\nsnippet fte\n var.test(${1:x}, ${2:y})\nsnippet kvt \n kv.test(${1:x}, ${2:y})\n',t.scope="r"});
2
+ (function() {
3
+ ace.require(["ace/snippets/r"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/razor",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet if\n(${1} == ${2}) {\n ${3}\n}",t.scope="razor"});
2
+ (function() {
3
+ ace.require(["ace/snippets/razor"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/rdoc",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="rdoc"});
2
+ (function() {
3
+ ace.require(["ace/snippets/rdoc"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/red",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=" ",t.scope="red"});
2
+ (function() {
3
+ ace.require(["ace/snippets/red"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/redshift",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="redshift"});
2
+ (function() {
3
+ ace.require(["ace/snippets/redshift"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/rhtml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="rhtml"});
2
+ (function() {
3
+ ace.require(["ace/snippets/rhtml"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/rst",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="# rst\n\nsnippet :\n :${1:field name}: ${2:field body}\nsnippet *\n *${1:Emphasis}*\nsnippet **\n **${1:Strong emphasis}**\nsnippet _\n \\`${1:hyperlink-name}\\`_\n .. _\\`$1\\`: ${2:link-block}\nsnippet =\n ${1:Title}\n =====${2:=}\n ${3}\nsnippet -\n ${1:Title}\n -----${2:-}\n ${3}\nsnippet cont:\n .. contents::\n \n",t.scope="rst"});
2
+ (function() {
3
+ ace.require(["ace/snippets/rst"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/ruby",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='########################################\n# Ruby snippets - for Rails, see below #\n########################################\n\n# encoding for Ruby 1.9\nsnippet enc\n # encoding: utf-8\n\n# #!/usr/bin/env ruby\nsnippet #!\n #!/usr/bin/env ruby\n # encoding: utf-8\n\n# New Block\nsnippet =b\n =begin rdoc\n ${1}\n =end\nsnippet y\n :yields: ${1:arguments}\nsnippet rb\n #!/usr/bin/env ruby -wKU\nsnippet beg\n begin\n ${3}\n rescue ${1:Exception} => ${2:e}\n end\n\nsnippet req require\n require "${1}"${2}\nsnippet #\n # =>\nsnippet end\n __END__\nsnippet case\n case ${1:object}\n when ${2:condition}\n ${3}\n end\nsnippet when\n when ${1:condition}\n ${2}\nsnippet def\n def ${1:method_name}\n ${2}\n end\nsnippet deft\n def test_${1:case_name}\n ${2}\n end\nsnippet if\n if ${1:condition}\n ${2}\n end\nsnippet ife\n if ${1:condition}\n ${2}\n else\n ${3}\n end\nsnippet elsif\n elsif ${1:condition}\n ${2}\nsnippet unless\n unless ${1:condition}\n ${2}\n end\nsnippet while\n while ${1:condition}\n ${2}\n end\nsnippet for\n for ${1:e} in ${2:c}\n ${3}\n end\nsnippet until\n until ${1:condition}\n ${2}\n end\nsnippet cla class .. end\n class ${1:`substitute(Filename(), \'\\(_\\|^\\)\\(.\\)\', \'\\u\\2\', \'g\')`}\n ${2}\n end\nsnippet cla class .. initialize .. end\n class ${1:`substitute(Filename(), \'\\(_\\|^\\)\\(.\\)\', \'\\u\\2\', \'g\')`}\n def initialize(${2:args})\n ${3}\n end\n end\nsnippet cla class .. < ParentClass .. initialize .. end\n class ${1:`substitute(Filename(), \'\\(_\\|^\\)\\(.\\)\', \'\\u\\2\', \'g\')`} < ${2:ParentClass}\n def initialize(${3:args})\n ${4}\n end\n end\nsnippet cla ClassName = Struct .. do .. end\n ${1:`substitute(Filename(), \'\\(_\\|^\\)\\(.\\)\', \'\\u\\2\', \'g\')`} = Struct.new(:${2:attr_names}) do\n def ${3:method_name}\n ${4}\n end\n end\nsnippet cla class BlankSlate .. initialize .. end\n class ${1:BlankSlate}\n instance_methods.each { |meth| undef_method(meth) unless meth =~ /\\A__/ }\n end\nsnippet cla class << self .. end\n class << ${1:self}\n ${2}\n end\n# class .. < DelegateClass .. initialize .. end\nsnippet cla-\n class ${1:`substitute(Filename(), \'\\(_\\|^\\)\\(.\\)\', \'\\u\\2\', \'g\')`} < DelegateClass(${2:ParentClass})\n def initialize(${3:args})\n super(${4:del_obj})\n\n ${5}\n end\n end\nsnippet mod module .. end\n module ${1:`substitute(Filename(), \'\\(_\\|^\\)\\(.\\)\', \'\\u\\2\', \'g\')`}\n ${2}\n end\nsnippet mod module .. module_function .. end\n module ${1:`substitute(Filename(), \'\\(_\\|^\\)\\(.\\)\', \'\\u\\2\', \'g\')`}\n module_function\n\n ${2}\n end\nsnippet mod module .. ClassMethods .. end\n module ${1:`substitute(Filename(), \'\\(_\\|^\\)\\(.\\)\', \'\\u\\2\', \'g\')`}\n module ClassMethods\n ${2}\n end\n\n module InstanceMethods\n\n end\n\n def self.included(receiver)\n receiver.extend ClassMethods\n receiver.send :include, InstanceMethods\n end\n end\n# attr_reader\nsnippet r\n attr_reader :${1:attr_names}\n# attr_writer\nsnippet w\n attr_writer :${1:attr_names}\n# attr_accessor\nsnippet rw\n attr_accessor :${1:attr_names}\nsnippet atp\n attr_protected :${1:attr_names}\nsnippet ata\n attr_accessible :${1:attr_names}\n# include Enumerable\nsnippet Enum\n include Enumerable\n\n def each(&block)\n ${1}\n end\n# include Comparable\nsnippet Comp\n include Comparable\n\n def <=>(other)\n ${1}\n end\n# extend Forwardable\nsnippet Forw-\n extend Forwardable\n# def self\nsnippet defs\n def self.${1:class_method_name}\n ${2}\n end\n# def method_missing\nsnippet defmm\n def method_missing(meth, *args, &blk)\n ${1}\n end\nsnippet defd\n def_delegator :${1:@del_obj}, :${2:del_meth}, :${3:new_name}\nsnippet defds\n def_delegators :${1:@del_obj}, :${2:del_methods}\nsnippet am\n alias_method :${1:new_name}, :${2:old_name}\nsnippet app\n if __FILE__ == $PROGRAM_NAME\n ${1}\n end\n# usage_if()\nsnippet usai\n if ARGV.${1}\n abort "Usage: #{$PROGRAM_NAME} ${2:ARGS_GO_HERE}"${3}\n end\n# usage_unless()\nsnippet usau\n unless ARGV.${1}\n abort "Usage: #{$PROGRAM_NAME} ${2:ARGS_GO_HERE}"${3}\n end\nsnippet array\n Array.new(${1:10}) { |${2:i}| ${3} }\nsnippet hash\n Hash.new { |${1:hash}, ${2:key}| $1[$2] = ${3} }\nsnippet file File.foreach() { |line| .. }\n File.foreach(${1:"path/to/file"}) { |${2:line}| ${3} }\nsnippet file File.read()\n File.read(${1:"path/to/file"})${2}\nsnippet Dir Dir.global() { |file| .. }\n Dir.glob(${1:"dir/glob/*"}) { |${2:file}| ${3} }\nsnippet Dir Dir[".."]\n Dir[${1:"glob/**/*.rb"}]${2}\nsnippet dir\n Filename.dirname(__FILE__)\nsnippet deli\n delete_if { |${1:e}| ${2} }\nsnippet fil\n fill(${1:range}) { |${2:i}| ${3} }\n# flatten_once()\nsnippet flao\n inject(Array.new) { |${1:arr}, ${2:a}| $1.push(*$2)}${3}\nsnippet zip\n zip(${1:enums}) { |${2:row}| ${3} }\n# downto(0) { |n| .. }\nsnippet dow\n downto(${1:0}) { |${2:n}| ${3} }\nsnippet ste\n step(${1:2}) { |${2:n}| ${3} }\nsnippet tim\n times { |${1:n}| ${2} }\nsnippet upt\n upto(${1:1.0/0.0}) { |${2:n}| ${3} }\nsnippet loo\n loop { ${1} }\nsnippet ea\n each { |${1:e}| ${2} }\nsnippet ead\n each do |${1:e}|\n ${2}\n end\nsnippet eab\n each_byte { |${1:byte}| ${2} }\nsnippet eac- each_char { |chr| .. }\n each_char { |${1:chr}| ${2} }\nsnippet eac- each_cons(..) { |group| .. }\n each_cons(${1:2}) { |${2:group}| ${3} }\nsnippet eai\n each_index { |${1:i}| ${2} }\nsnippet eaid\n each_index do |${1:i}|\n ${2}\n end\nsnippet eak\n each_key { |${1:key}| ${2} }\nsnippet eakd\n each_key do |${1:key}|\n ${2}\n end\nsnippet eal\n each_line { |${1:line}| ${2} }\nsnippet eald\n each_line do |${1:line}|\n ${2}\n end\nsnippet eap\n each_pair { |${1:name}, ${2:val}| ${3} }\nsnippet eapd\n each_pair do |${1:name}, ${2:val}|\n ${3}\n end\nsnippet eas-\n each_slice(${1:2}) { |${2:group}| ${3} }\nsnippet easd-\n each_slice(${1:2}) do |${2:group}|\n ${3}\n end\nsnippet eav\n each_value { |${1:val}| ${2} }\nsnippet eavd\n each_value do |${1:val}|\n ${2}\n end\nsnippet eawi\n each_with_index { |${1:e}, ${2:i}| ${3} }\nsnippet eawid\n each_with_index do |${1:e},${2:i}|\n ${3}\n end\nsnippet reve\n reverse_each { |${1:e}| ${2} }\nsnippet reved\n reverse_each do |${1:e}|\n ${2}\n end\nsnippet inj\n inject(${1:init}) { |${2:mem}, ${3:var}| ${4} }\nsnippet injd\n inject(${1:init}) do |${2:mem}, ${3:var}|\n ${4}\n end\nsnippet map\n map { |${1:e}| ${2} }\nsnippet mapd\n map do |${1:e}|\n ${2}\n end\nsnippet mapwi-\n enum_with_index.map { |${1:e}, ${2:i}| ${3} }\nsnippet sor\n sort { |a, b| ${1} }\nsnippet sorb\n sort_by { |${1:e}| ${2} }\nsnippet ran\n sort_by { rand }\nsnippet all\n all? { |${1:e}| ${2} }\nsnippet any\n any? { |${1:e}| ${2} }\nsnippet cl\n classify { |${1:e}| ${2} }\nsnippet col\n collect { |${1:e}| ${2} }\nsnippet cold\n collect do |${1:e}|\n ${2}\n end\nsnippet det\n detect { |${1:e}| ${2} }\nsnippet detd\n detect do |${1:e}|\n ${2}\n end\nsnippet fet\n fetch(${1:name}) { |${2:key}| ${3} }\nsnippet fin\n find { |${1:e}| ${2} }\nsnippet find\n find do |${1:e}|\n ${2}\n end\nsnippet fina\n find_all { |${1:e}| ${2} }\nsnippet finad\n find_all do |${1:e}|\n ${2}\n end\nsnippet gre\n grep(${1:/pattern/}) { |${2:match}| ${3} }\nsnippet sub\n ${1:g}sub(${2:/pattern/}) { |${3:match}| ${4} }\nsnippet sca\n scan(${1:/pattern/}) { |${2:match}| ${3} }\nsnippet scad\n scan(${1:/pattern/}) do |${2:match}|\n ${3}\n end\nsnippet max\n max { |a, b| ${1} }\nsnippet min\n min { |a, b| ${1} }\nsnippet par\n partition { |${1:e}| ${2} }\nsnippet pard\n partition do |${1:e}|\n ${2}\n end\nsnippet rej\n reject { |${1:e}| ${2} }\nsnippet rejd\n reject do |${1:e}|\n ${2}\n end\nsnippet sel\n select { |${1:e}| ${2} }\nsnippet seld\n select do |${1:e}|\n ${2}\n end\nsnippet lam\n lambda { |${1:args}| ${2} }\nsnippet doo\n do\n ${1}\n end\nsnippet dov\n do |${1:variable}|\n ${2}\n end\nsnippet :\n :${1:key} => ${2:"value"}${3}\nsnippet ope\n open(${1:"path/or/url/or/pipe"}, "${2:w}") { |${3:io}| ${4} }\n# path_from_here()\nsnippet fpath\n File.join(File.dirname(__FILE__), *%2[${1:rel path here}])${2}\n# unix_filter {}\nsnippet unif\n ARGF.each_line${1} do |${2:line}|\n ${3}\n end\n# option_parse {}\nsnippet optp\n require "optparse"\n\n options = {${1:default => "args"}}\n\n ARGV.options do |opts|\n opts.banner = "Usage: #{File.basename($PROGRAM_NAME)}\nsnippet opt\n opts.on( "-${1:o}", "--${2:long-option-name}", ${3:String},\n "${4:Option description.}") do |${5:opt}|\n ${6}\n end\nsnippet tc\n require "test/unit"\n\n require "${1:library_file_name}"\n\n class Test${2:$1} < Test::Unit::TestCase\n def test_${3:case_name}\n ${4}\n end\n end\nsnippet ts\n require "test/unit"\n\n require "tc_${1:test_case_file}"\n require "tc_${2:test_case_file}"${3}\nsnippet as\n assert ${1:test}, "${2:Failure message.}"${3}\nsnippet ase\n assert_equal ${1:expected}, ${2:actual}${3}\nsnippet asne\n assert_not_equal ${1:unexpected}, ${2:actual}${3}\nsnippet asid\n assert_in_delta ${1:expected_float}, ${2:actual_float}, ${3:2 ** -20}${4}\nsnippet asio\n assert_instance_of ${1:ExpectedClass}, ${2:actual_instance}${3}\nsnippet asko\n assert_kind_of ${1:ExpectedKind}, ${2:actual_instance}${3}\nsnippet asn\n assert_nil ${1:instance}${2}\nsnippet asnn\n assert_not_nil ${1:instance}${2}\nsnippet asm\n assert_match /${1:expected_pattern}/, ${2:actual_string}${3}\nsnippet asnm\n assert_no_match /${1:unexpected_pattern}/, ${2:actual_string}${3}\nsnippet aso\n assert_operator ${1:left}, :${2:operator}, ${3:right}${4}\nsnippet asr\n assert_raise ${1:Exception} { ${2} }\nsnippet asrd\n assert_raise ${1:Exception} do\n ${2}\n end\nsnippet asnr\n assert_nothing_raised ${1:Exception} { ${2} }\nsnippet asnrd\n assert_nothing_raised ${1:Exception} do\n ${2}\n end\nsnippet asrt\n assert_respond_to ${1:object}, :${2:method}${3}\nsnippet ass assert_same(..)\n assert_same ${1:expected}, ${2:actual}${3}\nsnippet ass assert_send(..)\n assert_send [${1:object}, :${2:message}, ${3:args}]${4}\nsnippet asns\n assert_not_same ${1:unexpected}, ${2:actual}${3}\nsnippet ast\n assert_throws :${1:expected} { ${2} }\nsnippet astd\n assert_throws :${1:expected} do\n ${2}\n end\nsnippet asnt\n assert_nothing_thrown { ${1} }\nsnippet asntd\n assert_nothing_thrown do\n ${1}\n end\nsnippet fl\n flunk "${1:Failure message.}"${2}\n# Benchmark.bmbm do .. end\nsnippet bm-\n TESTS = ${1:10_000}\n Benchmark.bmbm do |results|\n ${2}\n end\nsnippet rep\n results.report("${1:name}:") { TESTS.times { ${2} }}\n# Marshal.dump(.., file)\nsnippet Md\n File.open(${1:"path/to/file.dump"}, "wb") { |${2:file}| Marshal.dump(${3:obj}, $2) }${4}\n# Mashal.load(obj)\nsnippet Ml\n File.open(${1:"path/to/file.dump"}, "rb") { |${2:file}| Marshal.load($2) }${3}\n# deep_copy(..)\nsnippet deec\n Marshal.load(Marshal.dump(${1:obj_to_copy}))${2}\nsnippet Pn-\n PStore.new(${1:"file_name.pstore"})${2}\nsnippet tra\n transaction(${1:true}) { ${2} }\n# xmlread(..)\nsnippet xml-\n REXML::Document.new(File.read(${1:"path/to/file"}))${2}\n# xpath(..) { .. }\nsnippet xpa\n elements.each(${1:"//Xpath"}) do |${2:node}|\n ${3}\n end\n# class_from_name()\nsnippet clafn\n split("::").inject(Object) { |par, const| par.const_get(const) }\n# singleton_class()\nsnippet sinc\n class << self; self end\nsnippet nam\n namespace :${1:`Filename()`} do\n ${2}\n end\nsnippet tas\n desc "${1:Task description}"\n task :${2:task_name => [:dependent, :tasks]} do\n ${3}\n end\n# block\nsnippet b\n { |${1:var}| ${2} }\nsnippet begin\n begin\n raise \'A test exception.\'\n rescue Exception => e\n puts e.message\n puts e.backtrace.inspect\n else\n # other exception\n ensure\n # always executed\n end\n\n#debugging\nsnippet debug\n require \'ruby-debug\'; debugger; true;\nsnippet pry\n require \'pry\'; binding.pry\n\n#############################################\n# Rails snippets - for pure Ruby, see above #\n#############################################\nsnippet art\n assert_redirected_to ${1::action => "${2:index}"}\nsnippet artnp\n assert_redirected_to ${1:parent}_${2:child}_path(${3:@$1}, ${4:@$2})\nsnippet artnpp\n assert_redirected_to ${1:parent}_${2:child}_path(${3:@$1})\nsnippet artp\n assert_redirected_to ${1:model}_path(${2:@$1})\nsnippet artpp\n assert_redirected_to ${1:model}s_path\nsnippet asd\n assert_difference "${1:Model}.${2:count}", $1 do\n ${3}\n end\nsnippet asnd\n assert_no_difference "${1:Model}.${2:count}" do\n ${3}\n end\nsnippet asre\n assert_response :${1:success}, @response.body${2}\nsnippet asrj\n assert_rjs :${1:replace}, "${2:dom id}"\nsnippet ass assert_select(..)\n assert_select \'${1:path}\', :${2:text} => \'${3:inner_html\' ${4:do}\nsnippet bf\n before_filter :${1:method}\nsnippet bt\n belongs_to :${1:association}\nsnippet crw\n cattr_accessor :${1:attr_names}\nsnippet defcreate\n def create\n @${1:model_class_name} = ${2:ModelClassName}.new(params[:$1])\n\n respond_to do |wants|\n if @$1.save\n flash[:notice] = \'$2 was successfully created.\'\n wants.html { redirect_to(@$1) }\n wants.xml { render :xml => @$1, :status => :created, :location => @$1 }\n else\n wants.html { render :action => "new" }\n wants.xml { render :xml => @$1.errors, :status => :unprocessable_entity }\n end\n end\n end${3}\nsnippet defdestroy\n def destroy\n @${1:model_class_name} = ${2:ModelClassName}.find(params[:id])\n @$1.destroy\n\n respond_to do |wants|\n wants.html { redirect_to($1s_url) }\n wants.xml { head :ok }\n end\n end${3}\nsnippet defedit\n def edit\n @${1:model_class_name} = ${2:ModelClassName}.find(params[:id])\n end\nsnippet defindex\n def index\n @${1:model_class_name} = ${2:ModelClassName}.all\n\n respond_to do |wants|\n wants.html # index.html.erb\n wants.xml { render :xml => @$1s }\n end\n end${3}\nsnippet defnew\n def new\n @${1:model_class_name} = ${2:ModelClassName}.new\n\n respond_to do |wants|\n wants.html # new.html.erb\n wants.xml { render :xml => @$1 }\n end\n end${3}\nsnippet defshow\n def show\n @${1:model_class_name} = ${2:ModelClassName}.find(params[:id])\n\n respond_to do |wants|\n wants.html # show.html.erb\n wants.xml { render :xml => @$1 }\n end\n end${3}\nsnippet defupdate\n def update\n @${1:model_class_name} = ${2:ModelClassName}.find(params[:id])\n\n respond_to do |wants|\n if @$1.update_attributes(params[:$1])\n flash[:notice] = \'$2 was successfully updated.\'\n wants.html { redirect_to(@$1) }\n wants.xml { head :ok }\n else\n wants.html { render :action => "edit" }\n wants.xml { render :xml => @$1.errors, :status => :unprocessable_entity }\n end\n end\n end${3}\nsnippet flash\n flash[:${1:notice}] = "${2}"\nsnippet habtm\n has_and_belongs_to_many :${1:object}, :join_table => "${2:table_name}", :foreign_key => "${3}_id"${4}\nsnippet hm\n has_many :${1:object}\nsnippet hmd\n has_many :${1:other}s, :class_name => "${2:$1}", :foreign_key => "${3:$1}_id", :dependent => :destroy${4}\nsnippet hmt\n has_many :${1:object}, :through => :${2:object}\nsnippet ho\n has_one :${1:object}\nsnippet i18\n I18n.t(\'${1:type.key}\')${2}\nsnippet ist\n <%= image_submit_tag("${1:agree.png}", :id => "${2:id}"${3} %>\nsnippet log\n Rails.logger.${1:debug} ${2}\nsnippet log2\n RAILS_DEFAULT_LOGGER.${1:debug} ${2}\nsnippet logd\n logger.debug { "${1:message}" }${2}\nsnippet loge\n logger.error { "${1:message}" }${2}\nsnippet logf\n logger.fatal { "${1:message}" }${2}\nsnippet logi\n logger.info { "${1:message}" }${2}\nsnippet logw\n logger.warn { "${1:message}" }${2}\nsnippet mapc\n ${1:map}.${2:connect} \'${3:controller/:action/:id}\'\nsnippet mapca\n ${1:map}.catch_all "*${2:anything}", :controller => "${3:default}", :action => "${4:error}"${5}\nsnippet mapr\n ${1:map}.resource :${2:resource}\nsnippet maprs\n ${1:map}.resources :${2:resource}\nsnippet mapwo\n ${1:map}.with_options :${2:controller} => \'${3:thing}\' do |$3|\n ${4}\n end\nsnippet mbs\n before_save :${1:method}\nsnippet mcht\n change_table :${1:table_name} do |t|\n ${2}\n end\nsnippet mp\n map(&:${1:id})\nsnippet mrw\n mattr_accessor :${1:attr_names}\nsnippet oa\n order("${1:field}")\nsnippet od\n order("${1:field} DESC")\nsnippet pa\n params[:${1:id}]${2}\nsnippet ra\n render :action => "${1:action}"\nsnippet ral\n render :action => "${1:action}", :layout => "${2:layoutname}"\nsnippet rest\n respond_to do |wants|\n wants.${1:html} { ${2} }\n end\nsnippet rf\n render :file => "${1:filepath}"\nsnippet rfu\n render :file => "${1:filepath}", :use_full_path => ${2:false}\nsnippet ri\n render :inline => "${1:<%= \'hello\' %>}"\nsnippet ril\n render :inline => "${1:<%= \'hello\' %>}", :locals => { ${2::name} => "${3:value}"${4} }\nsnippet rit\n render :inline => "${1:<%= \'hello\' %>}", :type => ${2::rxml}\nsnippet rjson\n render :json => ${1:text to render}\nsnippet rl\n render :layout => "${1:layoutname}"\nsnippet rn\n render :nothing => ${1:true}\nsnippet rns\n render :nothing => ${1:true}, :status => ${2:401}\nsnippet rp\n render :partial => "${1:item}"\nsnippet rpc\n render :partial => "${1:item}", :collection => ${2:@$1s}\nsnippet rpl\n render :partial => "${1:item}", :locals => { :${2:$1} => ${3:@$1}\nsnippet rpo\n render :partial => "${1:item}", :object => ${2:@$1}\nsnippet rps\n render :partial => "${1:item}", :status => ${2:500}\nsnippet rt\n render :text => "${1:text to render}"\nsnippet rtl\n render :text => "${1:text to render}", :layout => "${2:layoutname}"\nsnippet rtlt\n render :text => "${1:text to render}", :layout => ${2:true}\nsnippet rts\n render :text => "${1:text to render}", :status => ${2:401}\nsnippet ru\n render :update do |${1:page}|\n $1.${2}\n end\nsnippet rxml\n render :xml => ${1:text to render}\nsnippet sc\n scope :${1:name}, :where(:@${2:field} => ${3:value})\nsnippet sl\n scope :${1:name}, lambda do |${2:value}|\n where("${3:field = ?}", ${4:bind var})\n end\nsnippet sha1\n Digest::SHA1.hexdigest(${1:string})\nsnippet sweeper\n class ${1:ModelClassName}Sweeper < ActionController::Caching::Sweeper\n observe $1\n\n def after_save(${2:model_class_name})\n expire_cache($2)\n end\n\n def after_destroy($2)\n expire_cache($2)\n end\n\n def expire_cache($2)\n expire_page\n end\n end\nsnippet tcb\n t.boolean :${1:title}\n ${2}\nsnippet tcbi\n t.binary :${1:title}, :limit => ${2:2}.megabytes\n ${3}\nsnippet tcd\n t.decimal :${1:title}, :precision => ${2:10}, :scale => ${3:2}\n ${4}\nsnippet tcda\n t.date :${1:title}\n ${2}\nsnippet tcdt\n t.datetime :${1:title}\n ${2}\nsnippet tcf\n t.float :${1:title}\n ${2}\nsnippet tch\n t.change :${1:name}, :${2:string}, :${3:limit} => ${4:80}\n ${5}\nsnippet tci\n t.integer :${1:title}\n ${2}\nsnippet tcl\n t.integer :lock_version, :null => false, :default => 0\n ${1}\nsnippet tcr\n t.references :${1:taggable}, :polymorphic => { :default => \'${2:Photo}\' }\n ${3}\nsnippet tcs\n t.string :${1:title}\n ${2}\nsnippet tct\n t.text :${1:title}\n ${2}\nsnippet tcti\n t.time :${1:title}\n ${2}\nsnippet tcts\n t.timestamp :${1:title}\n ${2}\nsnippet tctss\n t.timestamps\n ${1}\nsnippet va\n validates_associated :${1:attribute}\nsnippet vao\n validates_acceptance_of :${1:terms}\nsnippet vc\n validates_confirmation_of :${1:attribute}\nsnippet ve\n validates_exclusion_of :${1:attribute}, :in => ${2:%w( mov avi )}\nsnippet vf\n validates_format_of :${1:attribute}, :with => /${2:regex}/\nsnippet vi\n validates_inclusion_of :${1:attribute}, :in => %w(${2: mov avi })\nsnippet vl\n validates_length_of :${1:attribute}, :within => ${2:3}..${3:20}\nsnippet vn\n validates_numericality_of :${1:attribute}\nsnippet vpo\n validates_presence_of :${1:attribute}\nsnippet vu\n validates_uniqueness_of :${1:attribute}\nsnippet wants\n wants.${1:js|xml|html} { ${2} }\nsnippet wc\n where(${1:"conditions"}${2:, bind_var})\nsnippet wh\n where(${1:field} => ${2:value})\nsnippet xdelete\n xhr :delete, :${1:destroy}, :id => ${2:1}${3}\nsnippet xget\n xhr :get, :${1:show}, :id => ${2:1}${3}\nsnippet xpost\n xhr :post, :${1:create}, :${2:object} => { ${3} }\nsnippet xput\n xhr :put, :${1:update}, :id => ${2:1}, :${3:object} => { ${4} }${5}\nsnippet test\n test "should ${1:do something}" do\n ${2}\n end\n#migrations\nsnippet mac\n add_column :${1:table_name}, :${2:column_name}, :${3:data_type}\nsnippet mrc\n remove_column :${1:table_name}, :${2:column_name}\nsnippet mrnc\n rename_column :${1:table_name}, :${2:old_column_name}, :${3:new_column_name}\nsnippet mcc\n change_column :${1:table}, :${2:column}, :${3:type}\nsnippet mccc\n t.column :${1:title}, :${2:string}\nsnippet mct\n create_table :${1:table_name} do |t|\n t.column :${2:name}, :${3:type}\n end\nsnippet migration\n class ${1:class_name} < ActiveRecord::Migration\n def self.up\n ${2}\n end\n\n def self.down\n end\n end\n\nsnippet trc\n t.remove :${1:column}\nsnippet tre\n t.rename :${1:old_column_name}, :${2:new_column_name}\n ${3}\nsnippet tref\n t.references :${1:model}\n\n#rspec\nsnippet it\n it "${1:spec_name}" do\n ${2}\n end\nsnippet itp\n it "${1:spec_name}"\n ${2}\nsnippet desc\n describe ${1:class_name} do\n ${2}\n end\nsnippet cont\n context "${1:message}" do\n ${2}\n end\nsnippet bef\n before :${1:each} do\n ${2}\n end\nsnippet aft\n after :${1:each} do\n ${2}\n end\n',t.scope="ruby"});
2
+ (function() {
3
+ ace.require(["ace/snippets/ruby"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/rust",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="rust"});
2
+ (function() {
3
+ ace.require(["ace/snippets/rust"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/sass",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="sass"});
2
+ (function() {
3
+ ace.require(["ace/snippets/sass"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/scad",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="scad"});
2
+ (function() {
3
+ ace.require(["ace/snippets/scad"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/scala",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="scala"});
2
+ (function() {
3
+ ace.require(["ace/snippets/scala"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/scheme",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="scheme"});
2
+ (function() {
3
+ ace.require(["ace/snippets/scheme"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/scss",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="scss"});
2
+ (function() {
3
+ ace.require(["ace/snippets/scss"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/sh",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# Shebang. Executing bash via /usr/bin/env makes scripts more portable.\nsnippet #!\n #!/usr/bin/env bash\n \nsnippet if\n if [[ ${1:condition} ]]; then\n ${2:#statements}\n fi\nsnippet elif\n elif [[ ${1:condition} ]]; then\n ${2:#statements}\nsnippet for\n for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do\n ${3:#statements}\n done\nsnippet fori\n for ${1:needle} in ${2:haystack} ; do\n ${3:#statements}\n done\nsnippet wh\n while [[ ${1:condition} ]]; do\n ${2:#statements}\n done\nsnippet until\n until [[ ${1:condition} ]]; do\n ${2:#statements}\n done\nsnippet case\n case ${1:word} in\n ${2:pattern})\n ${3};;\n esac\nsnippet go \n while getopts \'${1:o}\' ${2:opts} \n do \n case $$2 in\n ${3:o0})\n ${4:#staments};;\n esac\n done\n# Set SCRIPT_DIR variable to directory script is located.\nsnippet sdir\n SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"\n# getopt\nsnippet getopt\n __ScriptVersion="${1:version}"\n\n #=== FUNCTION ================================================================\n # NAME: usage\n # DESCRIPTION: Display usage information.\n #===============================================================================\n function usage ()\n {\n cat <<- EOT\n\n Usage : $${0:0} [options] [--] \n\n Options: \n -h|help Display this message\n -v|version Display script version\n\n EOT\n } # ---------- end of function usage ----------\n\n #-----------------------------------------------------------------------\n # Handle command line arguments\n #-----------------------------------------------------------------------\n\n while getopts ":hv" opt\n do\n case $opt in\n\n h|help ) usage; exit 0 ;;\n\n v|version ) echo "$${0:0} -- Version $__ScriptVersion"; exit 0 ;;\n\n \\? ) echo -e "\\n Option does not exist : $OPTARG\\n"\n usage; exit 1 ;;\n\n esac # --- end of case ---\n done\n shift $(($OPTIND-1))\n\n',t.scope="sh"});
2
+ (function() {
3
+ ace.require(["ace/snippets/sh"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/sjs",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="sjs"});
2
+ (function() {
3
+ ace.require(["ace/snippets/sjs"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/smarty",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="smarty"});
2
+ (function() {
3
+ ace.require(["ace/snippets/smarty"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/snippets",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="# snippets for making snippets :)\nsnippet snip\n snippet ${1:trigger}\n ${2}\nsnippet msnip\n snippet ${1:trigger} ${2:description}\n ${3}\nsnippet v\n {VISUAL}\n",t.scope="snippets"});
2
+ (function() {
3
+ ace.require(["ace/snippets/snippets"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/soy_template",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="soy_template"});
2
+ (function() {
3
+ ace.require(["ace/snippets/soy_template"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/space",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="space"});
2
+ (function() {
3
+ ace.require(["ace/snippets/space"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/sparql",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope=""});
2
+ (function() {
3
+ ace.require(["ace/snippets/sparql"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/sql",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet tbl\n create table ${1:table} (\n ${2:columns}\n );\nsnippet col\n ${1:name} ${2:type} ${3:default ''} ${4:not null}\nsnippet ccol\n ${1:name} varchar2(${2:size}) ${3:default ''} ${4:not null}\nsnippet ncol\n ${1:name} number ${3:default 0} ${4:not null}\nsnippet dcol\n ${1:name} date ${3:default sysdate} ${4:not null}\nsnippet ind\n create index ${3:$1_$2} on ${1:table}(${2:column});\nsnippet uind\n create unique index ${1:name} on ${2:table}(${3:column});\nsnippet tblcom\n comment on table ${1:table} is '${2:comment}';\nsnippet colcom\n comment on column ${1:table}.${2:column} is '${3:comment}';\nsnippet addcol\n alter table ${1:table} add (${2:column} ${3:type});\nsnippet seq\n create sequence ${1:name} start with ${2:1} increment by ${3:1} minvalue ${4:1};\nsnippet s*\n select * from ${1:table}\n",t.scope="sql"});
2
+ (function() {
3
+ ace.require(["ace/snippets/sql"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/sqlserver",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="# ISNULL\nsnippet isnull\n ISNULL(${1:check_expression}, ${2:replacement_value})\n# FORMAT\nsnippet format\n FORMAT(${1:value}, ${2:format})\n# CAST\nsnippet cast\n CAST(${1:expression} AS ${2:data_type})\n# CONVERT\nsnippet convert\n CONVERT(${1:data_type}, ${2:expression})\n# DATEPART\nsnippet datepart\n DATEPART(${1:datepart}, ${2:date})\n# DATEDIFF\nsnippet datediff\n DATEDIFF(${1:datepart}, ${2:startdate}, ${3:enddate})\n# DATEADD\nsnippet dateadd\n DATEADD(${1:datepart}, ${2:number}, ${3:date})\n# DATEFROMPARTS \nsnippet datefromparts\n DATEFROMPARTS(${1:year}, ${2:month}, ${3:day})\n# OBJECT_DEFINITION\nsnippet objectdef\n SELECT OBJECT_DEFINITION(OBJECT_ID('${1:sys.server_permissions /*object name*/}'))\n# STUFF XML\nsnippet stuffxml\n STUFF((SELECT ', ' + ${1:ColumnName}\n FROM ${2:TableName}\n WHERE ${3:WhereClause}\n FOR XML PATH('')), 1, 1, '') AS ${4:Alias}\n ${5:/*https://msdn.microsoft.com/en-us/library/ms188043.aspx*/}\n# Create Procedure\nsnippet createproc\n -- =============================================\n -- Author: ${1:Author}\n -- Create date: ${2:Date}\n -- Description: ${3:Description}\n -- =============================================\n CREATE PROCEDURE ${4:Procedure_Name}\n ${5:/*Add the parameters for the stored procedure here*/}\n AS\n BEGIN\n -- SET NOCOUNT ON added to prevent extra result sets from interfering with SELECT statements.\n SET NOCOUNT ON;\n \n ${6:/*Add the T-SQL statements to compute the return value here*/}\n \n END\n GO\n# Create Scalar Function\nsnippet createfn\n -- =============================================\n -- Author: ${1:Author}\n -- Create date: ${2:Date}\n -- Description: ${3:Description}\n -- =============================================\n CREATE FUNCTION ${4:Scalar_Function_Name}\n -- Add the parameters for the function here\n RETURNS ${5:Function_Data_Type}\n AS\n BEGIN\n DECLARE @Result ${5:Function_Data_Type}\n \n ${6:/*Add the T-SQL statements to compute the return value here*/}\n \n END\n GO",t.scope="sqlserver"});
2
+ (function() {
3
+ ace.require(["ace/snippets/sqlserver"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/stylus",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="stylus"});
2
+ (function() {
3
+ ace.require(["ace/snippets/stylus"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/svg",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="svg"});
2
+ (function() {
3
+ ace.require(["ace/snippets/svg"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/swift",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="swift"});
2
+ (function() {
3
+ ace.require(["ace/snippets/swift"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/tcl",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="# #!/usr/bin/env tclsh\nsnippet #!\n #!/usr/bin/env tclsh\n \n# Process\nsnippet pro\n proc ${1:function_name} {${2:args}} {\n ${3:#body ...}\n }\n#xif\nsnippet xif\n ${1:expr}? ${2:true} : ${3:false}\n# Conditional\nsnippet if\n if {${1}} {\n ${2:# body...}\n }\n# Conditional if..else\nsnippet ife\n if {${1}} {\n ${2:# body...}\n } else {\n ${3:# else...}\n }\n# Conditional if..elsif..else\nsnippet ifee\n if {${1}} {\n ${2:# body...}\n } elseif {${3}} {\n ${4:# elsif...}\n } else {\n ${5:# else...}\n }\n# If catch then\nsnippet ifc\n if { [catch {${1:#do something...}} ${2:err}] } {\n ${3:# handle failure...}\n }\n# Catch\nsnippet catch\n catch {${1}} ${2:err} ${3:options}\n# While Loop\nsnippet wh\n while {${1}} {\n ${2:# body...}\n }\n# For Loop\nsnippet for\n for {set ${2:var} 0} {$$2 < ${1:count}} {${3:incr} $2} {\n ${4:# body...}\n }\n# Foreach Loop\nsnippet fore\n foreach ${1:x} {${2:#list}} {\n ${3:# body...}\n }\n# after ms script...\nsnippet af\n after ${1:ms} ${2:#do something}\n# after cancel id\nsnippet afc\n after cancel ${1:id or script}\n# after idle\nsnippet afi\n after idle ${1:script}\n# after info id\nsnippet afin\n after info ${1:id}\n# Expr\nsnippet exp\n expr {${1:#expression here}}\n# Switch\nsnippet sw\n switch ${1:var} {\n ${3:pattern 1} {\n ${4:#do something}\n }\n default {\n ${2:#do something}\n }\n }\n# Case\nsnippet ca\n ${1:pattern} {\n ${2:#do something}\n }${3}\n# Namespace eval\nsnippet ns\n namespace eval ${1:path} {${2:#script...}}\n# Namespace current\nsnippet nsc\n namespace current\n",t.scope="tcl"});
2
+ (function() {
3
+ ace.require(["ace/snippets/tcl"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/tex",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="#PREAMBLE\n#newcommand\nsnippet nc\n \\newcommand{\\${1:cmd}}[${2:opt}]{${3:realcmd}}${4}\n#usepackage\nsnippet up\n \\usepackage[${1:[options}]{${2:package}}\n#newunicodechar\nsnippet nuc\n \\newunicodechar{${1}}{${2:\\ensuremath}${3:tex-substitute}}}\n#DeclareMathOperator\nsnippet dmo\n \\DeclareMathOperator{${1}}{${2}}\n\n#DOCUMENT\n# \\begin{}...\\end{}\nsnippet begin\n \\begin{${1:env}}\n ${2}\n \\end{$1}\n# Tabular\nsnippet tab\n \\begin{${1:tabular}}{${2:c}}\n ${3}\n \\end{$1}\nsnippet thm\n \\begin[${1:author}]{${2:thm}}\n ${3}\n \\end{$1}\nsnippet center\n \\begin{center}\n ${1}\n \\end{center}\n# Align(ed)\nsnippet ali\n \\begin{align${1:ed}}\n ${2}\n \\end{align$1}\n# Gather(ed)\nsnippet gat\n \\begin{gather${1:ed}}\n ${2}\n \\end{gather$1}\n# Equation\nsnippet eq\n \\begin{equation}\n ${1}\n \\end{equation}\n# Equation\nsnippet eq*\n \\begin{equation*}\n ${1}\n \\end{equation*}\n# Unnumbered Equation\nsnippet \\\n \\[\n ${1}\n \\]\n# Enumerate\nsnippet enum\n \\begin{enumerate}\n \\item ${1}\n \\end{enumerate}\n# Itemize\nsnippet itemize\n \\begin{itemize}\n \\item ${1}\n \\end{itemize}\n# Description\nsnippet desc\n \\begin{description}\n \\item[${1}] ${2}\n \\end{description}\n# Matrix\nsnippet mat\n \\begin{${1:p/b/v/V/B/small}matrix}\n ${2}\n \\end{$1matrix}\n# Cases\nsnippet cas\n \\begin{cases}\n ${1:equation}, &\\text{ if }${2:case}\\\\\n ${3}\n \\end{cases}\n# Split\nsnippet spl\n \\begin{split}\n ${1}\n \\end{split}\n# Part\nsnippet part\n \\part{${1:part name}} % (fold)\n \\label{prt:${2:$1}}\n ${3}\n % part $2 (end)\n# Chapter\nsnippet cha\n \\chapter{${1:chapter name}}\n \\label{cha:${2:$1}}\n ${3}\n# Section\nsnippet sec\n \\section{${1:section name}}\n \\label{sec:${2:$1}}\n ${3}\n# Sub Section\nsnippet sub\n \\subsection{${1:subsection name}}\n \\label{sub:${2:$1}}\n ${3}\n# Sub Sub Section\nsnippet subs\n \\subsubsection{${1:subsubsection name}}\n \\label{ssub:${2:$1}}\n ${3}\n# Paragraph\nsnippet par\n \\paragraph{${1:paragraph name}}\n \\label{par:${2:$1}}\n ${3}\n# Sub Paragraph\nsnippet subp\n \\subparagraph{${1:subparagraph name}}\n \\label{subp:${2:$1}}\n ${3}\n#References\nsnippet itd\n \\item[${1:description}] ${2:item}\nsnippet figure\n ${1:Figure}~\\ref{${2:fig:}}${3}\nsnippet table\n ${1:Table}~\\ref{${2:tab:}}${3}\nsnippet listing\n ${1:Listing}~\\ref{${2:list}}${3}\nsnippet section\n ${1:Section}~\\ref{${2:sec:}}${3}\nsnippet page\n ${1:page}~\\pageref{${2}}${3}\nsnippet index\n \\index{${1:index}}${2}\n#Citations\nsnippet cite\n \\cite[${1}]{${2}}${3}\nsnippet fcite\n \\footcite[${1}]{${2}}${3}\n#Formating text: italic, bold, underline, small capital, emphase ..\nsnippet it\n \\textit{${1:text}}\nsnippet bf\n \\textbf{${1:text}}\nsnippet under\n \\underline{${1:text}}\nsnippet emp\n \\emph{${1:text}}\nsnippet sc\n \\textsc{${1:text}}\n#Choosing font\nsnippet sf\n \\textsf{${1:text}}\nsnippet rm\n \\textrm{${1:text}}\nsnippet tt\n \\texttt{${1:text}}\n#misc\nsnippet ft\n \\footnote{${1:text}}\nsnippet fig\n \\begin{figure}\n \\begin{center}\n \\includegraphics[scale=${1}]{Figures/${2}}\n \\end{center}\n \\caption{${3}}\n \\label{fig:${4}}\n \\end{figure}\nsnippet tikz\n \\begin{figure}\n \\begin{center}\n \\begin{tikzpicture}[scale=${1:1}]\n ${2}\n \\end{tikzpicture}\n \\end{center}\n \\caption{${3}}\n \\label{fig:${4}}\n \\end{figure}\n#math\nsnippet stackrel\n \\stackrel{${1:above}}{${2:below}} ${3}\nsnippet frac\n \\frac{${1:num}}{${2:denom}}\nsnippet sum\n \\sum^{${1:n}}_{${2:i=1}}{${3}}",t.scope="tex"});
2
+ (function() {
3
+ ace.require(["ace/snippets/tex"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/text",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="text"});
2
+ (function() {
3
+ ace.require(["ace/snippets/text"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/textile",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# Jekyll post header\nsnippet header\n ---\n title: ${1:title}\n layout: post\n date: ${2:date} ${3:hour:minute:second} -05:00\n ---\n\n# Image\nsnippet img\n !${1:url}(${2:title}):${3:link}!\n\n# Table\nsnippet |\n |${1}|${2}\n\n# Link\nsnippet link\n "${1:link text}":${2:url}\n\n# Acronym\nsnippet (\n (${1:Expand acronym})${2}\n\n# Footnote\nsnippet fn\n [${1:ref number}] ${3}\n\n fn$1. ${2:footnote}\n \n',t.scope="textile"});
2
+ (function() {
3
+ ace.require(["ace/snippets/textile"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/toml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="toml"});
2
+ (function() {
3
+ ace.require(["ace/snippets/toml"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/tsx",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="tsx"});
2
+ (function() {
3
+ ace.require(["ace/snippets/tsx"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/turtle",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope=""});
2
+ (function() {
3
+ ace.require(["ace/snippets/turtle"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/twig",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="twig"});
2
+ (function() {
3
+ ace.require(["ace/snippets/twig"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/typescript",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="typescript"});
2
+ (function() {
3
+ ace.require(["ace/snippets/typescript"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/vala",["require","exports","module"],function(e,t,n){"use strict";t.snippets=[{content:"case ${1:condition}:\n $0\n break;\n",name:"case",scope:"vala",tabTrigger:"case"},{content:"/**\n * ${6}\n */\n${1:public} class ${2:MethodName}${3: : GLib.Object} {\n\n /**\n * ${7}\n */\n public ${2}(${4}) {\n ${5}\n }\n\n $0\n}",name:"class",scope:"vala",tabTrigger:"class"},{content:"(${1}) => {\n ${0}\n}\n",name:"closure",scope:"vala",tabTrigger:"=>"},{content:"/*\n * $0\n */",name:"Comment (multiline)",scope:"vala",tabTrigger:"/*"},{content:"Console.WriteLine($1);\n$0",name:"Console.WriteLine (writeline)",scope:"vala",tabTrigger:"writeline"},{content:'[DBus(name = "$0")]',name:"DBus annotation",scope:"vala",tabTrigger:"[DBus"},{content:"delegate ${1:void} ${2:DelegateName}($0);",name:"delegate",scope:"vala",tabTrigger:"delegate"},{content:"do {\n $0\n} while ($1);\n",name:"do while",scope:"vala",tabTrigger:"dowhile"},{content:"/**\n * $0\n */",name:"DocBlock",scope:"vala",tabTrigger:"/**"},{content:"else if ($1) {\n $0\n}\n",name:"else if (elseif)",scope:"vala",tabTrigger:"elseif"},{content:"else {\n $0\n}",name:"else",scope:"vala",tabTrigger:"else"},{content:"enum {$1:EnumName} {\n $0\n}",name:"enum",scope:"vala",tabTrigger:"enum"},{content:"public errordomain ${1:Error} {\n $0\n}",name:"error domain",scope:"vala",tabTrigger:"errordomain"},{content:"for ($1;$2;$3) {\n $0\n}",name:"for",scope:"vala",tabTrigger:"for"},{content:"foreach ($1 in $2) {\n $0\n}",name:"foreach",scope:"vala",tabTrigger:"foreach"},{content:"Gee.ArrayList<${1:G}>($0);",name:"Gee.ArrayList",scope:"vala",tabTrigger:"ArrayList"},{content:"Gee.HashMap<${1:K},${2:V}>($0);",name:"Gee.HashMap",scope:"vala",tabTrigger:"HashMap"},{content:"Gee.HashSet<${1:G}>($0);",name:"Gee.HashSet",scope:"vala",tabTrigger:"HashSet"},{content:"if ($1) {\n $0\n}",name:"if",scope:"vala",tabTrigger:"if"},{content:"interface ${1:InterfaceName}{$2: : SuperInterface} {\n $0\n}",name:"interface",scope:"vala",tabTrigger:"interface"},{content:"public static int main(string [] argv) {\n ${0}\n return 0;\n}",name:"Main function",scope:"vala",tabTrigger:"main"},{content:"namespace $1 {\n $0\n}\n",name:"namespace (ns)",scope:"vala",tabTrigger:"ns"},{content:"stdout.printf($0);",name:"printf",scope:"vala",tabTrigger:"printf"},{content:"${1:public} ${2:Type} ${3:Name} {\n set {\n $0\n }\n get {\n\n }\n}",name:"property (prop)",scope:"vala",tabTrigger:"prop"},{content:"${1:public} ${2:Type} ${3:Name} {\n get {\n $0\n }\n}",name:"read-only property (roprop)",scope:"vala",tabTrigger:"roprop"},{content:'@"${1:\\$var}"',name:"String template (@)",scope:"vala",tabTrigger:"@"},{content:"struct ${1:StructName} {\n $0\n}",name:"struct",scope:"vala",tabTrigger:"struct"},{content:"switch ($1) {\n $0\n}",name:"switch",scope:"vala",tabTrigger:"switch"},{content:"try {\n $2\n} catch (${1:Error} e) {\n $0\n}",name:"try/catch",scope:"vala",tabTrigger:"try"},{content:'"""$0""";',name:'Verbatim string (""")',scope:"vala",tabTrigger:"verbatim"},{content:"while ($1) {\n $0\n}",name:"while",scope:"vala",tabTrigger:"while"}],t.scope=""});
2
+ (function() {
3
+ ace.require(["ace/snippets/vala"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/vbscript",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="vbscript"});
2
+ (function() {
3
+ ace.require(["ace/snippets/vbscript"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+
@@ -0,0 +1,9 @@
1
+ ace.define("ace/snippets/velocity",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# macro\nsnippet #macro\n #macro ( ${1:macroName} ${2:\\$var1, [\\$var2, ...]} )\n ${3:## macro code}\n #end\n# foreach\nsnippet #foreach\n #foreach ( ${1:\\$item} in ${2:\\$collection} )\n ${3:## foreach code}\n #end\n# if\nsnippet #if\n #if ( ${1:true} )\n ${0}\n #end\n# if ... else\nsnippet #ife\n #if ( ${1:true} )\n ${2}\n #else\n ${0}\n #end\n#import\nsnippet #import\n #import ( "${1:path/to/velocity/format}" )\n# set\nsnippet #set\n #set ( $${1:var} = ${0} )\n',t.scope="velocity",t.includeScopes=["html","javascript","css"]});
2
+ (function() {
3
+ ace.require(["ace/snippets/velocity"], function(m) {
4
+ if (typeof module == "object" && typeof exports == "object" && module) {
5
+ module.exports = m;
6
+ }
7
+ });
8
+ })();
9
+