├── .gitignore
├── Procfile
├── README.md
├── app.js
├── package.json
├── public
├── javascripts
│ ├── bootstrap.min.js
│ ├── compile.js
│ ├── jquery.js
│ └── jquery.min.js
├── src-noconflict
│ ├── ace.js
│ ├── ext-beautify.js
│ ├── ext-chromevox.js
│ ├── ext-elastic_tabstops_lite.js
│ ├── ext-emmet.js
│ ├── ext-error_marker.js
│ ├── ext-keybinding_menu.js
│ ├── ext-language_tools.js
│ ├── ext-linking.js
│ ├── ext-modelist.js
│ ├── ext-old_ie.js
│ ├── ext-searchbox.js
│ ├── ext-settings_menu.js
│ ├── ext-spellcheck.js
│ ├── ext-split.js
│ ├── ext-static_highlight.js
│ ├── ext-statusbar.js
│ ├── ext-textarea.js
│ ├── ext-themelist.js
│ ├── ext-whitespace.js
│ ├── keybinding-emacs.js
│ ├── keybinding-vim.js
│ ├── mode-abap.js
│ ├── mode-abc.js
│ ├── mode-actionscript.js
│ ├── mode-ada.js
│ ├── mode-apache_conf.js
│ ├── mode-applescript.js
│ ├── mode-asciidoc.js
│ ├── mode-assembly_x86.js
│ ├── mode-autohotkey.js
│ ├── mode-batchfile.js
│ ├── mode-bro.js
│ ├── mode-c9search.js
│ ├── mode-c_cpp.js
│ ├── mode-cirru.js
│ ├── mode-clojure.js
│ ├── mode-cobol.js
│ ├── mode-coffee.js
│ ├── mode-coldfusion.js
│ ├── mode-csharp.js
│ ├── mode-css.js
│ ├── mode-curly.js
│ ├── mode-d.js
│ ├── mode-dart.js
│ ├── mode-diff.js
│ ├── mode-django.js
│ ├── mode-dockerfile.js
│ ├── mode-dot.js
│ ├── mode-drools.js
│ ├── mode-eiffel.js
│ ├── mode-ejs.js
│ ├── mode-elixir.js
│ ├── mode-elm.js
│ ├── mode-erlang.js
│ ├── mode-forth.js
│ ├── mode-fortran.js
│ ├── mode-ftl.js
│ ├── mode-gcode.js
│ ├── mode-gherkin.js
│ ├── mode-gitignore.js
│ ├── mode-glsl.js
│ ├── mode-gobstones.js
│ ├── mode-golang.js
│ ├── mode-groovy.js
│ ├── mode-haml.js
│ ├── mode-handlebars.js
│ ├── mode-haskell.js
│ ├── mode-haskell_cabal.js
│ ├── mode-haxe.js
│ ├── mode-hjson.js
│ ├── mode-html.js
│ ├── mode-html_elixir.js
│ ├── mode-html_ruby.js
│ ├── mode-ini.js
│ ├── mode-io.js
│ ├── mode-jack.js
│ ├── mode-jade.js
│ ├── mode-java.js
│ ├── mode-javascript.js
│ ├── mode-json.js
│ ├── mode-jsoniq.js
│ ├── mode-jsp.js
│ ├── mode-jsx.js
│ ├── mode-julia.js
│ ├── mode-kotlin.js
│ ├── mode-latex.js
│ ├── mode-lean.js
│ ├── mode-less.js
│ ├── mode-liquid.js
│ ├── mode-lisp.js
│ ├── mode-live_script.js
│ ├── mode-livescript.js
│ ├── mode-logiql.js
│ ├── mode-lsl.js
│ ├── mode-lua.js
│ ├── mode-luapage.js
│ ├── mode-lucene.js
│ ├── mode-makefile.js
│ ├── mode-markdown.js
│ ├── mode-mask.js
│ ├── mode-matlab.js
│ ├── mode-mavens_mate_log.js
│ ├── mode-maze.js
│ ├── mode-mel.js
│ ├── mode-mips_assembler.js
│ ├── mode-mipsassembler.js
│ ├── mode-mushcode.js
│ ├── mode-mysql.js
│ ├── mode-nix.js
│ ├── mode-nsis.js
│ ├── mode-objectivec.js
│ ├── mode-ocaml.js
│ ├── mode-pascal.js
│ ├── mode-perl.js
│ ├── mode-pgsql.js
│ ├── mode-php.js
│ ├── mode-plain_text.js
│ ├── mode-powershell.js
│ ├── mode-praat.js
│ ├── mode-prolog.js
│ ├── mode-properties.js
│ ├── mode-protobuf.js
│ ├── mode-python.js
│ ├── mode-r.js
│ ├── mode-razor.js
│ ├── mode-rdoc.js
│ ├── mode-rhtml.js
│ ├── mode-rst.js
│ ├── mode-ruby.js
│ ├── mode-rust.js
│ ├── mode-sass.js
│ ├── mode-scad.js
│ ├── mode-scala.js
│ ├── mode-scheme.js
│ ├── mode-scss.js
│ ├── mode-sh.js
│ ├── mode-sjs.js
│ ├── mode-smarty.js
│ ├── mode-snippets.js
│ ├── mode-soy_template.js
│ ├── mode-space.js
│ ├── mode-sql.js
│ ├── mode-sqlserver.js
│ ├── mode-stylus.js
│ ├── mode-svg.js
│ ├── mode-swift.js
│ ├── mode-swig.js
│ ├── mode-tcl.js
│ ├── mode-tex.js
│ ├── mode-text.js
│ ├── mode-textile.js
│ ├── mode-toml.js
│ ├── mode-tsx.js
│ ├── mode-twig.js
│ ├── mode-typescript.js
│ ├── mode-vala.js
│ ├── mode-vbscript.js
│ ├── mode-velocity.js
│ ├── mode-verilog.js
│ ├── mode-vhdl.js
│ ├── mode-wollok.js
│ ├── mode-xml.js
│ ├── mode-xquery.js
│ ├── mode-yaml.js
│ ├── snippets
│ │ ├── abap.js
│ │ ├── abc.js
│ │ ├── actionscript.js
│ │ ├── ada.js
│ │ ├── apache_conf.js
│ │ ├── applescript.js
│ │ ├── asciidoc.js
│ │ ├── assembly_x86.js
│ │ ├── autohotkey.js
│ │ ├── batchfile.js
│ │ ├── bro.js
│ │ ├── c9search.js
│ │ ├── c_cpp.js
│ │ ├── cirru.js
│ │ ├── clojure.js
│ │ ├── cobol.js
│ │ ├── coffee.js
│ │ ├── coldfusion.js
│ │ ├── csharp.js
│ │ ├── css.js
│ │ ├── curly.js
│ │ ├── d.js
│ │ ├── dart.js
│ │ ├── diff.js
│ │ ├── django.js
│ │ ├── dockerfile.js
│ │ ├── dot.js
│ │ ├── drools.js
│ │ ├── eiffel.js
│ │ ├── ejs.js
│ │ ├── elixir.js
│ │ ├── elm.js
│ │ ├── erlang.js
│ │ ├── forth.js
│ │ ├── fortran.js
│ │ ├── ftl.js
│ │ ├── gcode.js
│ │ ├── gherkin.js
│ │ ├── gitignore.js
│ │ ├── glsl.js
│ │ ├── gobstones.js
│ │ ├── golang.js
│ │ ├── groovy.js
│ │ ├── haml.js
│ │ ├── handlebars.js
│ │ ├── haskell.js
│ │ ├── haskell_cabal.js
│ │ ├── haxe.js
│ │ ├── hjson.js
│ │ ├── html.js
│ │ ├── html_elixir.js
│ │ ├── html_ruby.js
│ │ ├── ini.js
│ │ ├── io.js
│ │ ├── jack.js
│ │ ├── jade.js
│ │ ├── java.js
│ │ ├── javascript.js
│ │ ├── json.js
│ │ ├── jsoniq.js
│ │ ├── jsp.js
│ │ ├── jsx.js
│ │ ├── julia.js
│ │ ├── kotlin.js
│ │ ├── latex.js
│ │ ├── lean.js
│ │ ├── less.js
│ │ ├── liquid.js
│ │ ├── lisp.js
│ │ ├── live_script.js
│ │ ├── livescript.js
│ │ ├── logiql.js
│ │ ├── lsl.js
│ │ ├── lua.js
│ │ ├── luapage.js
│ │ ├── lucene.js
│ │ ├── makefile.js
│ │ ├── markdown.js
│ │ ├── mask.js
│ │ ├── matlab.js
│ │ ├── maze.js
│ │ ├── mel.js
│ │ ├── mips_assembler.js
│ │ ├── mipsassembler.js
│ │ ├── mushcode.js
│ │ ├── mysql.js
│ │ ├── nix.js
│ │ ├── nsis.js
│ │ ├── objectivec.js
│ │ ├── ocaml.js
│ │ ├── pascal.js
│ │ ├── perl.js
│ │ ├── pgsql.js
│ │ ├── php.js
│ │ ├── plain_text.js
│ │ ├── powershell.js
│ │ ├── praat.js
│ │ ├── prolog.js
│ │ ├── properties.js
│ │ ├── protobuf.js
│ │ ├── python.js
│ │ ├── r.js
│ │ ├── razor.js
│ │ ├── rdoc.js
│ │ ├── rhtml.js
│ │ ├── rst.js
│ │ ├── ruby.js
│ │ ├── rust.js
│ │ ├── sass.js
│ │ ├── scad.js
│ │ ├── scala.js
│ │ ├── scheme.js
│ │ ├── scss.js
│ │ ├── sh.js
│ │ ├── sjs.js
│ │ ├── smarty.js
│ │ ├── snippets.js
│ │ ├── soy_template.js
│ │ ├── space.js
│ │ ├── sql.js
│ │ ├── sqlserver.js
│ │ ├── stylus.js
│ │ ├── svg.js
│ │ ├── swift.js
│ │ ├── swig.js
│ │ ├── tcl.js
│ │ ├── tex.js
│ │ ├── text.js
│ │ ├── textile.js
│ │ ├── toml.js
│ │ ├── tsx.js
│ │ ├── twig.js
│ │ ├── typescript.js
│ │ ├── vala.js
│ │ ├── vbscript.js
│ │ ├── velocity.js
│ │ ├── verilog.js
│ │ ├── vhdl.js
│ │ ├── wollok.js
│ │ ├── xml.js
│ │ ├── xquery.js
│ │ └── yaml.js
│ ├── theme-ambiance.js
│ ├── theme-chaos.js
│ ├── theme-chrome.js
│ ├── theme-clouds.js
│ ├── theme-clouds_midnight.js
│ ├── theme-cobalt.js
│ ├── theme-crimson_editor.js
│ ├── theme-dawn.js
│ ├── theme-dreamweaver.js
│ ├── theme-eclipse.js
│ ├── theme-github.js
│ ├── theme-idle_fingers.js
│ ├── theme-iplastic.js
│ ├── theme-katzenmilch.js
│ ├── theme-kr_theme.js
│ ├── theme-kuroir.js
│ ├── theme-merbivore.js
│ ├── theme-merbivore_soft.js
│ ├── theme-mono_industrial.js
│ ├── theme-monokai.js
│ ├── theme-pastel_on_dark.js
│ ├── theme-solarized_dark.js
│ ├── theme-solarized_light.js
│ ├── theme-sqlserver.js
│ ├── theme-terminal.js
│ ├── theme-textmate.js
│ ├── theme-tomorrow.js
│ ├── theme-tomorrow_night.js
│ ├── theme-tomorrow_night_blue.js
│ ├── theme-tomorrow_night_bright.js
│ ├── theme-tomorrow_night_eighties.js
│ ├── theme-twilight.js
│ ├── theme-vibrant_ink.js
│ ├── theme-xcode.js
│ ├── worker-coffee.js
│ ├── worker-css.js
│ ├── worker-html.js
│ ├── worker-javascript.js
│ ├── worker-json.js
│ ├── worker-lua.js
│ ├── worker-php.js
│ ├── worker-xml.js
│ └── worker-xquery.js
├── src
│ ├── ace.js
│ ├── ext-beautify.js
│ ├── ext-chromevox.js
│ ├── ext-elastic_tabstops_lite.js
│ ├── ext-emmet.js
│ ├── ext-error_marker.js
│ ├── ext-keybinding_menu.js
│ ├── ext-language_tools.js
│ ├── ext-linking.js
│ ├── ext-modelist.js
│ ├── ext-old_ie.js
│ ├── ext-searchbox.js
│ ├── ext-settings_menu.js
│ ├── ext-spellcheck.js
│ ├── ext-split.js
│ ├── ext-static_highlight.js
│ ├── ext-statusbar.js
│ ├── ext-textarea.js
│ ├── ext-themelist.js
│ ├── ext-whitespace.js
│ ├── keybinding-emacs.js
│ ├── keybinding-vim.js
│ ├── mode-abap.js
│ ├── mode-abc.js
│ ├── mode-actionscript.js
│ ├── mode-ada.js
│ ├── mode-apache_conf.js
│ ├── mode-applescript.js
│ ├── mode-asciidoc.js
│ ├── mode-assembly_x86.js
│ ├── mode-autohotkey.js
│ ├── mode-batchfile.js
│ ├── mode-bro.js
│ ├── mode-c9search.js
│ ├── mode-c_cpp.js
│ ├── mode-cirru.js
│ ├── mode-clojure.js
│ ├── mode-cobol.js
│ ├── mode-coffee.js
│ ├── mode-coldfusion.js
│ ├── mode-csharp.js
│ ├── mode-css.js
│ ├── mode-curly.js
│ ├── mode-d.js
│ ├── mode-dart.js
│ ├── mode-diff.js
│ ├── mode-django.js
│ ├── mode-dockerfile.js
│ ├── mode-dot.js
│ ├── mode-drools.js
│ ├── mode-eiffel.js
│ ├── mode-ejs.js
│ ├── mode-elixir.js
│ ├── mode-elm.js
│ ├── mode-erlang.js
│ ├── mode-forth.js
│ ├── mode-fortran.js
│ ├── mode-ftl.js
│ ├── mode-gcode.js
│ ├── mode-gherkin.js
│ ├── mode-gitignore.js
│ ├── mode-glsl.js
│ ├── mode-gobstones.js
│ ├── mode-golang.js
│ ├── mode-groovy.js
│ ├── mode-haml.js
│ ├── mode-handlebars.js
│ ├── mode-haskell.js
│ ├── mode-haskell_cabal.js
│ ├── mode-haxe.js
│ ├── mode-hjson.js
│ ├── mode-html.js
│ ├── mode-html_elixir.js
│ ├── mode-html_ruby.js
│ ├── mode-ini.js
│ ├── mode-io.js
│ ├── mode-jack.js
│ ├── mode-jade.js
│ ├── mode-java.js
│ ├── mode-javascript.js
│ ├── mode-json.js
│ ├── mode-jsoniq.js
│ ├── mode-jsp.js
│ ├── mode-jsx.js
│ ├── mode-julia.js
│ ├── mode-kotlin.js
│ ├── mode-latex.js
│ ├── mode-lean.js
│ ├── mode-less.js
│ ├── mode-liquid.js
│ ├── mode-lisp.js
│ ├── mode-live_script.js
│ ├── mode-livescript.js
│ ├── mode-logiql.js
│ ├── mode-lsl.js
│ ├── mode-lua.js
│ ├── mode-luapage.js
│ ├── mode-lucene.js
│ ├── mode-makefile.js
│ ├── mode-markdown.js
│ ├── mode-mask.js
│ ├── mode-matlab.js
│ ├── mode-maze.js
│ ├── mode-mel.js
│ ├── mode-mips_assembler.js
│ ├── mode-mipsassembler.js
│ ├── mode-mushcode.js
│ ├── mode-mysql.js
│ ├── mode-nix.js
│ ├── mode-nsis.js
│ ├── mode-objectivec.js
│ ├── mode-ocaml.js
│ ├── mode-pascal.js
│ ├── mode-perl.js
│ ├── mode-pgsql.js
│ ├── mode-php.js
│ ├── mode-plain_text.js
│ ├── mode-powershell.js
│ ├── mode-praat.js
│ ├── mode-prolog.js
│ ├── mode-properties.js
│ ├── mode-protobuf.js
│ ├── mode-python.js
│ ├── mode-r.js
│ ├── mode-razor.js
│ ├── mode-rdoc.js
│ ├── mode-rhtml.js
│ ├── mode-rst.js
│ ├── mode-ruby.js
│ ├── mode-rust.js
│ ├── mode-sass.js
│ ├── mode-scad.js
│ ├── mode-scala.js
│ ├── mode-scheme.js
│ ├── mode-scss.js
│ ├── mode-sh.js
│ ├── mode-sjs.js
│ ├── mode-smarty.js
│ ├── mode-snippets.js
│ ├── mode-soy_template.js
│ ├── mode-space.js
│ ├── mode-sql.js
│ ├── mode-sqlserver.js
│ ├── mode-stylus.js
│ ├── mode-svg.js
│ ├── mode-swift.js
│ ├── mode-swig.js
│ ├── mode-tcl.js
│ ├── mode-tex.js
│ ├── mode-text.js
│ ├── mode-textile.js
│ ├── mode-toml.js
│ ├── mode-tsx.js
│ ├── mode-twig.js
│ ├── mode-typescript.js
│ ├── mode-vala.js
│ ├── mode-vbscript.js
│ ├── mode-velocity.js
│ ├── mode-verilog.js
│ ├── mode-vhdl.js
│ ├── mode-wollok.js
│ ├── mode-xml.js
│ ├── mode-xquery.js
│ ├── mode-yaml.js
│ ├── snippets
│ │ ├── abap.js
│ │ ├── abc.js
│ │ ├── actionscript.js
│ │ ├── ada.js
│ │ ├── apache_conf.js
│ │ ├── applescript.js
│ │ ├── asciidoc.js
│ │ ├── assembly_x86.js
│ │ ├── autohotkey.js
│ │ ├── batchfile.js
│ │ ├── bro.js
│ │ ├── c9search.js
│ │ ├── c_cpp.js
│ │ ├── cirru.js
│ │ ├── clojure.js
│ │ ├── cobol.js
│ │ ├── coffee.js
│ │ ├── coldfusion.js
│ │ ├── csharp.js
│ │ ├── css.js
│ │ ├── curly.js
│ │ ├── d.js
│ │ ├── dart.js
│ │ ├── diff.js
│ │ ├── django.js
│ │ ├── dockerfile.js
│ │ ├── dot.js
│ │ ├── drools.js
│ │ ├── eiffel.js
│ │ ├── ejs.js
│ │ ├── elixir.js
│ │ ├── elm.js
│ │ ├── erlang.js
│ │ ├── forth.js
│ │ ├── fortran.js
│ │ ├── ftl.js
│ │ ├── gcode.js
│ │ ├── gherkin.js
│ │ ├── gitignore.js
│ │ ├── glsl.js
│ │ ├── gobstones.js
│ │ ├── golang.js
│ │ ├── groovy.js
│ │ ├── haml.js
│ │ ├── handlebars.js
│ │ ├── haskell.js
│ │ ├── haskell_cabal.js
│ │ ├── haxe.js
│ │ ├── hjson.js
│ │ ├── html.js
│ │ ├── html_elixir.js
│ │ ├── html_ruby.js
│ │ ├── ini.js
│ │ ├── io.js
│ │ ├── jack.js
│ │ ├── jade.js
│ │ ├── java.js
│ │ ├── javascript.js
│ │ ├── json.js
│ │ ├── jsoniq.js
│ │ ├── jsp.js
│ │ ├── jsx.js
│ │ ├── julia.js
│ │ ├── kotlin.js
│ │ ├── latex.js
│ │ ├── lean.js
│ │ ├── less.js
│ │ ├── liquid.js
│ │ ├── lisp.js
│ │ ├── live_script.js
│ │ ├── livescript.js
│ │ ├── logiql.js
│ │ ├── lsl.js
│ │ ├── lua.js
│ │ ├── luapage.js
│ │ ├── lucene.js
│ │ ├── makefile.js
│ │ ├── markdown.js
│ │ ├── mask.js
│ │ ├── matlab.js
│ │ ├── maze.js
│ │ ├── mel.js
│ │ ├── mips_assembler.js
│ │ ├── mipsassembler.js
│ │ ├── mushcode.js
│ │ ├── mysql.js
│ │ ├── nix.js
│ │ ├── nsis.js
│ │ ├── objectivec.js
│ │ ├── ocaml.js
│ │ ├── pascal.js
│ │ ├── perl.js
│ │ ├── pgsql.js
│ │ ├── php.js
│ │ ├── plain_text.js
│ │ ├── powershell.js
│ │ ├── praat.js
│ │ ├── prolog.js
│ │ ├── properties.js
│ │ ├── protobuf.js
│ │ ├── python.js
│ │ ├── r.js
│ │ ├── razor.js
│ │ ├── rdoc.js
│ │ ├── rhtml.js
│ │ ├── rst.js
│ │ ├── ruby.js
│ │ ├── rust.js
│ │ ├── sass.js
│ │ ├── scad.js
│ │ ├── scala.js
│ │ ├── scheme.js
│ │ ├── scss.js
│ │ ├── sh.js
│ │ ├── sjs.js
│ │ ├── smarty.js
│ │ ├── snippets.js
│ │ ├── soy_template.js
│ │ ├── space.js
│ │ ├── sql.js
│ │ ├── sqlserver.js
│ │ ├── stylus.js
│ │ ├── svg.js
│ │ ├── swift.js
│ │ ├── swig.js
│ │ ├── tcl.js
│ │ ├── tex.js
│ │ ├── text.js
│ │ ├── textile.js
│ │ ├── toml.js
│ │ ├── tsx.js
│ │ ├── twig.js
│ │ ├── typescript.js
│ │ ├── vala.js
│ │ ├── vbscript.js
│ │ ├── velocity.js
│ │ ├── verilog.js
│ │ ├── vhdl.js
│ │ ├── wollok.js
│ │ ├── xml.js
│ │ ├── xquery.js
│ │ └── yaml.js
│ ├── theme-ambiance.js
│ ├── theme-chaos.js
│ ├── theme-chrome.js
│ ├── theme-clouds.js
│ ├── theme-clouds_midnight.js
│ ├── theme-cobalt.js
│ ├── theme-crimson_editor.js
│ ├── theme-dawn.js
│ ├── theme-dreamweaver.js
│ ├── theme-eclipse.js
│ ├── theme-github.js
│ ├── theme-idle_fingers.js
│ ├── theme-iplastic.js
│ ├── theme-katzenmilch.js
│ ├── theme-kr_theme.js
│ ├── theme-kuroir.js
│ ├── theme-merbivore.js
│ ├── theme-merbivore_soft.js
│ ├── theme-mono_industrial.js
│ ├── theme-monokai.js
│ ├── theme-pastel_on_dark.js
│ ├── theme-solarized_dark.js
│ ├── theme-solarized_light.js
│ ├── theme-sqlserver.js
│ ├── theme-terminal.js
│ ├── theme-textmate.js
│ ├── theme-tomorrow.js
│ ├── theme-tomorrow_night.js
│ ├── theme-tomorrow_night_blue.js
│ ├── theme-tomorrow_night_bright.js
│ ├── theme-tomorrow_night_eighties.js
│ ├── theme-twilight.js
│ ├── theme-vibrant_ink.js
│ ├── theme-xcode.js
│ ├── worker-coffee.js
│ ├── worker-css.js
│ ├── worker-html.js
│ ├── worker-javascript.js
│ ├── worker-json.js
│ ├── worker-lua.js
│ ├── worker-php.js
│ ├── worker-xml.js
│ └── worker-xquery.js
└── stylesheets
│ ├── bootstrap.min.css
│ └── style.css
├── routes
└── index.js
└── views
├── error.jade
├── index.jade
└── layout.jade
/.gitignore:
--------------------------------------------------------------------------------
1 | /node_modules
2 | /bin
3 |
--------------------------------------------------------------------------------
/Procfile:
--------------------------------------------------------------------------------
1 | web: node app.js
2 |
3 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # compiler-using-hackerrank-api
2 | It is a simple online compiler that uses ACE Editor and Hackerrank Api to let you write code and then compile it.
3 | Supported Languages are: C, C++, C#, JavaScript, Java, Python.
4 |
5 | It runs on Node Server with Express.
6 | Inorder to set it up get your self registered on Hackerrank and signup for an API KEY.
7 | Set up yor API KEY in the server.
8 |
9 | Live demo can be seen on https://codecompilerun.herokuapp.com
10 |
11 |
12 |
--------------------------------------------------------------------------------
/app.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var path = require('path');
3 | var favicon = require('serve-favicon');
4 | var logger = require('morgan');
5 | var cookieParser = require('cookie-parser');
6 | var bodyParser = require('body-parser');
7 |
8 | var index = require('./routes/index');
9 |
10 |
11 |
12 |
13 | var app = express();
14 |
15 | app.set('port', process.env.PORT || 3009);
16 | // view engine setup
17 | app.set('views', path.join(__dirname, 'views'));
18 | app.set('view engine', 'jade');
19 |
20 | // uncomment after placing your favicon in /public
21 | //app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')));
22 | app.use(logger('dev'));
23 | app.use(bodyParser.json());
24 | app.use(bodyParser.urlencoded({ extended: false }));
25 | app.use(cookieParser());
26 | app.use(express.static(path.join(__dirname, 'public')));
27 |
28 | app.use('/', index);
29 |
30 |
31 | // catch 404 and forward to error handler
32 | app.use(function(req, res, next) {
33 | var err = new Error('Not Found');
34 | err.status = 404;
35 | next(err);
36 | });
37 |
38 | // error handler
39 | app.use(function(err, req, res, next) {
40 | // set locals, only providing error in development
41 | res.locals.message = err.message;
42 | res.locals.error = req.app.get('env') === 'development' ? err : {};
43 |
44 | // render the error page
45 | res.status(err.status || 500);
46 | res.render('error');
47 | });
48 |
49 | app.listen(app.get('port'));
50 | module.exports = app;
51 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Code Compiler",
3 | "version": "0.0.0",
4 | "private": true,
5 | "scripts": {
6 | "start": "node ./bin/www"
7 | },
8 | "devDependencies": {
9 | "asyncjs": "0.0.x",
10 | "jsdom": "9.3.0",
11 | "amd-loader": "~0.0.4",
12 | "dryice": "0.4.11",
13 | "architect-build": "https://github.com/c9/architect-build/tarball/17268dce65"
14 | },
15 | "dependencies": {
16 | "babel-polyfill": "^6.23.0",
17 | "body-parser": "~1.15.1",
18 | "cookie-parser": "~1.4.3",
19 | "debug": "~2.2.0",
20 | "express": "~4.13.4",
21 | "express-messages": "*",
22 | "express-session": "*",
23 | "express-validator": "*",
24 | "jade": "~1.11.0",
25 | "machinepack-hackerrank": "^0.1.2",
26 | "morgan": "~1.7.0",
27 | "node-hackerrank": "^1.0.6",
28 | "request": "*",
29 | "request-promise": "*",
30 | "serve-favicon":"*"
31 |
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/public/javascripts/compile.js:
--------------------------------------------------------------------------------
1 |
2 |
3 | $(document).ready(function(){
4 |
5 |
6 |
7 |
8 | $('.compileButton').on('click',function(){
9 | var editor = ace.edit("editor");
10 | if($('.languageSelector').val()==""){
11 | alert("Please select a language");
12 | }
13 | else if(editor.getValue()=="")
14 | {
15 | alert("cannot compile empty source");
16 | }
17 | else{
18 | $("#runResponse").html("");
19 | $("#runResponse").html("Compiling... Please Wait");
20 | var testCases=[];
21 | testCases[0]=$('.customInput').val();
22 |
23 |
24 | if(testCases.length==-1){
25 | testCases.push(" ");
26 | }
27 |
28 | var config=
29 | {
30 | source:editor.getValue(),
31 | input:JSON.stringify(testCases),
32 | language:$('.languageSelector').val()};
33 |
34 |
35 |
36 |
37 | $.ajax({
38 | type:'POST',
39 | url:'/compile',
40 | data:config,
41 | dataType:'json',
42 | }).done(function(data){
43 | data=JSON.parse(data);
44 | var str = (data.result.compilemessage).toString();
45 | str=decodeURIComponent(escape(str));
46 |
47 |
48 |
49 | $("#runResponse").html("");
50 | if(str==""){
51 | $("#runResponse").html("Compile Message: Compilation Successful
");
52 | $("#runResponse").append("Output:
");
53 |
54 | (data.result.stdout).forEach(function(item,index){
55 | $("#runResponse").append(data.result.stdout[index]+"
");
56 |
57 | });
58 | }
59 | else{
60 | $("#runResponse").html("Compile Message: "+ str+"
");
61 | }
62 |
63 |
64 |
65 |
66 |
67 | });
68 | }
69 | });
70 |
71 |
72 |
73 | });
74 |
75 | function changeLanguage(){
76 | var language=document.getElementById('languageSelector').value;
77 | var langCode;
78 | switch(language){
79 | case "1":
80 | langCode="c_cpp";
81 | break;
82 | case "2":
83 | langCode="c_cpp";
84 | break;
85 | case "9":
86 | langCode="csharp";
87 | break;
88 | case "3":
89 | langCode="java";
90 | break;
91 | case "20":
92 | langCode="javascript";
93 | break;
94 | case "5":
95 | langCode="python";
96 | break;
97 | }
98 | var lang={
99 | langCode:langCode
100 | };
101 |
102 | window.location.href = '/changelang/'+langCode+'/'+language;
103 |
104 | }
105 |
--------------------------------------------------------------------------------
/public/src-noconflict/ext-error_marker.js:
--------------------------------------------------------------------------------
1 |
2 | ;
3 | (function() {
4 | ace.require(["ace/ext/error_marker"], function() {});
5 | })();
6 |
--------------------------------------------------------------------------------
/public/src-noconflict/ext-linking.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/ext/linking",["require","exports","module","ace/editor","ace/config"], function(require, exports, module) {
2 |
3 | var Editor = require("ace/editor").Editor;
4 |
5 | require("../config").defineOptions(Editor.prototype, "editor", {
6 | enableLinking: {
7 | set: function(val) {
8 | if (val) {
9 | this.on("click", onClick);
10 | this.on("mousemove", onMouseMove);
11 | } else {
12 | this.off("click", onClick);
13 | this.off("mousemove", onMouseMove);
14 | }
15 | },
16 | value: false
17 | }
18 | })
19 |
20 | function onMouseMove(e) {
21 | var editor = e.editor;
22 | var ctrl = e.getAccelKey();
23 |
24 | if (ctrl) {
25 | var editor = e.editor;
26 | var docPos = e.getDocumentPosition();
27 | var session = editor.session;
28 | var token = session.getTokenAt(docPos.row, docPos.column);
29 |
30 | editor._emit("linkHover", {position: docPos, token: token});
31 | }
32 | }
33 |
34 | function onClick(e) {
35 | var ctrl = e.getAccelKey();
36 | var button = e.getButton();
37 |
38 | if (button == 0 && ctrl) {
39 | var editor = e.editor;
40 | var docPos = e.getDocumentPosition();
41 | var session = editor.session;
42 | var token = session.getTokenAt(docPos.row, docPos.column);
43 |
44 | editor._emit("linkClick", {position: docPos, token: token});
45 | }
46 | }
47 |
48 | });
49 | (function() {
50 | ace.require(["ace/ext/linking"], function() {});
51 | })();
52 |
--------------------------------------------------------------------------------
/public/src-noconflict/ext-spellcheck.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/ext/spellcheck",["require","exports","module","ace/lib/event","ace/editor","ace/config"], function(require, exports, module) {
2 | "use strict";
3 | var event = require("../lib/event");
4 |
5 | exports.contextMenuHandler = function(e){
6 | var host = e.target;
7 | var text = host.textInput.getElement();
8 | if (!host.selection.isEmpty())
9 | return;
10 | var c = host.getCursorPosition();
11 | var r = host.session.getWordRange(c.row, c.column);
12 | var w = host.session.getTextRange(r);
13 |
14 | host.session.tokenRe.lastIndex = 0;
15 | if (!host.session.tokenRe.test(w))
16 | return;
17 | var PLACEHOLDER = "\x01\x01";
18 | var value = w + " " + PLACEHOLDER;
19 | text.value = value;
20 | text.setSelectionRange(w.length, w.length + 1);
21 | text.setSelectionRange(0, 0);
22 | text.setSelectionRange(0, w.length);
23 |
24 | var afterKeydown = false;
25 | event.addListener(text, "keydown", function onKeydown() {
26 | event.removeListener(text, "keydown", onKeydown);
27 | afterKeydown = true;
28 | });
29 |
30 | host.textInput.setInputHandler(function(newVal) {
31 | console.log(newVal , value, text.selectionStart, text.selectionEnd)
32 | if (newVal == value)
33 | return '';
34 | if (newVal.lastIndexOf(value, 0) === 0)
35 | return newVal.slice(value.length);
36 | if (newVal.substr(text.selectionEnd) == value)
37 | return newVal.slice(0, -value.length);
38 | if (newVal.slice(-2) == PLACEHOLDER) {
39 | var val = newVal.slice(0, -2);
40 | if (val.slice(-1) == " ") {
41 | if (afterKeydown)
42 | return val.substring(0, text.selectionEnd);
43 | val = val.slice(0, -1);
44 | host.session.replace(r, val);
45 | return "";
46 | }
47 | }
48 |
49 | return newVal;
50 | });
51 | };
52 | var Editor = require("../editor").Editor;
53 | require("../config").defineOptions(Editor.prototype, "editor", {
54 | spellcheck: {
55 | set: function(val) {
56 | var text = this.textInput.getElement();
57 | text.spellcheck = !!val;
58 | if (!val)
59 | this.removeListener("nativecontextmenu", exports.contextMenuHandler);
60 | else
61 | this.on("nativecontextmenu", exports.contextMenuHandler);
62 | },
63 | value: true
64 | }
65 | });
66 |
67 | });
68 | (function() {
69 | ace.require(["ace/ext/spellcheck"], function() {});
70 | })();
71 |
--------------------------------------------------------------------------------
/public/src-noconflict/ext-statusbar.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/ext/statusbar",["require","exports","module","ace/lib/dom","ace/lib/lang"], function(require, exports, module) {
2 | "use strict";
3 | var dom = require("ace/lib/dom");
4 | var lang = require("ace/lib/lang");
5 |
6 | var StatusBar = function(editor, parentNode) {
7 | this.element = dom.createElement("div");
8 | this.element.className = "ace_status-indicator";
9 | this.element.style.cssText = "display: inline-block;";
10 | parentNode.appendChild(this.element);
11 |
12 | var statusUpdate = lang.delayedCall(function(){
13 | this.updateStatus(editor)
14 | }.bind(this)).schedule.bind(null, 100);
15 |
16 | editor.on("changeStatus", statusUpdate);
17 | editor.on("changeSelection", statusUpdate);
18 | editor.on("keyboardActivity", statusUpdate);
19 | };
20 |
21 | (function(){
22 | this.updateStatus = function(editor) {
23 | var status = [];
24 | function add(str, separator) {
25 | str && status.push(str, separator || "|");
26 | }
27 |
28 | add(editor.keyBinding.getStatusText(editor));
29 | if (editor.commands.recording)
30 | add("REC");
31 |
32 | var sel = editor.selection;
33 | var c = sel.lead;
34 |
35 | if (!sel.isEmpty()) {
36 | var r = editor.getSelectionRange();
37 | add("(" + (r.end.row - r.start.row) + ":" +(r.end.column - r.start.column) + ")", " ");
38 | }
39 | add(c.row + ":" + c.column, " ");
40 | if (sel.rangeCount)
41 | add("[" + sel.rangeCount + "]", " ");
42 | status.pop();
43 | this.element.textContent = status.join("");
44 | };
45 | }).call(StatusBar.prototype);
46 |
47 | exports.StatusBar = StatusBar;
48 |
49 | });
50 | (function() {
51 | ace.require(["ace/ext/statusbar"], function() {});
52 | })();
53 |
--------------------------------------------------------------------------------
/public/src-noconflict/ext-themelist.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/ext/themelist",["require","exports","module","ace/lib/fixoldbrowsers"], function(require, exports, module) {
2 | "use strict";
3 | require("ace/lib/fixoldbrowsers");
4 |
5 | var themeData = [
6 | ["Chrome" ],
7 | ["Clouds" ],
8 | ["Crimson Editor" ],
9 | ["Dawn" ],
10 | ["Dreamweaver" ],
11 | ["Eclipse" ],
12 | ["GitHub" ],
13 | ["IPlastic" ],
14 | ["Solarized Light"],
15 | ["TextMate" ],
16 | ["Tomorrow" ],
17 | ["XCode" ],
18 | ["Kuroir"],
19 | ["KatzenMilch"],
20 | ["SQL Server" ,"sqlserver" , "light"],
21 | ["Ambiance" ,"ambiance" , "dark"],
22 | ["Chaos" ,"chaos" , "dark"],
23 | ["Clouds Midnight" ,"clouds_midnight" , "dark"],
24 | ["Cobalt" ,"cobalt" , "dark"],
25 | ["Gruvbox" ,"gruvbox" , "dark"],
26 | ["idle Fingers" ,"idle_fingers" , "dark"],
27 | ["krTheme" ,"kr_theme" , "dark"],
28 | ["Merbivore" ,"merbivore" , "dark"],
29 | ["Merbivore Soft" ,"merbivore_soft" , "dark"],
30 | ["Mono Industrial" ,"mono_industrial" , "dark"],
31 | ["Monokai" ,"monokai" , "dark"],
32 | ["Pastel on dark" ,"pastel_on_dark" , "dark"],
33 | ["Solarized Dark" ,"solarized_dark" , "dark"],
34 | ["Terminal" ,"terminal" , "dark"],
35 | ["Tomorrow Night" ,"tomorrow_night" , "dark"],
36 | ["Tomorrow Night Blue" ,"tomorrow_night_blue" , "dark"],
37 | ["Tomorrow Night Bright","tomorrow_night_bright" , "dark"],
38 | ["Tomorrow Night 80s" ,"tomorrow_night_eighties" , "dark"],
39 | ["Twilight" ,"twilight" , "dark"],
40 | ["Vibrant Ink" ,"vibrant_ink" , "dark"]
41 | ];
42 |
43 |
44 | exports.themesByName = {};
45 | exports.themes = themeData.map(function(data) {
46 | var name = data[1] || data[0].replace(/ /g, "_").toLowerCase();
47 | var theme = {
48 | caption: data[0],
49 | theme: "ace/theme/" + name,
50 | isDark: data[2] == "dark",
51 | name: name
52 | };
53 | exports.themesByName[name] = theme;
54 | return theme;
55 | });
56 |
57 | });
58 | (function() {
59 | ace.require(["ace/ext/themelist"], function() {});
60 | })();
61 |
--------------------------------------------------------------------------------
/public/src-noconflict/mode-gitignore.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/mode/gitignore_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 GitignoreHighlightRules = function() {
8 | this.$rules = {
9 | "start" : [
10 | {
11 | token : "comment",
12 | regex : /^\s*#.*$/
13 | }, {
14 | token : "keyword", // negated patterns
15 | regex : /^\s*!.*$/
16 | }
17 | ]
18 | };
19 |
20 | this.normalizeRules();
21 | };
22 |
23 | GitignoreHighlightRules.metaData = {
24 | fileTypes: ['gitignore'],
25 | name: 'Gitignore'
26 | };
27 |
28 | oop.inherits(GitignoreHighlightRules, TextHighlightRules);
29 |
30 | exports.GitignoreHighlightRules = GitignoreHighlightRules;
31 | });
32 |
33 | ace.define("ace/mode/gitignore",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gitignore_highlight_rules"], function(require, exports, module) {
34 | "use strict";
35 |
36 | var oop = require("../lib/oop");
37 | var TextMode = require("./text").Mode;
38 | var GitignoreHighlightRules = require("./gitignore_highlight_rules").GitignoreHighlightRules;
39 |
40 | var Mode = function() {
41 | this.HighlightRules = GitignoreHighlightRules;
42 | this.$behaviour = this.$defaultBehaviour;
43 | };
44 | oop.inherits(Mode, TextMode);
45 |
46 | (function() {
47 | this.lineCommentStart = "#";
48 | this.$id = "ace/mode/gitignore";
49 | }).call(Mode.prototype);
50 |
51 | exports.Mode = Mode;
52 | });
53 |
--------------------------------------------------------------------------------
/public/src-noconflict/mode-lucene.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/mode/lucene_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 LuceneHighlightRules = function() {
9 | this.$rules = {
10 | "start" : [
11 | {
12 | token : "constant.character.negation",
13 | regex : "[\\-]"
14 | }, {
15 | token : "constant.character.interro",
16 | regex : "[\\?]"
17 | }, {
18 | token : "constant.character.asterisk",
19 | regex : "[\\*]"
20 | }, {
21 | token: 'constant.character.proximity',
22 | regex: '~[0-9]+\\b'
23 | }, {
24 | token : 'keyword.operator',
25 | regex: '(?:AND|OR|NOT)\\b'
26 | }, {
27 | token : "paren.lparen",
28 | regex : "[\\(]"
29 | }, {
30 | token : "paren.rparen",
31 | regex : "[\\)]"
32 | }, {
33 | token : "keyword",
34 | regex : "[\\S]+:"
35 | }, {
36 | token : "string", // " string
37 | regex : '".*?"'
38 | }, {
39 | token : "text",
40 | regex : "\\s+"
41 | }
42 | ]
43 | };
44 | };
45 |
46 | oop.inherits(LuceneHighlightRules, TextHighlightRules);
47 |
48 | exports.LuceneHighlightRules = LuceneHighlightRules;
49 | });
50 |
51 | ace.define("ace/mode/lucene",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/lucene_highlight_rules"], function(require, exports, module) {
52 | 'use strict';
53 |
54 | var oop = require("../lib/oop");
55 | var TextMode = require("./text").Mode;
56 | var LuceneHighlightRules = require("./lucene_highlight_rules").LuceneHighlightRules;
57 |
58 | var Mode = function() {
59 | this.HighlightRules = LuceneHighlightRules;
60 | this.$behaviour = this.$defaultBehaviour;
61 | };
62 |
63 | oop.inherits(Mode, TextMode);
64 |
65 | (function() {
66 | this.$id = "ace/mode/lucene";
67 | }).call(Mode.prototype);
68 |
69 | exports.Mode = Mode;
70 | });
71 |
--------------------------------------------------------------------------------
/public/src-noconflict/mode-plain_text.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/mode/plain_text",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/text_highlight_rules","ace/mode/behaviour"], function(require, exports, module) {
2 | "use strict";
3 |
4 | var oop = require("../lib/oop");
5 | var TextMode = require("./text").Mode;
6 | var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
7 | var Behaviour = require("./behaviour").Behaviour;
8 |
9 | var Mode = function() {
10 | this.HighlightRules = TextHighlightRules;
11 | this.$behaviour = new Behaviour();
12 | };
13 |
14 | oop.inherits(Mode, TextMode);
15 |
16 | (function() {
17 | this.type = "text";
18 | this.getNextLineIndent = function(state, line, tab) {
19 | return '';
20 | };
21 | this.$id = "ace/mode/plain_text";
22 | }).call(Mode.prototype);
23 |
24 | exports.Mode = Mode;
25 | });
26 |
--------------------------------------------------------------------------------
/public/src-noconflict/mode-properties.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/mode/properties_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 PropertiesHighlightRules = function() {
8 |
9 | var escapeRe = /\\u[0-9a-fA-F]{4}|\\/;
10 |
11 | this.$rules = {
12 | "start" : [
13 | {
14 | token : "comment",
15 | regex : /[!#].*$/
16 | }, {
17 | token : "keyword",
18 | regex : /[=:]$/
19 | }, {
20 | token : "keyword",
21 | regex : /[=:]/,
22 | next : "value"
23 | }, {
24 | token : "constant.language.escape",
25 | regex : escapeRe
26 | }, {
27 | defaultToken: "variable"
28 | }
29 | ],
30 | "value" : [
31 | {
32 | regex : /\\$/,
33 | token : "string",
34 | next : "value"
35 | }, {
36 | regex : /$/,
37 | token : "string",
38 | next : "start"
39 | }, {
40 | token : "constant.language.escape",
41 | regex : escapeRe
42 | }, {
43 | defaultToken: "string"
44 | }
45 | ]
46 | };
47 |
48 | };
49 |
50 | oop.inherits(PropertiesHighlightRules, TextHighlightRules);
51 |
52 | exports.PropertiesHighlightRules = PropertiesHighlightRules;
53 | });
54 |
55 | ace.define("ace/mode/properties",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/properties_highlight_rules"], function(require, exports, module) {
56 | "use strict";
57 |
58 | var oop = require("../lib/oop");
59 | var TextMode = require("./text").Mode;
60 | var PropertiesHighlightRules = require("./properties_highlight_rules").PropertiesHighlightRules;
61 |
62 | var Mode = function() {
63 | this.HighlightRules = PropertiesHighlightRules;
64 | this.$behaviour = this.$defaultBehaviour;
65 | };
66 | oop.inherits(Mode, TextMode);
67 |
68 | (function() {
69 | this.$id = "ace/mode/properties";
70 | }).call(Mode.prototype);
71 |
72 | exports.Mode = Mode;
73 | });
74 |
--------------------------------------------------------------------------------
/public/src-noconflict/mode-text.js:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/abap.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/abap",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "abap";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/abc.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/abc",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "\n\
5 | snippet zupfnoter.print\n\
6 | %%%%hn.print {\"startpos\": ${1:pos_y}, \"t\":\"${2:title}\", \"v\":[${3:voices}], \"s\":[[${4:syncvoices}1,2]], \"f\":[${5:flowlines}], \"sf\":[${6:subflowlines}], \"j\":[${7:jumplines}]}\n\
7 | \n\
8 | snippet zupfnoter.note\n\
9 | %%%%hn.note {\"pos\": [${1:pos_x},${2:pos_y}], \"text\": \"${3:text}\", \"style\": \"${4:style}\"}\n\
10 | \n\
11 | snippet zupfnoter.annotation\n\
12 | %%%%hn.annotation {\"id\": \"${1:id}\", \"pos\": [${2:pos}], \"text\": \"${3:text}\"}\n\
13 | \n\
14 | snippet zupfnoter.lyrics\n\
15 | %%%%hn.lyrics {\"pos\": [${1:x_pos},${2:y_pos}]}\n\
16 | \n\
17 | snippet zupfnoter.legend\n\
18 | %%%%hn.legend {\"pos\": [${1:x_pos},${2:y_pos}]}\n\
19 | \n\
20 | \n\
21 | \n\
22 | snippet zupfnoter.target\n\
23 | \"^:${1:target}\"\n\
24 | \n\
25 | snippet zupfnoter.goto\n\
26 | \"^@${1:target}@${2:distance}\"\n\
27 | \n\
28 | snippet zupfnoter.annotationref\n\
29 | \"^#${1:target}\"\n\
30 | \n\
31 | snippet zupfnoter.annotation\n\
32 | \"^!${1:text}@${2:x_offset},${3:y_offset}\"\n\
33 | \n\
34 | \n\
35 | ";
36 | exports.scope = "abc";
37 |
38 | });
39 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/ada.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/ada",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "ada";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/apache_conf.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/apache_conf",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "apache_conf";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/applescript.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/applescript",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "applescript";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/asciidoc.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/asciidoc",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "asciidoc";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/assembly_x86.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/assembly_x86",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "assembly_x86";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/autohotkey.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/autohotkey",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "autohotkey";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/batchfile.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/batchfile",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "batchfile";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/bro.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/bro",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/c9search.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/c9search",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "c9search";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/cirru.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/cirru",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "cirru";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/clojure.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/clojure",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet comm\n\
5 | (comment\n\
6 | ${1}\n\
7 | )\n\
8 | snippet condp\n\
9 | (condp ${1:pred} ${2:expr}\n\
10 | ${3})\n\
11 | snippet def\n\
12 | (def ${1})\n\
13 | snippet defm\n\
14 | (defmethod ${1:multifn} \"${2:doc-string}\" ${3:dispatch-val} [${4:args}]\n\
15 | ${5})\n\
16 | snippet defmm\n\
17 | (defmulti ${1:name} \"${2:doc-string}\" ${3:dispatch-fn})\n\
18 | snippet defma\n\
19 | (defmacro ${1:name} \"${2:doc-string}\" ${3:dispatch-fn})\n\
20 | snippet defn\n\
21 | (defn ${1:name} \"${2:doc-string}\" [${3:arg-list}]\n\
22 | ${4})\n\
23 | snippet defp\n\
24 | (defprotocol ${1:name}\n\
25 | ${2})\n\
26 | snippet defr\n\
27 | (defrecord ${1:name} [${2:fields}]\n\
28 | ${3:protocol}\n\
29 | ${4})\n\
30 | snippet deft\n\
31 | (deftest ${1:name}\n\
32 | (is (= ${2:assertion})))\n\
33 | ${3})\n\
34 | snippet is\n\
35 | (is (= ${1} ${2}))\n\
36 | snippet defty\n\
37 | (deftype ${1:Name} [${2:fields}]\n\
38 | ${3:Protocol}\n\
39 | ${4})\n\
40 | snippet doseq\n\
41 | (doseq [${1:elem} ${2:coll}]\n\
42 | ${3})\n\
43 | snippet fn\n\
44 | (fn [${1:arg-list}] ${2})\n\
45 | snippet if\n\
46 | (if ${1:test-expr}\n\
47 | ${2:then-expr}\n\
48 | ${3:else-expr})\n\
49 | snippet if-let \n\
50 | (if-let [${1:result} ${2:test-expr}]\n\
51 | (${3:then-expr} $1)\n\
52 | (${4:else-expr}))\n\
53 | snippet imp\n\
54 | (:import [${1:package}])\n\
55 | & {:keys [${1:keys}] :or {${2:defaults}}}\n\
56 | snippet let\n\
57 | (let [${1:name} ${2:expr}]\n\
58 | ${3})\n\
59 | snippet letfn\n\
60 | (letfn [(${1:name) [${2:args}]\n\
61 | ${3})])\n\
62 | snippet map\n\
63 | (map ${1:func} ${2:coll})\n\
64 | snippet mapl\n\
65 | (map #(${1:lambda}) ${2:coll})\n\
66 | snippet met\n\
67 | (${1:name} [${2:this} ${3:args}]\n\
68 | ${4})\n\
69 | snippet ns\n\
70 | (ns ${1:name}\n\
71 | ${2})\n\
72 | snippet dotimes\n\
73 | (dotimes [_ 10]\n\
74 | (time\n\
75 | (dotimes [_ ${1:times}]\n\
76 | ${2})))\n\
77 | snippet pmethod\n\
78 | (${1:name} [${2:this} ${3:args}])\n\
79 | snippet refer\n\
80 | (:refer-clojure :exclude [${1}])\n\
81 | snippet require\n\
82 | (:require [${1:namespace} :as [${2}]])\n\
83 | snippet use\n\
84 | (:use [${1:namespace} :only [${2}]])\n\
85 | snippet print\n\
86 | (println ${1})\n\
87 | snippet reduce\n\
88 | (reduce ${1:(fn [p n] ${3})} ${2})\n\
89 | snippet when\n\
90 | (when ${1:test} ${2:body})\n\
91 | snippet when-let\n\
92 | (when-let [${1:result} ${2:test}]\n\
93 | ${3:body})\n\
94 | ";
95 | exports.scope = "clojure";
96 |
97 | });
98 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/cobol.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/cobol",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "cobol";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/coldfusion.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/coldfusion",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "coldfusion";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/csharp.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/csharp",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "csharp";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/curly.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/curly",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "curly";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/d.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/d",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "d";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/dart.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/dart",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet lib\n\
5 | library ${1};\n\
6 | ${2}\n\
7 | snippet im\n\
8 | import '${1}';\n\
9 | ${2}\n\
10 | snippet pa\n\
11 | part '${1}';\n\
12 | ${2}\n\
13 | snippet pao\n\
14 | part of ${1};\n\
15 | ${2}\n\
16 | snippet main\n\
17 | void main() {\n\
18 | ${1:/* code */}\n\
19 | }\n\
20 | snippet st\n\
21 | static ${1}\n\
22 | snippet fi\n\
23 | final ${1}\n\
24 | snippet re\n\
25 | return ${1}\n\
26 | snippet br\n\
27 | break;\n\
28 | snippet th\n\
29 | throw ${1}\n\
30 | snippet cl\n\
31 | class ${1:`Filename(\"\", \"untitled\")`} ${2}\n\
32 | snippet imp\n\
33 | implements ${1}\n\
34 | snippet ext\n\
35 | extends ${1}\n\
36 | snippet if\n\
37 | if (${1:true}) {\n\
38 | ${2}\n\
39 | }\n\
40 | snippet ife\n\
41 | if (${1:true}) {\n\
42 | ${2}\n\
43 | } else {\n\
44 | ${3}\n\
45 | }\n\
46 | snippet el\n\
47 | else\n\
48 | snippet sw\n\
49 | switch (${1}) {\n\
50 | ${2}\n\
51 | }\n\
52 | snippet cs\n\
53 | case ${1}:\n\
54 | ${2}\n\
55 | snippet de\n\
56 | default:\n\
57 | ${1}\n\
58 | snippet for\n\
59 | for (var ${2:i} = 0, len = ${1:things}.length; $2 < len; ${3:++}$2) {\n\
60 | ${4:$1[$2]}\n\
61 | }\n\
62 | snippet fore\n\
63 | for (final ${2:item} in ${1:itemList}) {\n\
64 | ${3:/* code */}\n\
65 | }\n\
66 | snippet wh\n\
67 | while (${1:/* condition */}) {\n\
68 | ${2:/* code */}\n\
69 | }\n\
70 | snippet dowh\n\
71 | do {\n\
72 | ${2:/* code */}\n\
73 | } while (${1:/* condition */});\n\
74 | snippet as\n\
75 | assert(${1:/* condition */});\n\
76 | snippet try\n\
77 | try {\n\
78 | ${2}\n\
79 | } catch (${1:Exception e}) {\n\
80 | }\n\
81 | snippet tryf\n\
82 | try {\n\
83 | ${2}\n\
84 | } catch (${1:Exception e}) {\n\
85 | } finally {\n\
86 | }\n\
87 | ";
88 | exports.scope = "dart";
89 |
90 | });
91 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/diff.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/diff",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# DEP-3 (http://dep.debian.net/deps/dep3/) style patch header\n\
5 | snippet header DEP-3 style header\n\
6 | Description: ${1}\n\
7 | Origin: ${2:vendor|upstream|other}, ${3:url of the original patch}\n\
8 | Bug: ${4:url in upstream bugtracker}\n\
9 | Forwarded: ${5:no|not-needed|url}\n\
10 | Author: ${6:`g:snips_author`}\n\
11 | Reviewed-by: ${7:name and email}\n\
12 | Last-Update: ${8:`strftime(\"%Y-%m-%d\")`}\n\
13 | Applied-Upstream: ${9:upstream version|url|commit}\n\
14 | \n\
15 | ";
16 | exports.scope = "diff";
17 |
18 | });
19 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/dockerfile.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/dockerfile",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "dockerfile";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/dot.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/dot",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "dot";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/drools.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/drools",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "\n\
5 | snippet rule\n\
6 | rule \"${1?:rule_name}\"\n\
7 | when\n\
8 | ${2:// when...} \n\
9 | then\n\
10 | ${3:// then...}\n\
11 | end\n\
12 | \n\
13 | snippet query\n\
14 | query ${1?:query_name}\n\
15 | ${2:// find} \n\
16 | end\n\
17 | \n\
18 | snippet declare\n\
19 | declare ${1?:type_name}\n\
20 | ${2:// attributes} \n\
21 | end\n\
22 | \n\
23 | ";
24 | exports.scope = "drools";
25 |
26 | });
27 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/eiffel.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/eiffel",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "eiffel";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/ejs.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/ejs",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "ejs";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/elixir.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/elixir",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/elm.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/elm",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "elm";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/forth.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/forth",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "forth";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/fortran.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/fortran",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "fortran";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/ftl.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/ftl",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "ftl";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/gcode.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/gcode",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "gcode";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/gherkin.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/gherkin",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "gherkin";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/gitignore.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/gitignore",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "gitignore";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/glsl.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/glsl",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "glsl";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/gobstones.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/gobstones",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# Procedure\n\
5 | snippet proc\n\
6 | procedure ${1?:name}(${2:argument}) {\n\
7 | ${3:// body...}\n\
8 | }\n\
9 | \n\
10 | # Function\n\
11 | snippet fun\n\
12 | function ${1?:name}(${2:argument}) {\n\
13 | return ${3:// body...}\n\
14 | }\n\
15 | \n\
16 | # Repeat\n\
17 | snippet rep\n\
18 | repeat ${1?:times} {\n\
19 | ${2:// body...}\n\
20 | }\n\
21 | \n\
22 | # For\n\
23 | snippet for\n\
24 | foreach ${1?:e} in ${2?:list} {\n\
25 | ${3:// body...} \n\
26 | }\n\
27 | \n\
28 | # If\n\
29 | snippet if\n\
30 | if (${1?:condition}) {\n\
31 | ${3:// body...} \n\
32 | }\n\
33 | \n\
34 | # While\n\
35 | while (${1?:condition}) {\n\
36 | ${2:// body...} \n\
37 | }\n\
38 | ";
39 | exports.scope = "gobstones";
40 |
41 | });
42 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/golang.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/golang",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "golang";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/groovy.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/groovy",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "groovy";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/haml.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/haml",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet t\n\
5 | %table\n\
6 | %tr\n\
7 | %th\n\
8 | ${1:headers}\n\
9 | %tr\n\
10 | %td\n\
11 | ${2:headers}\n\
12 | snippet ul\n\
13 | %ul\n\
14 | %li\n\
15 | ${1:item}\n\
16 | %li\n\
17 | snippet =rp\n\
18 | = render :partial => '${1:partial}'\n\
19 | snippet =rpl\n\
20 | = render :partial => '${1:partial}', :locals => {}\n\
21 | snippet =rpc\n\
22 | = render :partial => '${1:partial}', :collection => @$1\n\
23 | \n\
24 | ";
25 | exports.scope = "haml";
26 |
27 | });
28 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/handlebars.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/handlebars",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "handlebars";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/haskell.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/haskell",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet lang\n\
5 | {-# LANGUAGE ${1:OverloadedStrings} #-}\n\
6 | snippet info\n\
7 | -- |\n\
8 | -- Module : ${1:Module.Namespace}\n\
9 | -- Copyright : ${2:Author} ${3:2011-2012}\n\
10 | -- License : ${4:BSD3}\n\
11 | --\n\
12 | -- Maintainer : ${5:email@something.com}\n\
13 | -- Stability : ${6:experimental}\n\
14 | -- Portability : ${7:unknown}\n\
15 | --\n\
16 | -- ${8:Description}\n\
17 | --\n\
18 | snippet import\n\
19 | import ${1:Data.Text}\n\
20 | snippet import2\n\
21 | import ${1:Data.Text} (${2:head})\n\
22 | snippet importq\n\
23 | import qualified ${1:Data.Text} as ${2:T}\n\
24 | snippet inst\n\
25 | instance ${1:Monoid} ${2:Type} where\n\
26 | ${3}\n\
27 | snippet type\n\
28 | type ${1:Type} = ${2:Type}\n\
29 | snippet data\n\
30 | data ${1:Type} = ${2:$1} ${3:Int}\n\
31 | snippet newtype\n\
32 | newtype ${1:Type} = ${2:$1} ${3:Int}\n\
33 | snippet class\n\
34 | class ${1:Class} a where\n\
35 | ${2}\n\
36 | snippet module\n\
37 | module `substitute(substitute(expand('%:r'), '[/\\\\]','.','g'),'^\\%(\\l*\\.\\)\\?','','')` (\n\
38 | ) where\n\
39 | `expand('%') =~ 'Main' ? \"\\n\\nmain = do\\n print \\\"hello world\\\"\" : \"\"`\n\
40 | \n\
41 | snippet const\n\
42 | ${1:name} :: ${2:a}\n\
43 | $1 = ${3:undefined}\n\
44 | snippet fn\n\
45 | ${1:fn} :: ${2:a} -> ${3:a}\n\
46 | $1 ${4} = ${5:undefined}\n\
47 | snippet fn2\n\
48 | ${1:fn} :: ${2:a} -> ${3:a} -> ${4:a}\n\
49 | $1 ${5} = ${6:undefined}\n\
50 | snippet ap\n\
51 | ${1:map} ${2:fn} ${3:list}\n\
52 | snippet do\n\
53 | do\n\
54 | \n\
55 | snippet λ\n\
56 | \\${1:x} -> ${2}\n\
57 | snippet \\\n\
58 | \\${1:x} -> ${2}\n\
59 | snippet <-\n\
60 | ${1:a} <- ${2:m a}\n\
61 | snippet ←\n\
62 | ${1:a} <- ${2:m a}\n\
63 | snippet ->\n\
64 | ${1:m a} -> ${2:a}\n\
65 | snippet →\n\
66 | ${1:m a} -> ${2:a}\n\
67 | snippet tup\n\
68 | (${1:a}, ${2:b})\n\
69 | snippet tup2\n\
70 | (${1:a}, ${2:b}, ${3:c})\n\
71 | snippet tup3\n\
72 | (${1:a}, ${2:b}, ${3:c}, ${4:d})\n\
73 | snippet rec\n\
74 | ${1:Record} { ${2:recFieldA} = ${3:undefined}\n\
75 | , ${4:recFieldB} = ${5:undefined}\n\
76 | }\n\
77 | snippet case\n\
78 | case ${1:something} of\n\
79 | ${2} -> ${3}\n\
80 | snippet let\n\
81 | let ${1} = ${2}\n\
82 | in ${3}\n\
83 | snippet where\n\
84 | where\n\
85 | ${1:fn} = ${2:undefined}\n\
86 | ";
87 | exports.scope = "haskell";
88 |
89 | });
90 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/haskell_cabal.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/haskell_cabal",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "haskell_cabal";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/haxe.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/haxe",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "haxe";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/hjson.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/hjson",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/html_elixir.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/html_elixir",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "html_elixir";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/html_ruby.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/html_ruby",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "html_ruby";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/ini.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/ini",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "ini";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/io.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/io",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippets = [
5 | {
6 | "content": "assertEquals(${1:expected}, ${2:expr})",
7 | "name": "assertEquals",
8 | "scope": "io",
9 | "tabTrigger": "ae"
10 | },
11 | {
12 | "content": "${1:${2:newValue} := ${3:Object} }clone do(\n\t$0\n)",
13 | "name": "clone do",
14 | "scope": "io",
15 | "tabTrigger": "cdo"
16 | },
17 | {
18 | "content": "docSlot(\"${1:slotName}\", \"${2:documentation}\")",
19 | "name": "docSlot",
20 | "scope": "io",
21 | "tabTrigger": "ds"
22 | },
23 | {
24 | "content": "(${1:header,}\n\t${2:body}\n)$0",
25 | "keyEquivalent": "@(",
26 | "name": "Indented Bracketed Line",
27 | "scope": "io",
28 | "tabTrigger": "("
29 | },
30 | {
31 | "content": "\n\t$0\n",
32 | "keyEquivalent": "\r",
33 | "name": "Special: Return Inside Empty Parenthesis",
34 | "scope": "io meta.empty-parenthesis.io, io meta.comma-parenthesis.io"
35 | },
36 | {
37 | "content": "${1:methodName} := method(${2:args,}\n\t$0\n)",
38 | "name": "method",
39 | "scope": "io",
40 | "tabTrigger": "m"
41 | },
42 | {
43 | "content": "newSlot(\"${1:slotName}\", ${2:defaultValue}, \"${3:docString}\")$0",
44 | "name": "newSlot",
45 | "scope": "io",
46 | "tabTrigger": "ns"
47 | },
48 | {
49 | "content": "${1:name} := Object clone do(\n\t$0\n)",
50 | "name": "Object clone do",
51 | "scope": "io",
52 | "tabTrigger": "ocdo"
53 | },
54 | {
55 | "content": "test${1:SomeFeature} := method(\n\t$0\n)",
56 | "name": "testMethod",
57 | "scope": "io",
58 | "tabTrigger": "ts"
59 | },
60 | {
61 | "content": "${1:Something}Test := ${2:UnitTest} clone do(\n\t$0\n)",
62 | "name": "UnitTest",
63 | "scope": "io",
64 | "tabTrigger": "ut"
65 | }
66 | ];
67 | exports.scope = "io";
68 |
69 | });
70 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/jack.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/jack",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "jack";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/jade.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/jade",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "jade";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/json.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/json",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "json";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/jsoniq.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/jsoniq",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet for\n\
5 | for $${1:item} in ${2:expr}\n\
6 | snippet return\n\
7 | return ${1:expr}\n\
8 | snippet import\n\
9 | import module namespace ${1:ns} = \"${2:http://www.example.com/}\";\n\
10 | snippet some\n\
11 | some $${1:varname} in ${2:expr} satisfies ${3:expr}\n\
12 | snippet every\n\
13 | every $${1:varname} in ${2:expr} satisfies ${3:expr}\n\
14 | snippet if\n\
15 | if(${1:true}) then ${2:expr} else ${3:true}\n\
16 | snippet switch\n\
17 | switch(${1:\"foo\"})\n\
18 | case ${2:\"foo\"}\n\
19 | return ${3:true}\n\
20 | default return ${4:false}\n\
21 | snippet try\n\
22 | try { ${1:expr} } catch ${2:*} { ${3:expr} }\n\
23 | snippet tumbling\n\
24 | for tumbling window $${1:varname} in ${2:expr}\n\
25 | start at $${3:start} when ${4:expr}\n\
26 | end at $${5:end} when ${6:expr}\n\
27 | return ${7:expr}\n\
28 | snippet sliding\n\
29 | for sliding window $${1:varname} in ${2:expr}\n\
30 | start at $${3:start} when ${4:expr}\n\
31 | end at $${5:end} when ${6:expr}\n\
32 | return ${7:expr}\n\
33 | snippet let\n\
34 | let $${1:varname} := ${2:expr}\n\
35 | snippet group\n\
36 | group by $${1:varname} := ${2:expr}\n\
37 | snippet order\n\
38 | order by ${1:expr} ${2:descending}\n\
39 | snippet stable\n\
40 | stable order by ${1:expr}\n\
41 | snippet count\n\
42 | count $${1:varname}\n\
43 | snippet ordered\n\
44 | ordered { ${1:expr} }\n\
45 | snippet unordered\n\
46 | unordered { ${1:expr} }\n\
47 | snippet treat \n\
48 | treat as ${1:expr}\n\
49 | snippet castable\n\
50 | castable as ${1:atomicType}\n\
51 | snippet cast\n\
52 | cast as ${1:atomicType}\n\
53 | snippet typeswitch\n\
54 | typeswitch(${1:expr})\n\
55 | case ${2:type} return ${3:expr}\n\
56 | default return ${4:expr}\n\
57 | snippet var\n\
58 | declare variable $${1:varname} := ${2:expr};\n\
59 | snippet fn\n\
60 | declare function ${1:ns}:${2:name}(){\n\
61 | ${3:expr}\n\
62 | };\n\
63 | snippet module\n\
64 | module namespace ${1:ns} = \"${2:http://www.example.com}\";\n\
65 | ";
66 | exports.scope = "jsoniq";
67 |
68 | });
69 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/jsx.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/jsx",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "jsx";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/julia.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/julia",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "julia";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/kotlin.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/kotlin",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/latex.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/latex",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "latex";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/lean.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/lean",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "lean";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/less.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/less",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "less";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/liquid.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/liquid",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "liquid";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/lisp.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/lisp",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "lisp";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/live_script.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/live_script",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/livescript.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/livescript",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "livescript";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/logiql.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/logiql",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "logiql";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/lua.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/lua",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet #!\n\
5 | #!/usr/bin/env lua\n\
6 | $1\n\
7 | snippet local\n\
8 | local ${1:x} = ${2:1}\n\
9 | snippet fun\n\
10 | function ${1:fname}(${2:...})\n\
11 | ${3:-- body}\n\
12 | end\n\
13 | snippet for\n\
14 | for ${1:i}=${2:1},${3:10} do\n\
15 | ${4:print(i)}\n\
16 | end\n\
17 | snippet forp\n\
18 | for ${1:i},${2:v} in pairs(${3:table_name}) do\n\
19 | ${4:-- body}\n\
20 | end\n\
21 | snippet fori\n\
22 | for ${1:i},${2:v} in ipairs(${3:table_name}) do\n\
23 | ${4:-- body}\n\
24 | end\n\
25 | ";
26 | exports.scope = "lua";
27 |
28 | });
29 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/luapage.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/luapage",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "luapage";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/lucene.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/lucene",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "lucene";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/makefile.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/makefile",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet ifeq\n\
5 | ifeq (${1:cond0},${2:cond1})\n\
6 | ${3:code}\n\
7 | endif\n\
8 | ";
9 | exports.scope = "makefile";
10 |
11 | });
12 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/markdown.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/markdown",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# Markdown\n\
5 | \n\
6 | # Includes octopress (http://octopress.org/) snippets\n\
7 | \n\
8 | snippet [\n\
9 | [${1:text}](http://${2:address} \"${3:title}\")\n\
10 | snippet [*\n\
11 | [${1:link}](${2:`@*`} \"${3:title}\")${4}\n\
12 | \n\
13 | snippet [:\n\
14 | [${1:id}]: http://${2:url} \"${3:title}\"\n\
15 | snippet [:*\n\
16 | [${1:id}]: ${2:`@*`} \"${3:title}\"\n\
17 | \n\
18 | snippet \n\
20 | snippet ${4}\n\
22 | \n\
23 | snippet ![:\n\
24 | ![${1:id}]: ${2:url} \"${3:title}\"\n\
25 | snippet ![:*\n\
26 | ![${1:id}]: ${2:`@*`} \"${3:title}\"\n\
27 | \n\
28 | snippet ===\n\
29 | regex /^/=+/=*//\n\
30 | ${PREV_LINE/./=/g}\n\
31 | \n\
32 | ${0}\n\
33 | snippet ---\n\
34 | regex /^/-+/-*//\n\
35 | ${PREV_LINE/./-/g}\n\
36 | \n\
37 | ${0}\n\
38 | snippet blockquote\n\
39 | {% blockquote %}\n\
40 | ${1:quote}\n\
41 | {% endblockquote %}\n\
42 | \n\
43 | snippet blockquote-author\n\
44 | {% blockquote ${1:author}, ${2:title} %}\n\
45 | ${3:quote}\n\
46 | {% endblockquote %}\n\
47 | \n\
48 | snippet blockquote-link\n\
49 | {% blockquote ${1:author} ${2:URL} ${3:link_text} %}\n\
50 | ${4:quote}\n\
51 | {% endblockquote %}\n\
52 | \n\
53 | snippet bt-codeblock-short\n\
54 | ```\n\
55 | ${1:code_snippet}\n\
56 | ```\n\
57 | \n\
58 | snippet bt-codeblock-full\n\
59 | ``` ${1:language} ${2:title} ${3:URL} ${4:link_text}\n\
60 | ${5:code_snippet}\n\
61 | ```\n\
62 | \n\
63 | snippet codeblock-short\n\
64 | {% codeblock %}\n\
65 | ${1:code_snippet}\n\
66 | {% endcodeblock %}\n\
67 | \n\
68 | snippet codeblock-full\n\
69 | {% codeblock ${1:title} lang:${2:language} ${3:URL} ${4:link_text} %}\n\
70 | ${5:code_snippet}\n\
71 | {% endcodeblock %}\n\
72 | \n\
73 | snippet gist-full\n\
74 | {% gist ${1:gist_id} ${2:filename} %}\n\
75 | \n\
76 | snippet gist-short\n\
77 | {% gist ${1:gist_id} %}\n\
78 | \n\
79 | snippet img\n\
80 | {% img ${1:class} ${2:URL} ${3:width} ${4:height} ${5:title_text} ${6:alt_text} %}\n\
81 | \n\
82 | snippet youtube\n\
83 | {% youtube ${1:video_id} %}\n\
84 | \n\
85 | # The quote should appear only once in the text. It is inherently part of it.\n\
86 | # See http://octopress.org/docs/plugins/pullquote/ for more info.\n\
87 | \n\
88 | snippet pullquote\n\
89 | {% pullquote %}\n\
90 | ${1:text} {\" ${2:quote} \"} ${3:text}\n\
91 | {% endpullquote %}\n\
92 | ";
93 | exports.scope = "markdown";
94 |
95 | });
96 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/mask.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/mask",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "mask";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/matlab.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/matlab",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "matlab";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/maze.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/maze",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet >\n\
5 | description assignment\n\
6 | scope maze\n\
7 | -> ${1}= ${2}\n\
8 | \n\
9 | snippet >\n\
10 | description if\n\
11 | scope maze\n\
12 | -> IF ${2:**} THEN %${3:L} ELSE %${4:R}\n\
13 | ";
14 | exports.scope = "maze";
15 |
16 | });
17 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/mel.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/mel",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "mel";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/mips_assembler.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/mips_assembler",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "mips_assembler";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/mipsassembler.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/mipsassembler",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/mushcode.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/mushcode",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "mushcode";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/mysql.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/mysql",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "mysql";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/nix.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/nix",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "nix";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/nsis.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/nsis",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/objectivec.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/objectivec",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "objectivec";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/ocaml.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/ocaml",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "ocaml";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/pascal.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/pascal",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "pascal";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/pgsql.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/pgsql",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "pgsql";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/plain_text.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/plain_text",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "plain_text";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/powershell.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/powershell",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "powershell";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/praat.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/praat",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "praat";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/prolog.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/prolog",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "prolog";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/properties.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/properties",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "properties";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/protobuf.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/protobuf",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "";
5 | exports.scope = "protobuf";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/razor.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/razor",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet if\n\
5 | (${1} == ${2}) {\n\
6 | ${3}\n\
7 | }";
8 | exports.scope = "razor";
9 |
10 | });
11 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/rdoc.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/rdoc",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "rdoc";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/rhtml.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/rhtml",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "rhtml";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/rst.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/rst",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# rst\n\
5 | \n\
6 | snippet :\n\
7 | :${1:field name}: ${2:field body}\n\
8 | snippet *\n\
9 | *${1:Emphasis}*\n\
10 | snippet **\n\
11 | **${1:Strong emphasis}**\n\
12 | snippet _\n\
13 | \\`${1:hyperlink-name}\\`_\n\
14 | .. _\\`$1\\`: ${2:link-block}\n\
15 | snippet =\n\
16 | ${1:Title}\n\
17 | =====${2:=}\n\
18 | ${3}\n\
19 | snippet -\n\
20 | ${1:Title}\n\
21 | -----${2:-}\n\
22 | ${3}\n\
23 | snippet cont:\n\
24 | .. contents::\n\
25 | \n\
26 | ";
27 | exports.scope = "rst";
28 |
29 | });
30 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/rust.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/rust",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "rust";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/sass.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/sass",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "sass";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/scad.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/scad",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "scad";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/scala.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/scala",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "scala";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/scheme.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/scheme",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "scheme";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/scss.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/scss",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "scss";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/sh.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/sh",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# Shebang. Executing bash via /usr/bin/env makes scripts more portable.\n\
5 | snippet #!\n\
6 | #!/usr/bin/env bash\n\
7 | \n\
8 | snippet if\n\
9 | if [[ ${1:condition} ]]; then\n\
10 | ${2:#statements}\n\
11 | fi\n\
12 | snippet elif\n\
13 | elif [[ ${1:condition} ]]; then\n\
14 | ${2:#statements}\n\
15 | snippet for\n\
16 | for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do\n\
17 | ${3:#statements}\n\
18 | done\n\
19 | snippet fori\n\
20 | for ${1:needle} in ${2:haystack} ; do\n\
21 | ${3:#statements}\n\
22 | done\n\
23 | snippet wh\n\
24 | while [[ ${1:condition} ]]; do\n\
25 | ${2:#statements}\n\
26 | done\n\
27 | snippet until\n\
28 | until [[ ${1:condition} ]]; do\n\
29 | ${2:#statements}\n\
30 | done\n\
31 | snippet case\n\
32 | case ${1:word} in\n\
33 | ${2:pattern})\n\
34 | ${3};;\n\
35 | esac\n\
36 | snippet go \n\
37 | while getopts '${1:o}' ${2:opts} \n\
38 | do \n\
39 | case $$2 in\n\
40 | ${3:o0})\n\
41 | ${4:#staments};;\n\
42 | esac\n\
43 | done\n\
44 | # Set SCRIPT_DIR variable to directory script is located.\n\
45 | snippet sdir\n\
46 | SCRIPT_DIR=\"$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )\" && pwd )\"\n\
47 | # getopt\n\
48 | snippet getopt\n\
49 | __ScriptVersion=\"${1:version}\"\n\
50 | \n\
51 | #=== FUNCTION ================================================================\n\
52 | # NAME: usage\n\
53 | # DESCRIPTION: Display usage information.\n\
54 | #===============================================================================\n\
55 | function usage ()\n\
56 | {\n\
57 | cat <<- EOT\n\
58 | \n\
59 | Usage : $${0:0} [options] [--] \n\
60 | \n\
61 | Options: \n\
62 | -h|help Display this message\n\
63 | -v|version Display script version\n\
64 | \n\
65 | EOT\n\
66 | } # ---------- end of function usage ----------\n\
67 | \n\
68 | #-----------------------------------------------------------------------\n\
69 | # Handle command line arguments\n\
70 | #-----------------------------------------------------------------------\n\
71 | \n\
72 | while getopts \":hv\" opt\n\
73 | do\n\
74 | case $opt in\n\
75 | \n\
76 | h|help ) usage; exit 0 ;;\n\
77 | \n\
78 | v|version ) echo \"$${0:0} -- Version $__ScriptVersion\"; exit 0 ;;\n\
79 | \n\
80 | \\? ) echo -e \"\\n Option does not exist : $OPTARG\\n\"\n\
81 | usage; exit 1 ;;\n\
82 | \n\
83 | esac # --- end of case ---\n\
84 | done\n\
85 | shift $(($OPTIND-1))\n\
86 | \n\
87 | ";
88 | exports.scope = "sh";
89 |
90 | });
91 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/sjs.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/sjs",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "sjs";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/smarty.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/smarty",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "smarty";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/snippets.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/snippets",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# snippets for making snippets :)\n\
5 | snippet snip\n\
6 | snippet ${1:trigger}\n\
7 | ${2}\n\
8 | snippet msnip\n\
9 | snippet ${1:trigger} ${2:description}\n\
10 | ${3}\n\
11 | snippet v\n\
12 | {VISUAL}\n\
13 | ";
14 | exports.scope = "snippets";
15 |
16 | });
17 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/soy_template.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/soy_template",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "soy_template";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/space.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/space",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "space";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/sql.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/sql",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet tbl\n\
5 | create table ${1:table} (\n\
6 | ${2:columns}\n\
7 | );\n\
8 | snippet col\n\
9 | ${1:name} ${2:type} ${3:default ''} ${4:not null}\n\
10 | snippet ccol\n\
11 | ${1:name} varchar2(${2:size}) ${3:default ''} ${4:not null}\n\
12 | snippet ncol\n\
13 | ${1:name} number ${3:default 0} ${4:not null}\n\
14 | snippet dcol\n\
15 | ${1:name} date ${3:default sysdate} ${4:not null}\n\
16 | snippet ind\n\
17 | create index ${3:$1_$2} on ${1:table}(${2:column});\n\
18 | snippet uind\n\
19 | create unique index ${1:name} on ${2:table}(${3:column});\n\
20 | snippet tblcom\n\
21 | comment on table ${1:table} is '${2:comment}';\n\
22 | snippet colcom\n\
23 | comment on column ${1:table}.${2:column} is '${3:comment}';\n\
24 | snippet addcol\n\
25 | alter table ${1:table} add (${2:column} ${3:type});\n\
26 | snippet seq\n\
27 | create sequence ${1:name} start with ${2:1} increment by ${3:1} minvalue ${4:1};\n\
28 | snippet s*\n\
29 | select * from ${1:table}\n\
30 | ";
31 | exports.scope = "sql";
32 |
33 | });
34 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/sqlserver.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/sqlserver",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# ISNULL\n\
5 | snippet isnull\n\
6 | ISNULL(${1:check_expression}, ${2:replacement_value})\n\
7 | # FORMAT\n\
8 | snippet format\n\
9 | FORMAT(${1:value}, ${2:format})\n\
10 | # CAST\n\
11 | snippet cast\n\
12 | CAST(${1:expression} AS ${2:data_type})\n\
13 | # CONVERT\n\
14 | snippet convert\n\
15 | CONVERT(${1:data_type}, ${2:expression})\n\
16 | # DATEPART\n\
17 | snippet datepart\n\
18 | DATEPART(${1:datepart}, ${2:date})\n\
19 | # DATEDIFF\n\
20 | snippet datediff\n\
21 | DATEDIFF(${1:datepart}, ${2:startdate}, ${3:enddate})\n\
22 | # DATEADD\n\
23 | snippet dateadd\n\
24 | DATEADD(${1:datepart}, ${2:number}, ${3:date})\n\
25 | # DATEFROMPARTS \n\
26 | snippet datefromparts\n\
27 | DATEFROMPARTS(${1:year}, ${2:month}, ${3:day})\n\
28 | # OBJECT_DEFINITION\n\
29 | snippet objectdef\n\
30 | SELECT OBJECT_DEFINITION(OBJECT_ID('${1:sys.server_permissions /*object name*/}'))\n\
31 | # STUFF XML\n\
32 | snippet stuffxml\n\
33 | STUFF((SELECT ', ' + ${1:ColumnName}\n\
34 | FROM ${2:TableName}\n\
35 | WHERE ${3:WhereClause}\n\
36 | FOR XML PATH('')), 1, 1, '') AS ${4:Alias}\n\
37 | ${5:/*https://msdn.microsoft.com/en-us/library/ms188043.aspx*/}\n\
38 | # Create Procedure\n\
39 | snippet createproc\n\
40 | -- =============================================\n\
41 | -- Author: ${1:Author}\n\
42 | -- Create date: ${2:Date}\n\
43 | -- Description: ${3:Description}\n\
44 | -- =============================================\n\
45 | CREATE PROCEDURE ${4:Procedure_Name}\n\
46 | ${5:/*Add the parameters for the stored procedure here*/}\n\
47 | AS\n\
48 | BEGIN\n\
49 | -- SET NOCOUNT ON added to prevent extra result sets from interfering with SELECT statements.\n\
50 | SET NOCOUNT ON;\n\
51 | \n\
52 | ${6:/*Add the T-SQL statements to compute the return value here*/}\n\
53 | \n\
54 | END\n\
55 | GO\n\
56 | # Create Scalar Function\n\
57 | snippet createfn\n\
58 | -- =============================================\n\
59 | -- Author: ${1:Author}\n\
60 | -- Create date: ${2:Date}\n\
61 | -- Description: ${3:Description}\n\
62 | -- =============================================\n\
63 | CREATE FUNCTION ${4:Scalar_Function_Name}\n\
64 | -- Add the parameters for the function here\n\
65 | RETURNS ${5:Function_Data_Type}\n\
66 | AS\n\
67 | BEGIN\n\
68 | DECLARE @Result ${5:Function_Data_Type}\n\
69 | \n\
70 | ${6:/*Add the T-SQL statements to compute the return value here*/}\n\
71 | \n\
72 | END\n\
73 | GO";
74 | exports.scope = "sqlserver";
75 |
76 | });
77 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/stylus.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/stylus",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "stylus";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/svg.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/svg",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "svg";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/swift.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/swift",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "swift";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/swig.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/swig",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "swig";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/tcl.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/tcl",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# #!/usr/bin/env tclsh\n\
5 | snippet #!\n\
6 | #!/usr/bin/env tclsh\n\
7 | \n\
8 | # Process\n\
9 | snippet pro\n\
10 | proc ${1:function_name} {${2:args}} {\n\
11 | ${3:#body ...}\n\
12 | }\n\
13 | #xif\n\
14 | snippet xif\n\
15 | ${1:expr}? ${2:true} : ${3:false}\n\
16 | # Conditional\n\
17 | snippet if\n\
18 | if {${1}} {\n\
19 | ${2:# body...}\n\
20 | }\n\
21 | # Conditional if..else\n\
22 | snippet ife\n\
23 | if {${1}} {\n\
24 | ${2:# body...}\n\
25 | } else {\n\
26 | ${3:# else...}\n\
27 | }\n\
28 | # Conditional if..elsif..else\n\
29 | snippet ifee\n\
30 | if {${1}} {\n\
31 | ${2:# body...}\n\
32 | } elseif {${3}} {\n\
33 | ${4:# elsif...}\n\
34 | } else {\n\
35 | ${5:# else...}\n\
36 | }\n\
37 | # If catch then\n\
38 | snippet ifc\n\
39 | if { [catch {${1:#do something...}} ${2:err}] } {\n\
40 | ${3:# handle failure...}\n\
41 | }\n\
42 | # Catch\n\
43 | snippet catch\n\
44 | catch {${1}} ${2:err} ${3:options}\n\
45 | # While Loop\n\
46 | snippet wh\n\
47 | while {${1}} {\n\
48 | ${2:# body...}\n\
49 | }\n\
50 | # For Loop\n\
51 | snippet for\n\
52 | for {set ${2:var} 0} {$$2 < ${1:count}} {${3:incr} $2} {\n\
53 | ${4:# body...}\n\
54 | }\n\
55 | # Foreach Loop\n\
56 | snippet fore\n\
57 | foreach ${1:x} {${2:#list}} {\n\
58 | ${3:# body...}\n\
59 | }\n\
60 | # after ms script...\n\
61 | snippet af\n\
62 | after ${1:ms} ${2:#do something}\n\
63 | # after cancel id\n\
64 | snippet afc\n\
65 | after cancel ${1:id or script}\n\
66 | # after idle\n\
67 | snippet afi\n\
68 | after idle ${1:script}\n\
69 | # after info id\n\
70 | snippet afin\n\
71 | after info ${1:id}\n\
72 | # Expr\n\
73 | snippet exp\n\
74 | expr {${1:#expression here}}\n\
75 | # Switch\n\
76 | snippet sw\n\
77 | switch ${1:var} {\n\
78 | ${3:pattern 1} {\n\
79 | ${4:#do something}\n\
80 | }\n\
81 | default {\n\
82 | ${2:#do something}\n\
83 | }\n\
84 | }\n\
85 | # Case\n\
86 | snippet ca\n\
87 | ${1:pattern} {\n\
88 | ${2:#do something}\n\
89 | }${3}\n\
90 | # Namespace eval\n\
91 | snippet ns\n\
92 | namespace eval ${1:path} {${2:#script...}}\n\
93 | # Namespace current\n\
94 | snippet nsc\n\
95 | namespace current\n\
96 | ";
97 | exports.scope = "tcl";
98 |
99 | });
100 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/text.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/text",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "text";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/textile.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/textile",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# Jekyll post header\n\
5 | snippet header\n\
6 | ---\n\
7 | title: ${1:title}\n\
8 | layout: post\n\
9 | date: ${2:date} ${3:hour:minute:second} -05:00\n\
10 | ---\n\
11 | \n\
12 | # Image\n\
13 | snippet img\n\
14 | !${1:url}(${2:title}):${3:link}!\n\
15 | \n\
16 | # Table\n\
17 | snippet |\n\
18 | |${1}|${2}\n\
19 | \n\
20 | # Link\n\
21 | snippet link\n\
22 | \"${1:link text}\":${2:url}\n\
23 | \n\
24 | # Acronym\n\
25 | snippet (\n\
26 | (${1:Expand acronym})${2}\n\
27 | \n\
28 | # Footnote\n\
29 | snippet fn\n\
30 | [${1:ref number}] ${3}\n\
31 | \n\
32 | fn$1. ${2:footnote}\n\
33 | \n\
34 | ";
35 | exports.scope = "textile";
36 |
37 | });
38 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/toml.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/toml",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "toml";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/tsx.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/tsx",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "tsx";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/twig.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/twig",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "twig";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/typescript.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/typescript",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "typescript";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/vbscript.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/vbscript",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "vbscript";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/velocity.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/velocity",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# macro\n\
5 | snippet #macro\n\
6 | #macro ( ${1:macroName} ${2:\\$var1, [\\$var2, ...]} )\n\
7 | ${3:## macro code}\n\
8 | #end\n\
9 | # foreach\n\
10 | snippet #foreach\n\
11 | #foreach ( ${1:\\$item} in ${2:\\$collection} )\n\
12 | ${3:## foreach code}\n\
13 | #end\n\
14 | # if\n\
15 | snippet #if\n\
16 | #if ( ${1:true} )\n\
17 | ${0}\n\
18 | #end\n\
19 | # if ... else\n\
20 | snippet #ife\n\
21 | #if ( ${1:true} )\n\
22 | ${2}\n\
23 | #else\n\
24 | ${0}\n\
25 | #end\n\
26 | #import\n\
27 | snippet #import\n\
28 | #import ( \"${1:path/to/velocity/format}\" )\n\
29 | # set\n\
30 | snippet #set\n\
31 | #set ( $${1:var} = ${0} )\n\
32 | ";
33 | exports.scope = "velocity";
34 | exports.includeScopes = ["html", "javascript", "css"];
35 |
36 | });
37 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/verilog.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/verilog",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "verilog";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/vhdl.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/vhdl",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "vhdl";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/wollok.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/wollok",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "##\n\
5 | ## Basic Java packages and import\n\
6 | snippet im\n\
7 | import\n\
8 | snippet w.l\n\
9 | wollok.lang\n\
10 | snippet w.i\n\
11 | wollok.lib\n\
12 | \n\
13 | ## Class and object\n\
14 | snippet cl\n\
15 | class ${1:`Filename(\"\", \"untitled\")`} ${2}\n\
16 | snippet obj\n\
17 | object ${1:`Filename(\"\", \"untitled\")`} ${2:inherits Parent}${3}\n\
18 | snippet te\n\
19 | test ${1:`Filename(\"\", \"untitled\")`}\n\
20 | \n\
21 | ##\n\
22 | ## Enhancements\n\
23 | snippet inh\n\
24 | inherits\n\
25 | \n\
26 | ##\n\
27 | ## Comments\n\
28 | snippet /*\n\
29 | /*\n\
30 | * ${1}\n\
31 | */\n\
32 | \n\
33 | ##\n\
34 | ## Control Statements\n\
35 | snippet el\n\
36 | else\n\
37 | snippet if\n\
38 | if (${1}) ${2}\n\
39 | \n\
40 | ##\n\
41 | ## Create a Method\n\
42 | snippet m\n\
43 | method ${1:method}(${2}) ${5}\n\
44 | \n\
45 | ## \n\
46 | ## Tests\n\
47 | snippet as\n\
48 | assert.equals(${1:expected}, ${2:actual})\n\
49 | \n\
50 | ##\n\
51 | ## Exceptions\n\
52 | snippet ca\n\
53 | catch ${1:e} : (${2:Exception} ) ${3}\n\
54 | snippet thr\n\
55 | throw\n\
56 | snippet try\n\
57 | try {\n\
58 | ${3}\n\
59 | } catch ${1:e} : ${2:Exception} {\n\
60 | }\n\
61 | \n\
62 | ##\n\
63 | ## Javadocs\n\
64 | snippet /**\n\
65 | /**\n\
66 | * ${1}\n\
67 | */\n\
68 | \n\
69 | ##\n\
70 | ## Print Methods\n\
71 | snippet print\n\
72 | console.println(\"${1:Message}\")\n\
73 | \n\
74 | ##\n\
75 | ## Setter and Getter Methods\n\
76 | snippet set\n\
77 | method set${1:}(${2:}) {\n\
78 | $1 = $2\n\
79 | }\n\
80 | snippet get\n\
81 | method get${1:}() {\n\
82 | return ${1:};\n\
83 | }\n\
84 | \n\
85 | ##\n\
86 | ## Terminate Methods or Loops\n\
87 | snippet re\n\
88 | return";
89 | exports.scope = "wollok";
90 |
91 | });
92 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/xml.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/xml",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "xml";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/xquery.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/xquery",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet for\n\
5 | for $${1:item} in ${2:expr}\n\
6 | snippet return\n\
7 | return ${1:expr}\n\
8 | snippet import\n\
9 | import module namespace ${1:ns} = \"${2:http://www.example.com/}\";\n\
10 | snippet some\n\
11 | some $${1:varname} in ${2:expr} satisfies ${3:expr}\n\
12 | snippet every\n\
13 | every $${1:varname} in ${2:expr} satisfies ${3:expr}\n\
14 | snippet if\n\
15 | if(${1:true}) then ${2:expr} else ${3:true}\n\
16 | snippet switch\n\
17 | switch(${1:\"foo\"})\n\
18 | case ${2:\"foo\"}\n\
19 | return ${3:true}\n\
20 | default return ${4:false}\n\
21 | snippet try\n\
22 | try { ${1:expr} } catch ${2:*} { ${3:expr} }\n\
23 | snippet tumbling\n\
24 | for tumbling window $${1:varname} in ${2:expr}\n\
25 | start at $${3:start} when ${4:expr}\n\
26 | end at $${5:end} when ${6:expr}\n\
27 | return ${7:expr}\n\
28 | snippet sliding\n\
29 | for sliding window $${1:varname} in ${2:expr}\n\
30 | start at $${3:start} when ${4:expr}\n\
31 | end at $${5:end} when ${6:expr}\n\
32 | return ${7:expr}\n\
33 | snippet let\n\
34 | let $${1:varname} := ${2:expr}\n\
35 | snippet group\n\
36 | group by $${1:varname} := ${2:expr}\n\
37 | snippet order\n\
38 | order by ${1:expr} ${2:descending}\n\
39 | snippet stable\n\
40 | stable order by ${1:expr}\n\
41 | snippet count\n\
42 | count $${1:varname}\n\
43 | snippet ordered\n\
44 | ordered { ${1:expr} }\n\
45 | snippet unordered\n\
46 | unordered { ${1:expr} }\n\
47 | snippet treat \n\
48 | treat as ${1:expr}\n\
49 | snippet castable\n\
50 | castable as ${1:atomicType}\n\
51 | snippet cast\n\
52 | cast as ${1:atomicType}\n\
53 | snippet typeswitch\n\
54 | typeswitch(${1:expr})\n\
55 | case ${2:type} return ${3:expr}\n\
56 | default return ${4:expr}\n\
57 | snippet var\n\
58 | declare variable $${1:varname} := ${2:expr};\n\
59 | snippet fn\n\
60 | declare function ${1:ns}:${2:name}(){\n\
61 | ${3:expr}\n\
62 | };\n\
63 | snippet module\n\
64 | module namespace ${1:ns} = \"${2:http://www.example.com}\";\n\
65 | ";
66 | exports.scope = "xquery";
67 |
68 | });
69 |
--------------------------------------------------------------------------------
/public/src-noconflict/snippets/yaml.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/snippets/yaml",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "yaml";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src-noconflict/theme-clouds.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/theme/clouds",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
2 |
3 | exports.isDark = false;
4 | exports.cssClass = "ace-clouds";
5 | exports.cssText = ".ace-clouds .ace_gutter {\
6 | background: #ebebeb;\
7 | color: #333\
8 | }\
9 | .ace-clouds .ace_print-margin {\
10 | width: 1px;\
11 | background: #e8e8e8\
12 | }\
13 | .ace-clouds {\
14 | background-color: #FFFFFF;\
15 | color: #000000\
16 | }\
17 | .ace-clouds .ace_cursor {\
18 | color: #000000\
19 | }\
20 | .ace-clouds .ace_marker-layer .ace_selection {\
21 | background: #BDD5FC\
22 | }\
23 | .ace-clouds.ace_multiselect .ace_selection.ace_start {\
24 | box-shadow: 0 0 3px 0px #FFFFFF;\
25 | }\
26 | .ace-clouds .ace_marker-layer .ace_step {\
27 | background: rgb(255, 255, 0)\
28 | }\
29 | .ace-clouds .ace_marker-layer .ace_bracket {\
30 | margin: -1px 0 0 -1px;\
31 | border: 1px solid #BFBFBF\
32 | }\
33 | .ace-clouds .ace_marker-layer .ace_active-line {\
34 | background: #FFFBD1\
35 | }\
36 | .ace-clouds .ace_gutter-active-line {\
37 | background-color : #dcdcdc\
38 | }\
39 | .ace-clouds .ace_marker-layer .ace_selected-word {\
40 | border: 1px solid #BDD5FC\
41 | }\
42 | .ace-clouds .ace_invisible {\
43 | color: #BFBFBF\
44 | }\
45 | .ace-clouds .ace_keyword,\
46 | .ace-clouds .ace_meta,\
47 | .ace-clouds .ace_support.ace_constant.ace_property-value {\
48 | color: #AF956F\
49 | }\
50 | .ace-clouds .ace_keyword.ace_operator {\
51 | color: #484848\
52 | }\
53 | .ace-clouds .ace_keyword.ace_other.ace_unit {\
54 | color: #96DC5F\
55 | }\
56 | .ace-clouds .ace_constant.ace_language {\
57 | color: #39946A\
58 | }\
59 | .ace-clouds .ace_constant.ace_numeric {\
60 | color: #46A609\
61 | }\
62 | .ace-clouds .ace_constant.ace_character.ace_entity {\
63 | color: #BF78CC\
64 | }\
65 | .ace-clouds .ace_invalid {\
66 | background-color: #FF002A\
67 | }\
68 | .ace-clouds .ace_fold {\
69 | background-color: #AF956F;\
70 | border-color: #000000\
71 | }\
72 | .ace-clouds .ace_storage,\
73 | .ace-clouds .ace_support.ace_class,\
74 | .ace-clouds .ace_support.ace_function,\
75 | .ace-clouds .ace_support.ace_other,\
76 | .ace-clouds .ace_support.ace_type {\
77 | color: #C52727\
78 | }\
79 | .ace-clouds .ace_string {\
80 | color: #5D90CD\
81 | }\
82 | .ace-clouds .ace_comment {\
83 | color: #BCC8BA\
84 | }\
85 | .ace-clouds .ace_entity.ace_name.ace_tag,\
86 | .ace-clouds .ace_entity.ace_other.ace_attribute-name {\
87 | color: #606060\
88 | }\
89 | .ace-clouds .ace_indent-guide {\
90 | background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y\
91 | }";
92 |
93 | var dom = require("../lib/dom");
94 | dom.importCssString(exports.cssText, exports.cssClass);
95 | });
96 |
--------------------------------------------------------------------------------
/public/src-noconflict/theme-eclipse.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/theme/eclipse",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.isDark = false;
5 | exports.cssText = ".ace-eclipse .ace_gutter {\
6 | background: #ebebeb;\
7 | border-right: 1px solid rgb(159, 159, 159);\
8 | color: rgb(136, 136, 136);\
9 | }\
10 | .ace-eclipse .ace_print-margin {\
11 | width: 1px;\
12 | background: #ebebeb;\
13 | }\
14 | .ace-eclipse {\
15 | background-color: #FFFFFF;\
16 | color: black;\
17 | }\
18 | .ace-eclipse .ace_fold {\
19 | background-color: rgb(60, 76, 114);\
20 | }\
21 | .ace-eclipse .ace_cursor {\
22 | color: black;\
23 | }\
24 | .ace-eclipse .ace_storage,\
25 | .ace-eclipse .ace_keyword,\
26 | .ace-eclipse .ace_variable {\
27 | color: rgb(127, 0, 85);\
28 | }\
29 | .ace-eclipse .ace_constant.ace_buildin {\
30 | color: rgb(88, 72, 246);\
31 | }\
32 | .ace-eclipse .ace_constant.ace_library {\
33 | color: rgb(6, 150, 14);\
34 | }\
35 | .ace-eclipse .ace_function {\
36 | color: rgb(60, 76, 114);\
37 | }\
38 | .ace-eclipse .ace_string {\
39 | color: rgb(42, 0, 255);\
40 | }\
41 | .ace-eclipse .ace_comment {\
42 | color: rgb(113, 150, 130);\
43 | }\
44 | .ace-eclipse .ace_comment.ace_doc {\
45 | color: rgb(63, 95, 191);\
46 | }\
47 | .ace-eclipse .ace_comment.ace_doc.ace_tag {\
48 | color: rgb(127, 159, 191);\
49 | }\
50 | .ace-eclipse .ace_constant.ace_numeric {\
51 | color: darkblue;\
52 | }\
53 | .ace-eclipse .ace_tag {\
54 | color: rgb(25, 118, 116);\
55 | }\
56 | .ace-eclipse .ace_type {\
57 | color: rgb(127, 0, 127);\
58 | }\
59 | .ace-eclipse .ace_xml-pe {\
60 | color: rgb(104, 104, 91);\
61 | }\
62 | .ace-eclipse .ace_marker-layer .ace_selection {\
63 | background: rgb(181, 213, 255);\
64 | }\
65 | .ace-eclipse .ace_marker-layer .ace_bracket {\
66 | margin: -1px 0 0 -1px;\
67 | border: 1px solid rgb(192, 192, 192);\
68 | }\
69 | .ace-eclipse .ace_meta.ace_tag {\
70 | color:rgb(25, 118, 116);\
71 | }\
72 | .ace-eclipse .ace_invisible {\
73 | color: #ddd;\
74 | }\
75 | .ace-eclipse .ace_entity.ace_other.ace_attribute-name {\
76 | color:rgb(127, 0, 127);\
77 | }\
78 | .ace-eclipse .ace_marker-layer .ace_step {\
79 | background: rgb(255, 255, 0);\
80 | }\
81 | .ace-eclipse .ace_active-line {\
82 | background: rgb(232, 242, 254);\
83 | }\
84 | .ace-eclipse .ace_gutter-active-line {\
85 | background-color : #DADADA;\
86 | }\
87 | .ace-eclipse .ace_marker-layer .ace_selected-word {\
88 | border: 1px solid rgb(181, 213, 255);\
89 | }\
90 | .ace-eclipse .ace_indent-guide {\
91 | background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
92 | }";
93 |
94 | exports.cssClass = "ace-eclipse";
95 |
96 | var dom = require("../lib/dom");
97 | dom.importCssString(exports.cssText, exports.cssClass);
98 | });
99 |
--------------------------------------------------------------------------------
/public/src-noconflict/theme-kuroir.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/theme/kuroir",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
2 |
3 | exports.isDark = false;
4 | exports.cssClass = "ace-kuroir";
5 | exports.cssText = "\
6 | .ace-kuroir .ace_gutter {\
7 | background: #e8e8e8;\
8 | color: #333;\
9 | }\
10 | .ace-kuroir .ace_print-margin {\
11 | width: 1px;\
12 | background: #e8e8e8;\
13 | }\
14 | .ace-kuroir {\
15 | background-color: #E8E9E8;\
16 | color: #363636;\
17 | }\
18 | .ace-kuroir .ace_cursor {\
19 | color: #202020;\
20 | }\
21 | .ace-kuroir .ace_marker-layer .ace_selection {\
22 | background: rgba(245, 170, 0, 0.57);\
23 | }\
24 | .ace-kuroir.ace_multiselect .ace_selection.ace_start {\
25 | box-shadow: 0 0 3px 0px #E8E9E8;\
26 | }\
27 | .ace-kuroir .ace_marker-layer .ace_step {\
28 | background: rgb(198, 219, 174);\
29 | }\
30 | .ace-kuroir .ace_marker-layer .ace_bracket {\
31 | margin: -1px 0 0 -1px;\
32 | border: 1px solid rgba(0, 0, 0, 0.29);\
33 | }\
34 | .ace-kuroir .ace_marker-layer .ace_active-line {\
35 | background: rgba(203, 220, 47, 0.22);\
36 | }\
37 | .ace-kuroir .ace_gutter-active-line {\
38 | background-color: rgba(203, 220, 47, 0.22);\
39 | }\
40 | .ace-kuroir .ace_marker-layer .ace_selected-word {\
41 | border: 1px solid rgba(245, 170, 0, 0.57);\
42 | }\
43 | .ace-kuroir .ace_invisible {\
44 | color: #BFBFBF\
45 | }\
46 | .ace-kuroir .ace_fold {\
47 | border-color: #363636;\
48 | }\
49 | .ace-kuroir .ace_constant{color:#CD6839;}.ace-kuroir .ace_constant.ace_numeric{color:#9A5925;}.ace-kuroir .ace_support{color:#104E8B;}.ace-kuroir .ace_support.ace_function{color:#005273;}.ace-kuroir .ace_support.ace_constant{color:#CF6A4C;}.ace-kuroir .ace_storage{color:#A52A2A;}.ace-kuroir .ace_invalid.ace_illegal{color:#FD1224;\
50 | background-color:rgba(255, 6, 0, 0.15);}.ace-kuroir .ace_invalid.ace_deprecated{text-decoration:underline;\
51 | font-style:italic;\
52 | color:#FD1732;\
53 | background-color:#E8E9E8;}.ace-kuroir .ace_string{color:#639300;}.ace-kuroir .ace_string.ace_regexp{color:#417E00;\
54 | background-color:#C9D4BE;}.ace-kuroir .ace_comment{color:rgba(148, 148, 148, 0.91);\
55 | background-color:rgba(220, 220, 220, 0.56);}.ace-kuroir .ace_variable{color:#009ACD;}.ace-kuroir .ace_meta.ace_tag{color:#005273;}.ace-kuroir .ace_markup.ace_heading{color:#B8012D;\
56 | background-color:rgba(191, 97, 51, 0.051);}.ace-kuroir .ace_markup.ace_list{color:#8F5B26;}\
57 | ";
58 |
59 | var dom = require("../lib/dom");
60 | dom.importCssString(exports.cssText, exports.cssClass);
61 | });
62 |
--------------------------------------------------------------------------------
/public/src-noconflict/theme-merbivore.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/theme/merbivore",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
2 |
3 | exports.isDark = true;
4 | exports.cssClass = "ace-merbivore";
5 | exports.cssText = ".ace-merbivore .ace_gutter {\
6 | background: #202020;\
7 | color: #E6E1DC\
8 | }\
9 | .ace-merbivore .ace_print-margin {\
10 | width: 1px;\
11 | background: #555651\
12 | }\
13 | .ace-merbivore {\
14 | background-color: #161616;\
15 | color: #E6E1DC\
16 | }\
17 | .ace-merbivore .ace_cursor {\
18 | color: #FFFFFF\
19 | }\
20 | .ace-merbivore .ace_marker-layer .ace_selection {\
21 | background: #454545\
22 | }\
23 | .ace-merbivore.ace_multiselect .ace_selection.ace_start {\
24 | box-shadow: 0 0 3px 0px #161616;\
25 | }\
26 | .ace-merbivore .ace_marker-layer .ace_step {\
27 | background: rgb(102, 82, 0)\
28 | }\
29 | .ace-merbivore .ace_marker-layer .ace_bracket {\
30 | margin: -1px 0 0 -1px;\
31 | border: 1px solid #404040\
32 | }\
33 | .ace-merbivore .ace_marker-layer .ace_active-line {\
34 | background: #333435\
35 | }\
36 | .ace-merbivore .ace_gutter-active-line {\
37 | background-color: #333435\
38 | }\
39 | .ace-merbivore .ace_marker-layer .ace_selected-word {\
40 | border: 1px solid #454545\
41 | }\
42 | .ace-merbivore .ace_invisible {\
43 | color: #404040\
44 | }\
45 | .ace-merbivore .ace_entity.ace_name.ace_tag,\
46 | .ace-merbivore .ace_keyword,\
47 | .ace-merbivore .ace_meta,\
48 | .ace-merbivore .ace_meta.ace_tag,\
49 | .ace-merbivore .ace_storage,\
50 | .ace-merbivore .ace_support.ace_function {\
51 | color: #FC6F09\
52 | }\
53 | .ace-merbivore .ace_constant,\
54 | .ace-merbivore .ace_constant.ace_character,\
55 | .ace-merbivore .ace_constant.ace_character.ace_escape,\
56 | .ace-merbivore .ace_constant.ace_other,\
57 | .ace-merbivore .ace_support.ace_type {\
58 | color: #1EDAFB\
59 | }\
60 | .ace-merbivore .ace_constant.ace_character.ace_escape {\
61 | color: #519F50\
62 | }\
63 | .ace-merbivore .ace_constant.ace_language {\
64 | color: #FDC251\
65 | }\
66 | .ace-merbivore .ace_constant.ace_library,\
67 | .ace-merbivore .ace_string,\
68 | .ace-merbivore .ace_support.ace_constant {\
69 | color: #8DFF0A\
70 | }\
71 | .ace-merbivore .ace_constant.ace_numeric {\
72 | color: #58C554\
73 | }\
74 | .ace-merbivore .ace_invalid {\
75 | color: #FFFFFF;\
76 | background-color: #990000\
77 | }\
78 | .ace-merbivore .ace_fold {\
79 | background-color: #FC6F09;\
80 | border-color: #E6E1DC\
81 | }\
82 | .ace-merbivore .ace_comment {\
83 | font-style: italic;\
84 | color: #AD2EA4\
85 | }\
86 | .ace-merbivore .ace_entity.ace_other.ace_attribute-name {\
87 | color: #FFFF89\
88 | }\
89 | .ace-merbivore .ace_indent-guide {\
90 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQFxf3ZXB1df0PAAdsAmERTkEHAAAAAElFTkSuQmCC) right repeat-y\
91 | }";
92 |
93 | var dom = require("../lib/dom");
94 | dom.importCssString(exports.cssText, exports.cssClass);
95 | });
96 |
--------------------------------------------------------------------------------
/public/src-noconflict/theme-vibrant_ink.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/theme/vibrant_ink",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
2 |
3 | exports.isDark = true;
4 | exports.cssClass = "ace-vibrant-ink";
5 | exports.cssText = ".ace-vibrant-ink .ace_gutter {\
6 | background: #1a1a1a;\
7 | color: #BEBEBE\
8 | }\
9 | .ace-vibrant-ink .ace_print-margin {\
10 | width: 1px;\
11 | background: #1a1a1a\
12 | }\
13 | .ace-vibrant-ink {\
14 | background-color: #0F0F0F;\
15 | color: #FFFFFF\
16 | }\
17 | .ace-vibrant-ink .ace_cursor {\
18 | color: #FFFFFF\
19 | }\
20 | .ace-vibrant-ink .ace_marker-layer .ace_selection {\
21 | background: #6699CC\
22 | }\
23 | .ace-vibrant-ink.ace_multiselect .ace_selection.ace_start {\
24 | box-shadow: 0 0 3px 0px #0F0F0F;\
25 | }\
26 | .ace-vibrant-ink .ace_marker-layer .ace_step {\
27 | background: rgb(102, 82, 0)\
28 | }\
29 | .ace-vibrant-ink .ace_marker-layer .ace_bracket {\
30 | margin: -1px 0 0 -1px;\
31 | border: 1px solid #404040\
32 | }\
33 | .ace-vibrant-ink .ace_marker-layer .ace_active-line {\
34 | background: #333333\
35 | }\
36 | .ace-vibrant-ink .ace_gutter-active-line {\
37 | background-color: #333333\
38 | }\
39 | .ace-vibrant-ink .ace_marker-layer .ace_selected-word {\
40 | border: 1px solid #6699CC\
41 | }\
42 | .ace-vibrant-ink .ace_invisible {\
43 | color: #404040\
44 | }\
45 | .ace-vibrant-ink .ace_keyword,\
46 | .ace-vibrant-ink .ace_meta {\
47 | color: #FF6600\
48 | }\
49 | .ace-vibrant-ink .ace_constant,\
50 | .ace-vibrant-ink .ace_constant.ace_character,\
51 | .ace-vibrant-ink .ace_constant.ace_character.ace_escape,\
52 | .ace-vibrant-ink .ace_constant.ace_other {\
53 | color: #339999\
54 | }\
55 | .ace-vibrant-ink .ace_constant.ace_numeric {\
56 | color: #99CC99\
57 | }\
58 | .ace-vibrant-ink .ace_invalid,\
59 | .ace-vibrant-ink .ace_invalid.ace_deprecated {\
60 | color: #CCFF33;\
61 | background-color: #000000\
62 | }\
63 | .ace-vibrant-ink .ace_fold {\
64 | background-color: #FFCC00;\
65 | border-color: #FFFFFF\
66 | }\
67 | .ace-vibrant-ink .ace_entity.ace_name.ace_function,\
68 | .ace-vibrant-ink .ace_support.ace_function,\
69 | .ace-vibrant-ink .ace_variable {\
70 | color: #FFCC00\
71 | }\
72 | .ace-vibrant-ink .ace_variable.ace_parameter {\
73 | font-style: italic\
74 | }\
75 | .ace-vibrant-ink .ace_string {\
76 | color: #66FF00\
77 | }\
78 | .ace-vibrant-ink .ace_string.ace_regexp {\
79 | color: #44B4CC\
80 | }\
81 | .ace-vibrant-ink .ace_comment {\
82 | color: #9933CC\
83 | }\
84 | .ace-vibrant-ink .ace_entity.ace_other.ace_attribute-name {\
85 | font-style: italic;\
86 | color: #99CC99\
87 | }\
88 | .ace-vibrant-ink .ace_indent-guide {\
89 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYNDTc/oPAALPAZ7hxlbYAAAAAElFTkSuQmCC) right repeat-y\
90 | }";
91 |
92 | var dom = require("../lib/dom");
93 | dom.importCssString(exports.cssText, exports.cssClass);
94 | });
95 |
--------------------------------------------------------------------------------
/public/src-noconflict/theme-xcode.js:
--------------------------------------------------------------------------------
1 | ace.define("ace/theme/xcode",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
2 |
3 | exports.isDark = false;
4 | exports.cssClass = "ace-xcode";
5 | exports.cssText = "\
6 | .ace-xcode .ace_gutter {\
7 | background: #e8e8e8;\
8 | color: #333\
9 | }\
10 | .ace-xcode .ace_print-margin {\
11 | width: 1px;\
12 | background: #e8e8e8\
13 | }\
14 | .ace-xcode {\
15 | background-color: #FFFFFF;\
16 | color: #000000\
17 | }\
18 | .ace-xcode .ace_cursor {\
19 | color: #000000\
20 | }\
21 | .ace-xcode .ace_marker-layer .ace_selection {\
22 | background: #B5D5FF\
23 | }\
24 | .ace-xcode.ace_multiselect .ace_selection.ace_start {\
25 | box-shadow: 0 0 3px 0px #FFFFFF;\
26 | }\
27 | .ace-xcode .ace_marker-layer .ace_step {\
28 | background: rgb(198, 219, 174)\
29 | }\
30 | .ace-xcode .ace_marker-layer .ace_bracket {\
31 | margin: -1px 0 0 -1px;\
32 | border: 1px solid #BFBFBF\
33 | }\
34 | .ace-xcode .ace_marker-layer .ace_active-line {\
35 | background: rgba(0, 0, 0, 0.071)\
36 | }\
37 | .ace-xcode .ace_gutter-active-line {\
38 | background-color: rgba(0, 0, 0, 0.071)\
39 | }\
40 | .ace-xcode .ace_marker-layer .ace_selected-word {\
41 | border: 1px solid #B5D5FF\
42 | }\
43 | .ace-xcode .ace_constant.ace_language,\
44 | .ace-xcode .ace_keyword,\
45 | .ace-xcode .ace_meta,\
46 | .ace-xcode .ace_variable.ace_language {\
47 | color: #C800A4\
48 | }\
49 | .ace-xcode .ace_invisible {\
50 | color: #BFBFBF\
51 | }\
52 | .ace-xcode .ace_constant.ace_character,\
53 | .ace-xcode .ace_constant.ace_other {\
54 | color: #275A5E\
55 | }\
56 | .ace-xcode .ace_constant.ace_numeric {\
57 | color: #3A00DC\
58 | }\
59 | .ace-xcode .ace_entity.ace_other.ace_attribute-name,\
60 | .ace-xcode .ace_support.ace_constant,\
61 | .ace-xcode .ace_support.ace_function {\
62 | color: #450084\
63 | }\
64 | .ace-xcode .ace_fold {\
65 | background-color: #C800A4;\
66 | border-color: #000000\
67 | }\
68 | .ace-xcode .ace_entity.ace_name.ace_tag,\
69 | .ace-xcode .ace_support.ace_class,\
70 | .ace-xcode .ace_support.ace_type {\
71 | color: #790EAD\
72 | }\
73 | .ace-xcode .ace_storage {\
74 | color: #C900A4\
75 | }\
76 | .ace-xcode .ace_string {\
77 | color: #DF0002\
78 | }\
79 | .ace-xcode .ace_comment {\
80 | color: #008E00\
81 | }\
82 | .ace-xcode .ace_indent-guide {\
83 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y\
84 | }";
85 |
86 | var dom = require("../lib/dom");
87 | dom.importCssString(exports.cssText, exports.cssClass);
88 | });
89 |
--------------------------------------------------------------------------------
/public/src/ext-error_marker.js:
--------------------------------------------------------------------------------
1 |
2 | ;
3 | (function() {
4 | window.require(["ace/ext/error_marker"], function() {});
5 | })();
6 |
--------------------------------------------------------------------------------
/public/src/ext-linking.js:
--------------------------------------------------------------------------------
1 | define("ace/ext/linking",["require","exports","module","ace/editor","ace/config"], function(require, exports, module) {
2 |
3 | var Editor = require("ace/editor").Editor;
4 |
5 | require("../config").defineOptions(Editor.prototype, "editor", {
6 | enableLinking: {
7 | set: function(val) {
8 | if (val) {
9 | this.on("click", onClick);
10 | this.on("mousemove", onMouseMove);
11 | } else {
12 | this.off("click", onClick);
13 | this.off("mousemove", onMouseMove);
14 | }
15 | },
16 | value: false
17 | }
18 | })
19 |
20 | function onMouseMove(e) {
21 | var editor = e.editor;
22 | var ctrl = e.getAccelKey();
23 |
24 | if (ctrl) {
25 | var editor = e.editor;
26 | var docPos = e.getDocumentPosition();
27 | var session = editor.session;
28 | var token = session.getTokenAt(docPos.row, docPos.column);
29 |
30 | editor._emit("linkHover", {position: docPos, token: token});
31 | }
32 | }
33 |
34 | function onClick(e) {
35 | var ctrl = e.getAccelKey();
36 | var button = e.getButton();
37 |
38 | if (button == 0 && ctrl) {
39 | var editor = e.editor;
40 | var docPos = e.getDocumentPosition();
41 | var session = editor.session;
42 | var token = session.getTokenAt(docPos.row, docPos.column);
43 |
44 | editor._emit("linkClick", {position: docPos, token: token});
45 | }
46 | }
47 |
48 | });
49 | (function() {
50 | window.require(["ace/ext/linking"], function() {});
51 | })();
52 |
--------------------------------------------------------------------------------
/public/src/ext-spellcheck.js:
--------------------------------------------------------------------------------
1 | define("ace/ext/spellcheck",["require","exports","module","ace/lib/event","ace/editor","ace/config"], function(require, exports, module) {
2 | "use strict";
3 | var event = require("../lib/event");
4 |
5 | exports.contextMenuHandler = function(e){
6 | var host = e.target;
7 | var text = host.textInput.getElement();
8 | if (!host.selection.isEmpty())
9 | return;
10 | var c = host.getCursorPosition();
11 | var r = host.session.getWordRange(c.row, c.column);
12 | var w = host.session.getTextRange(r);
13 |
14 | host.session.tokenRe.lastIndex = 0;
15 | if (!host.session.tokenRe.test(w))
16 | return;
17 | var PLACEHOLDER = "\x01\x01";
18 | var value = w + " " + PLACEHOLDER;
19 | text.value = value;
20 | text.setSelectionRange(w.length, w.length + 1);
21 | text.setSelectionRange(0, 0);
22 | text.setSelectionRange(0, w.length);
23 |
24 | var afterKeydown = false;
25 | event.addListener(text, "keydown", function onKeydown() {
26 | event.removeListener(text, "keydown", onKeydown);
27 | afterKeydown = true;
28 | });
29 |
30 | host.textInput.setInputHandler(function(newVal) {
31 | console.log(newVal , value, text.selectionStart, text.selectionEnd)
32 | if (newVal == value)
33 | return '';
34 | if (newVal.lastIndexOf(value, 0) === 0)
35 | return newVal.slice(value.length);
36 | if (newVal.substr(text.selectionEnd) == value)
37 | return newVal.slice(0, -value.length);
38 | if (newVal.slice(-2) == PLACEHOLDER) {
39 | var val = newVal.slice(0, -2);
40 | if (val.slice(-1) == " ") {
41 | if (afterKeydown)
42 | return val.substring(0, text.selectionEnd);
43 | val = val.slice(0, -1);
44 | host.session.replace(r, val);
45 | return "";
46 | }
47 | }
48 |
49 | return newVal;
50 | });
51 | };
52 | var Editor = require("../editor").Editor;
53 | require("../config").defineOptions(Editor.prototype, "editor", {
54 | spellcheck: {
55 | set: function(val) {
56 | var text = this.textInput.getElement();
57 | text.spellcheck = !!val;
58 | if (!val)
59 | this.removeListener("nativecontextmenu", exports.contextMenuHandler);
60 | else
61 | this.on("nativecontextmenu", exports.contextMenuHandler);
62 | },
63 | value: true
64 | }
65 | });
66 |
67 | });
68 | (function() {
69 | window.require(["ace/ext/spellcheck"], function() {});
70 | })();
71 |
--------------------------------------------------------------------------------
/public/src/ext-statusbar.js:
--------------------------------------------------------------------------------
1 | define("ace/ext/statusbar",["require","exports","module","ace/lib/dom","ace/lib/lang"], function(require, exports, module) {
2 | "use strict";
3 | var dom = require("ace/lib/dom");
4 | var lang = require("ace/lib/lang");
5 |
6 | var StatusBar = function(editor, parentNode) {
7 | this.element = dom.createElement("div");
8 | this.element.className = "ace_status-indicator";
9 | this.element.style.cssText = "display: inline-block;";
10 | parentNode.appendChild(this.element);
11 |
12 | var statusUpdate = lang.delayedCall(function(){
13 | this.updateStatus(editor)
14 | }.bind(this)).schedule.bind(null, 100);
15 |
16 | editor.on("changeStatus", statusUpdate);
17 | editor.on("changeSelection", statusUpdate);
18 | editor.on("keyboardActivity", statusUpdate);
19 | };
20 |
21 | (function(){
22 | this.updateStatus = function(editor) {
23 | var status = [];
24 | function add(str, separator) {
25 | str && status.push(str, separator || "|");
26 | }
27 |
28 | add(editor.keyBinding.getStatusText(editor));
29 | if (editor.commands.recording)
30 | add("REC");
31 |
32 | var sel = editor.selection;
33 | var c = sel.lead;
34 |
35 | if (!sel.isEmpty()) {
36 | var r = editor.getSelectionRange();
37 | add("(" + (r.end.row - r.start.row) + ":" +(r.end.column - r.start.column) + ")", " ");
38 | }
39 | add(c.row + ":" + c.column, " ");
40 | if (sel.rangeCount)
41 | add("[" + sel.rangeCount + "]", " ");
42 | status.pop();
43 | this.element.textContent = status.join("");
44 | };
45 | }).call(StatusBar.prototype);
46 |
47 | exports.StatusBar = StatusBar;
48 |
49 | });
50 | (function() {
51 | window.require(["ace/ext/statusbar"], function() {});
52 | })();
53 |
--------------------------------------------------------------------------------
/public/src/ext-themelist.js:
--------------------------------------------------------------------------------
1 | define("ace/ext/themelist",["require","exports","module","ace/lib/fixoldbrowsers"], function(require, exports, module) {
2 | "use strict";
3 | require("ace/lib/fixoldbrowsers");
4 |
5 | var themeData = [
6 | ["Chrome" ],
7 | ["Clouds" ],
8 | ["Crimson Editor" ],
9 | ["Dawn" ],
10 | ["Dreamweaver" ],
11 | ["Eclipse" ],
12 | ["GitHub" ],
13 | ["IPlastic" ],
14 | ["Solarized Light"],
15 | ["TextMate" ],
16 | ["Tomorrow" ],
17 | ["XCode" ],
18 | ["Kuroir"],
19 | ["KatzenMilch"],
20 | ["SQL Server" ,"sqlserver" , "light"],
21 | ["Ambiance" ,"ambiance" , "dark"],
22 | ["Chaos" ,"chaos" , "dark"],
23 | ["Clouds Midnight" ,"clouds_midnight" , "dark"],
24 | ["Cobalt" ,"cobalt" , "dark"],
25 | ["Gruvbox" ,"gruvbox" , "dark"],
26 | ["idle Fingers" ,"idle_fingers" , "dark"],
27 | ["krTheme" ,"kr_theme" , "dark"],
28 | ["Merbivore" ,"merbivore" , "dark"],
29 | ["Merbivore Soft" ,"merbivore_soft" , "dark"],
30 | ["Mono Industrial" ,"mono_industrial" , "dark"],
31 | ["Monokai" ,"monokai" , "dark"],
32 | ["Pastel on dark" ,"pastel_on_dark" , "dark"],
33 | ["Solarized Dark" ,"solarized_dark" , "dark"],
34 | ["Terminal" ,"terminal" , "dark"],
35 | ["Tomorrow Night" ,"tomorrow_night" , "dark"],
36 | ["Tomorrow Night Blue" ,"tomorrow_night_blue" , "dark"],
37 | ["Tomorrow Night Bright","tomorrow_night_bright" , "dark"],
38 | ["Tomorrow Night 80s" ,"tomorrow_night_eighties" , "dark"],
39 | ["Twilight" ,"twilight" , "dark"],
40 | ["Vibrant Ink" ,"vibrant_ink" , "dark"]
41 | ];
42 |
43 |
44 | exports.themesByName = {};
45 | exports.themes = themeData.map(function(data) {
46 | var name = data[1] || data[0].replace(/ /g, "_").toLowerCase();
47 | var theme = {
48 | caption: data[0],
49 | theme: "ace/theme/" + name,
50 | isDark: data[2] == "dark",
51 | name: name
52 | };
53 | exports.themesByName[name] = theme;
54 | return theme;
55 | });
56 |
57 | });
58 | (function() {
59 | window.require(["ace/ext/themelist"], function() {});
60 | })();
61 |
--------------------------------------------------------------------------------
/public/src/mode-gitignore.js:
--------------------------------------------------------------------------------
1 | define("ace/mode/gitignore_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 GitignoreHighlightRules = function() {
8 | this.$rules = {
9 | "start" : [
10 | {
11 | token : "comment",
12 | regex : /^\s*#.*$/
13 | }, {
14 | token : "keyword", // negated patterns
15 | regex : /^\s*!.*$/
16 | }
17 | ]
18 | };
19 |
20 | this.normalizeRules();
21 | };
22 |
23 | GitignoreHighlightRules.metaData = {
24 | fileTypes: ['gitignore'],
25 | name: 'Gitignore'
26 | };
27 |
28 | oop.inherits(GitignoreHighlightRules, TextHighlightRules);
29 |
30 | exports.GitignoreHighlightRules = GitignoreHighlightRules;
31 | });
32 |
33 | define("ace/mode/gitignore",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gitignore_highlight_rules"], function(require, exports, module) {
34 | "use strict";
35 |
36 | var oop = require("../lib/oop");
37 | var TextMode = require("./text").Mode;
38 | var GitignoreHighlightRules = require("./gitignore_highlight_rules").GitignoreHighlightRules;
39 |
40 | var Mode = function() {
41 | this.HighlightRules = GitignoreHighlightRules;
42 | this.$behaviour = this.$defaultBehaviour;
43 | };
44 | oop.inherits(Mode, TextMode);
45 |
46 | (function() {
47 | this.lineCommentStart = "#";
48 | this.$id = "ace/mode/gitignore";
49 | }).call(Mode.prototype);
50 |
51 | exports.Mode = Mode;
52 | });
53 |
--------------------------------------------------------------------------------
/public/src/mode-lucene.js:
--------------------------------------------------------------------------------
1 | define("ace/mode/lucene_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 LuceneHighlightRules = function() {
9 | this.$rules = {
10 | "start" : [
11 | {
12 | token : "constant.character.negation",
13 | regex : "[\\-]"
14 | }, {
15 | token : "constant.character.interro",
16 | regex : "[\\?]"
17 | }, {
18 | token : "constant.character.asterisk",
19 | regex : "[\\*]"
20 | }, {
21 | token: 'constant.character.proximity',
22 | regex: '~[0-9]+\\b'
23 | }, {
24 | token : 'keyword.operator',
25 | regex: '(?:AND|OR|NOT)\\b'
26 | }, {
27 | token : "paren.lparen",
28 | regex : "[\\(]"
29 | }, {
30 | token : "paren.rparen",
31 | regex : "[\\)]"
32 | }, {
33 | token : "keyword",
34 | regex : "[\\S]+:"
35 | }, {
36 | token : "string", // " string
37 | regex : '".*?"'
38 | }, {
39 | token : "text",
40 | regex : "\\s+"
41 | }
42 | ]
43 | };
44 | };
45 |
46 | oop.inherits(LuceneHighlightRules, TextHighlightRules);
47 |
48 | exports.LuceneHighlightRules = LuceneHighlightRules;
49 | });
50 |
51 | define("ace/mode/lucene",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/lucene_highlight_rules"], function(require, exports, module) {
52 | 'use strict';
53 |
54 | var oop = require("../lib/oop");
55 | var TextMode = require("./text").Mode;
56 | var LuceneHighlightRules = require("./lucene_highlight_rules").LuceneHighlightRules;
57 |
58 | var Mode = function() {
59 | this.HighlightRules = LuceneHighlightRules;
60 | this.$behaviour = this.$defaultBehaviour;
61 | };
62 |
63 | oop.inherits(Mode, TextMode);
64 |
65 | (function() {
66 | this.$id = "ace/mode/lucene";
67 | }).call(Mode.prototype);
68 |
69 | exports.Mode = Mode;
70 | });
71 |
--------------------------------------------------------------------------------
/public/src/mode-plain_text.js:
--------------------------------------------------------------------------------
1 | define("ace/mode/plain_text",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/text_highlight_rules","ace/mode/behaviour"], function(require, exports, module) {
2 | "use strict";
3 |
4 | var oop = require("../lib/oop");
5 | var TextMode = require("./text").Mode;
6 | var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
7 | var Behaviour = require("./behaviour").Behaviour;
8 |
9 | var Mode = function() {
10 | this.HighlightRules = TextHighlightRules;
11 | this.$behaviour = new Behaviour();
12 | };
13 |
14 | oop.inherits(Mode, TextMode);
15 |
16 | (function() {
17 | this.type = "text";
18 | this.getNextLineIndent = function(state, line, tab) {
19 | return '';
20 | };
21 | this.$id = "ace/mode/plain_text";
22 | }).call(Mode.prototype);
23 |
24 | exports.Mode = Mode;
25 | });
26 |
--------------------------------------------------------------------------------
/public/src/mode-properties.js:
--------------------------------------------------------------------------------
1 | define("ace/mode/properties_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 PropertiesHighlightRules = function() {
8 |
9 | var escapeRe = /\\u[0-9a-fA-F]{4}|\\/;
10 |
11 | this.$rules = {
12 | "start" : [
13 | {
14 | token : "comment",
15 | regex : /[!#].*$/
16 | }, {
17 | token : "keyword",
18 | regex : /[=:]$/
19 | }, {
20 | token : "keyword",
21 | regex : /[=:]/,
22 | next : "value"
23 | }, {
24 | token : "constant.language.escape",
25 | regex : escapeRe
26 | }, {
27 | defaultToken: "variable"
28 | }
29 | ],
30 | "value" : [
31 | {
32 | regex : /\\$/,
33 | token : "string",
34 | next : "value"
35 | }, {
36 | regex : /$/,
37 | token : "string",
38 | next : "start"
39 | }, {
40 | token : "constant.language.escape",
41 | regex : escapeRe
42 | }, {
43 | defaultToken: "string"
44 | }
45 | ]
46 | };
47 |
48 | };
49 |
50 | oop.inherits(PropertiesHighlightRules, TextHighlightRules);
51 |
52 | exports.PropertiesHighlightRules = PropertiesHighlightRules;
53 | });
54 |
55 | define("ace/mode/properties",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/properties_highlight_rules"], function(require, exports, module) {
56 | "use strict";
57 |
58 | var oop = require("../lib/oop");
59 | var TextMode = require("./text").Mode;
60 | var PropertiesHighlightRules = require("./properties_highlight_rules").PropertiesHighlightRules;
61 |
62 | var Mode = function() {
63 | this.HighlightRules = PropertiesHighlightRules;
64 | this.$behaviour = this.$defaultBehaviour;
65 | };
66 | oop.inherits(Mode, TextMode);
67 |
68 | (function() {
69 | this.$id = "ace/mode/properties";
70 | }).call(Mode.prototype);
71 |
72 | exports.Mode = Mode;
73 | });
74 |
--------------------------------------------------------------------------------
/public/src/mode-text.js:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/public/src/snippets/abap.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/abap",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "abap";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/abc.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/abc",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "\n\
5 | snippet zupfnoter.print\n\
6 | %%%%hn.print {\"startpos\": ${1:pos_y}, \"t\":\"${2:title}\", \"v\":[${3:voices}], \"s\":[[${4:syncvoices}1,2]], \"f\":[${5:flowlines}], \"sf\":[${6:subflowlines}], \"j\":[${7:jumplines}]}\n\
7 | \n\
8 | snippet zupfnoter.note\n\
9 | %%%%hn.note {\"pos\": [${1:pos_x},${2:pos_y}], \"text\": \"${3:text}\", \"style\": \"${4:style}\"}\n\
10 | \n\
11 | snippet zupfnoter.annotation\n\
12 | %%%%hn.annotation {\"id\": \"${1:id}\", \"pos\": [${2:pos}], \"text\": \"${3:text}\"}\n\
13 | \n\
14 | snippet zupfnoter.lyrics\n\
15 | %%%%hn.lyrics {\"pos\": [${1:x_pos},${2:y_pos}]}\n\
16 | \n\
17 | snippet zupfnoter.legend\n\
18 | %%%%hn.legend {\"pos\": [${1:x_pos},${2:y_pos}]}\n\
19 | \n\
20 | \n\
21 | \n\
22 | snippet zupfnoter.target\n\
23 | \"^:${1:target}\"\n\
24 | \n\
25 | snippet zupfnoter.goto\n\
26 | \"^@${1:target}@${2:distance}\"\n\
27 | \n\
28 | snippet zupfnoter.annotationref\n\
29 | \"^#${1:target}\"\n\
30 | \n\
31 | snippet zupfnoter.annotation\n\
32 | \"^!${1:text}@${2:x_offset},${3:y_offset}\"\n\
33 | \n\
34 | \n\
35 | ";
36 | exports.scope = "abc";
37 |
38 | });
39 |
--------------------------------------------------------------------------------
/public/src/snippets/ada.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/ada",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "ada";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/apache_conf.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/apache_conf",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "apache_conf";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/applescript.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/applescript",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "applescript";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/asciidoc.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/asciidoc",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "asciidoc";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/assembly_x86.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/assembly_x86",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "assembly_x86";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/autohotkey.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/autohotkey",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "autohotkey";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/batchfile.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/batchfile",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "batchfile";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/bro.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/bro",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/c9search.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/c9search",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "c9search";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/cirru.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/cirru",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "cirru";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/clojure.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/clojure",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet comm\n\
5 | (comment\n\
6 | ${1}\n\
7 | )\n\
8 | snippet condp\n\
9 | (condp ${1:pred} ${2:expr}\n\
10 | ${3})\n\
11 | snippet def\n\
12 | (def ${1})\n\
13 | snippet defm\n\
14 | (defmethod ${1:multifn} \"${2:doc-string}\" ${3:dispatch-val} [${4:args}]\n\
15 | ${5})\n\
16 | snippet defmm\n\
17 | (defmulti ${1:name} \"${2:doc-string}\" ${3:dispatch-fn})\n\
18 | snippet defma\n\
19 | (defmacro ${1:name} \"${2:doc-string}\" ${3:dispatch-fn})\n\
20 | snippet defn\n\
21 | (defn ${1:name} \"${2:doc-string}\" [${3:arg-list}]\n\
22 | ${4})\n\
23 | snippet defp\n\
24 | (defprotocol ${1:name}\n\
25 | ${2})\n\
26 | snippet defr\n\
27 | (defrecord ${1:name} [${2:fields}]\n\
28 | ${3:protocol}\n\
29 | ${4})\n\
30 | snippet deft\n\
31 | (deftest ${1:name}\n\
32 | (is (= ${2:assertion})))\n\
33 | ${3})\n\
34 | snippet is\n\
35 | (is (= ${1} ${2}))\n\
36 | snippet defty\n\
37 | (deftype ${1:Name} [${2:fields}]\n\
38 | ${3:Protocol}\n\
39 | ${4})\n\
40 | snippet doseq\n\
41 | (doseq [${1:elem} ${2:coll}]\n\
42 | ${3})\n\
43 | snippet fn\n\
44 | (fn [${1:arg-list}] ${2})\n\
45 | snippet if\n\
46 | (if ${1:test-expr}\n\
47 | ${2:then-expr}\n\
48 | ${3:else-expr})\n\
49 | snippet if-let \n\
50 | (if-let [${1:result} ${2:test-expr}]\n\
51 | (${3:then-expr} $1)\n\
52 | (${4:else-expr}))\n\
53 | snippet imp\n\
54 | (:import [${1:package}])\n\
55 | & {:keys [${1:keys}] :or {${2:defaults}}}\n\
56 | snippet let\n\
57 | (let [${1:name} ${2:expr}]\n\
58 | ${3})\n\
59 | snippet letfn\n\
60 | (letfn [(${1:name) [${2:args}]\n\
61 | ${3})])\n\
62 | snippet map\n\
63 | (map ${1:func} ${2:coll})\n\
64 | snippet mapl\n\
65 | (map #(${1:lambda}) ${2:coll})\n\
66 | snippet met\n\
67 | (${1:name} [${2:this} ${3:args}]\n\
68 | ${4})\n\
69 | snippet ns\n\
70 | (ns ${1:name}\n\
71 | ${2})\n\
72 | snippet dotimes\n\
73 | (dotimes [_ 10]\n\
74 | (time\n\
75 | (dotimes [_ ${1:times}]\n\
76 | ${2})))\n\
77 | snippet pmethod\n\
78 | (${1:name} [${2:this} ${3:args}])\n\
79 | snippet refer\n\
80 | (:refer-clojure :exclude [${1}])\n\
81 | snippet require\n\
82 | (:require [${1:namespace} :as [${2}]])\n\
83 | snippet use\n\
84 | (:use [${1:namespace} :only [${2}]])\n\
85 | snippet print\n\
86 | (println ${1})\n\
87 | snippet reduce\n\
88 | (reduce ${1:(fn [p n] ${3})} ${2})\n\
89 | snippet when\n\
90 | (when ${1:test} ${2:body})\n\
91 | snippet when-let\n\
92 | (when-let [${1:result} ${2:test}]\n\
93 | ${3:body})\n\
94 | ";
95 | exports.scope = "clojure";
96 |
97 | });
98 |
--------------------------------------------------------------------------------
/public/src/snippets/cobol.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/cobol",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "cobol";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/coldfusion.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/coldfusion",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "coldfusion";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/csharp.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/csharp",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "csharp";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/curly.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/curly",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "curly";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/d.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/d",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "d";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/dart.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/dart",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet lib\n\
5 | library ${1};\n\
6 | ${2}\n\
7 | snippet im\n\
8 | import '${1}';\n\
9 | ${2}\n\
10 | snippet pa\n\
11 | part '${1}';\n\
12 | ${2}\n\
13 | snippet pao\n\
14 | part of ${1};\n\
15 | ${2}\n\
16 | snippet main\n\
17 | void main() {\n\
18 | ${1:/* code */}\n\
19 | }\n\
20 | snippet st\n\
21 | static ${1}\n\
22 | snippet fi\n\
23 | final ${1}\n\
24 | snippet re\n\
25 | return ${1}\n\
26 | snippet br\n\
27 | break;\n\
28 | snippet th\n\
29 | throw ${1}\n\
30 | snippet cl\n\
31 | class ${1:`Filename(\"\", \"untitled\")`} ${2}\n\
32 | snippet imp\n\
33 | implements ${1}\n\
34 | snippet ext\n\
35 | extends ${1}\n\
36 | snippet if\n\
37 | if (${1:true}) {\n\
38 | ${2}\n\
39 | }\n\
40 | snippet ife\n\
41 | if (${1:true}) {\n\
42 | ${2}\n\
43 | } else {\n\
44 | ${3}\n\
45 | }\n\
46 | snippet el\n\
47 | else\n\
48 | snippet sw\n\
49 | switch (${1}) {\n\
50 | ${2}\n\
51 | }\n\
52 | snippet cs\n\
53 | case ${1}:\n\
54 | ${2}\n\
55 | snippet de\n\
56 | default:\n\
57 | ${1}\n\
58 | snippet for\n\
59 | for (var ${2:i} = 0, len = ${1:things}.length; $2 < len; ${3:++}$2) {\n\
60 | ${4:$1[$2]}\n\
61 | }\n\
62 | snippet fore\n\
63 | for (final ${2:item} in ${1:itemList}) {\n\
64 | ${3:/* code */}\n\
65 | }\n\
66 | snippet wh\n\
67 | while (${1:/* condition */}) {\n\
68 | ${2:/* code */}\n\
69 | }\n\
70 | snippet dowh\n\
71 | do {\n\
72 | ${2:/* code */}\n\
73 | } while (${1:/* condition */});\n\
74 | snippet as\n\
75 | assert(${1:/* condition */});\n\
76 | snippet try\n\
77 | try {\n\
78 | ${2}\n\
79 | } catch (${1:Exception e}) {\n\
80 | }\n\
81 | snippet tryf\n\
82 | try {\n\
83 | ${2}\n\
84 | } catch (${1:Exception e}) {\n\
85 | } finally {\n\
86 | }\n\
87 | ";
88 | exports.scope = "dart";
89 |
90 | });
91 |
--------------------------------------------------------------------------------
/public/src/snippets/diff.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/diff",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# DEP-3 (http://dep.debian.net/deps/dep3/) style patch header\n\
5 | snippet header DEP-3 style header\n\
6 | Description: ${1}\n\
7 | Origin: ${2:vendor|upstream|other}, ${3:url of the original patch}\n\
8 | Bug: ${4:url in upstream bugtracker}\n\
9 | Forwarded: ${5:no|not-needed|url}\n\
10 | Author: ${6:`g:snips_author`}\n\
11 | Reviewed-by: ${7:name and email}\n\
12 | Last-Update: ${8:`strftime(\"%Y-%m-%d\")`}\n\
13 | Applied-Upstream: ${9:upstream version|url|commit}\n\
14 | \n\
15 | ";
16 | exports.scope = "diff";
17 |
18 | });
19 |
--------------------------------------------------------------------------------
/public/src/snippets/dockerfile.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/dockerfile",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "dockerfile";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/dot.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/dot",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "dot";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/drools.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/drools",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "\n\
5 | snippet rule\n\
6 | rule \"${1?:rule_name}\"\n\
7 | when\n\
8 | ${2:// when...} \n\
9 | then\n\
10 | ${3:// then...}\n\
11 | end\n\
12 | \n\
13 | snippet query\n\
14 | query ${1?:query_name}\n\
15 | ${2:// find} \n\
16 | end\n\
17 | \n\
18 | snippet declare\n\
19 | declare ${1?:type_name}\n\
20 | ${2:// attributes} \n\
21 | end\n\
22 | \n\
23 | ";
24 | exports.scope = "drools";
25 |
26 | });
27 |
--------------------------------------------------------------------------------
/public/src/snippets/eiffel.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/eiffel",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "eiffel";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/ejs.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/ejs",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "ejs";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/elixir.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/elixir",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/elm.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/elm",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "elm";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/forth.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/forth",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "forth";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/fortran.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/fortran",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "fortran";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/ftl.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/ftl",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "ftl";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/gcode.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/gcode",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "gcode";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/gherkin.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/gherkin",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "gherkin";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/gitignore.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/gitignore",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "gitignore";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/glsl.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/glsl",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "glsl";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/gobstones.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/gobstones",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# Procedure\n\
5 | snippet proc\n\
6 | procedure ${1?:name}(${2:argument}) {\n\
7 | ${3:// body...}\n\
8 | }\n\
9 | \n\
10 | # Function\n\
11 | snippet fun\n\
12 | function ${1?:name}(${2:argument}) {\n\
13 | return ${3:// body...}\n\
14 | }\n\
15 | \n\
16 | # Repeat\n\
17 | snippet rep\n\
18 | repeat ${1?:times} {\n\
19 | ${2:// body...}\n\
20 | }\n\
21 | \n\
22 | # For\n\
23 | snippet for\n\
24 | foreach ${1?:e} in ${2?:list} {\n\
25 | ${3:// body...} \n\
26 | }\n\
27 | \n\
28 | # If\n\
29 | snippet if\n\
30 | if (${1?:condition}) {\n\
31 | ${3:// body...} \n\
32 | }\n\
33 | \n\
34 | # While\n\
35 | while (${1?:condition}) {\n\
36 | ${2:// body...} \n\
37 | }\n\
38 | ";
39 | exports.scope = "gobstones";
40 |
41 | });
42 |
--------------------------------------------------------------------------------
/public/src/snippets/golang.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/golang",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "golang";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/groovy.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/groovy",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "groovy";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/haml.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/haml",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet t\n\
5 | %table\n\
6 | %tr\n\
7 | %th\n\
8 | ${1:headers}\n\
9 | %tr\n\
10 | %td\n\
11 | ${2:headers}\n\
12 | snippet ul\n\
13 | %ul\n\
14 | %li\n\
15 | ${1:item}\n\
16 | %li\n\
17 | snippet =rp\n\
18 | = render :partial => '${1:partial}'\n\
19 | snippet =rpl\n\
20 | = render :partial => '${1:partial}', :locals => {}\n\
21 | snippet =rpc\n\
22 | = render :partial => '${1:partial}', :collection => @$1\n\
23 | \n\
24 | ";
25 | exports.scope = "haml";
26 |
27 | });
28 |
--------------------------------------------------------------------------------
/public/src/snippets/handlebars.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/handlebars",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "handlebars";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/haskell.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/haskell",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet lang\n\
5 | {-# LANGUAGE ${1:OverloadedStrings} #-}\n\
6 | snippet info\n\
7 | -- |\n\
8 | -- Module : ${1:Module.Namespace}\n\
9 | -- Copyright : ${2:Author} ${3:2011-2012}\n\
10 | -- License : ${4:BSD3}\n\
11 | --\n\
12 | -- Maintainer : ${5:email@something.com}\n\
13 | -- Stability : ${6:experimental}\n\
14 | -- Portability : ${7:unknown}\n\
15 | --\n\
16 | -- ${8:Description}\n\
17 | --\n\
18 | snippet import\n\
19 | import ${1:Data.Text}\n\
20 | snippet import2\n\
21 | import ${1:Data.Text} (${2:head})\n\
22 | snippet importq\n\
23 | import qualified ${1:Data.Text} as ${2:T}\n\
24 | snippet inst\n\
25 | instance ${1:Monoid} ${2:Type} where\n\
26 | ${3}\n\
27 | snippet type\n\
28 | type ${1:Type} = ${2:Type}\n\
29 | snippet data\n\
30 | data ${1:Type} = ${2:$1} ${3:Int}\n\
31 | snippet newtype\n\
32 | newtype ${1:Type} = ${2:$1} ${3:Int}\n\
33 | snippet class\n\
34 | class ${1:Class} a where\n\
35 | ${2}\n\
36 | snippet module\n\
37 | module `substitute(substitute(expand('%:r'), '[/\\\\]','.','g'),'^\\%(\\l*\\.\\)\\?','','')` (\n\
38 | ) where\n\
39 | `expand('%') =~ 'Main' ? \"\\n\\nmain = do\\n print \\\"hello world\\\"\" : \"\"`\n\
40 | \n\
41 | snippet const\n\
42 | ${1:name} :: ${2:a}\n\
43 | $1 = ${3:undefined}\n\
44 | snippet fn\n\
45 | ${1:fn} :: ${2:a} -> ${3:a}\n\
46 | $1 ${4} = ${5:undefined}\n\
47 | snippet fn2\n\
48 | ${1:fn} :: ${2:a} -> ${3:a} -> ${4:a}\n\
49 | $1 ${5} = ${6:undefined}\n\
50 | snippet ap\n\
51 | ${1:map} ${2:fn} ${3:list}\n\
52 | snippet do\n\
53 | do\n\
54 | \n\
55 | snippet λ\n\
56 | \\${1:x} -> ${2}\n\
57 | snippet \\\n\
58 | \\${1:x} -> ${2}\n\
59 | snippet <-\n\
60 | ${1:a} <- ${2:m a}\n\
61 | snippet ←\n\
62 | ${1:a} <- ${2:m a}\n\
63 | snippet ->\n\
64 | ${1:m a} -> ${2:a}\n\
65 | snippet →\n\
66 | ${1:m a} -> ${2:a}\n\
67 | snippet tup\n\
68 | (${1:a}, ${2:b})\n\
69 | snippet tup2\n\
70 | (${1:a}, ${2:b}, ${3:c})\n\
71 | snippet tup3\n\
72 | (${1:a}, ${2:b}, ${3:c}, ${4:d})\n\
73 | snippet rec\n\
74 | ${1:Record} { ${2:recFieldA} = ${3:undefined}\n\
75 | , ${4:recFieldB} = ${5:undefined}\n\
76 | }\n\
77 | snippet case\n\
78 | case ${1:something} of\n\
79 | ${2} -> ${3}\n\
80 | snippet let\n\
81 | let ${1} = ${2}\n\
82 | in ${3}\n\
83 | snippet where\n\
84 | where\n\
85 | ${1:fn} = ${2:undefined}\n\
86 | ";
87 | exports.scope = "haskell";
88 |
89 | });
90 |
--------------------------------------------------------------------------------
/public/src/snippets/haskell_cabal.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/haskell_cabal",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "haskell_cabal";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/haxe.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/haxe",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "haxe";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/hjson.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/hjson",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/html_elixir.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/html_elixir",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "html_elixir";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/html_ruby.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/html_ruby",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "html_ruby";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/ini.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/ini",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "ini";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/io.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/io",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippets = [
5 | {
6 | "content": "assertEquals(${1:expected}, ${2:expr})",
7 | "name": "assertEquals",
8 | "scope": "io",
9 | "tabTrigger": "ae"
10 | },
11 | {
12 | "content": "${1:${2:newValue} := ${3:Object} }clone do(\n\t$0\n)",
13 | "name": "clone do",
14 | "scope": "io",
15 | "tabTrigger": "cdo"
16 | },
17 | {
18 | "content": "docSlot(\"${1:slotName}\", \"${2:documentation}\")",
19 | "name": "docSlot",
20 | "scope": "io",
21 | "tabTrigger": "ds"
22 | },
23 | {
24 | "content": "(${1:header,}\n\t${2:body}\n)$0",
25 | "keyEquivalent": "@(",
26 | "name": "Indented Bracketed Line",
27 | "scope": "io",
28 | "tabTrigger": "("
29 | },
30 | {
31 | "content": "\n\t$0\n",
32 | "keyEquivalent": "\r",
33 | "name": "Special: Return Inside Empty Parenthesis",
34 | "scope": "io meta.empty-parenthesis.io, io meta.comma-parenthesis.io"
35 | },
36 | {
37 | "content": "${1:methodName} := method(${2:args,}\n\t$0\n)",
38 | "name": "method",
39 | "scope": "io",
40 | "tabTrigger": "m"
41 | },
42 | {
43 | "content": "newSlot(\"${1:slotName}\", ${2:defaultValue}, \"${3:docString}\")$0",
44 | "name": "newSlot",
45 | "scope": "io",
46 | "tabTrigger": "ns"
47 | },
48 | {
49 | "content": "${1:name} := Object clone do(\n\t$0\n)",
50 | "name": "Object clone do",
51 | "scope": "io",
52 | "tabTrigger": "ocdo"
53 | },
54 | {
55 | "content": "test${1:SomeFeature} := method(\n\t$0\n)",
56 | "name": "testMethod",
57 | "scope": "io",
58 | "tabTrigger": "ts"
59 | },
60 | {
61 | "content": "${1:Something}Test := ${2:UnitTest} clone do(\n\t$0\n)",
62 | "name": "UnitTest",
63 | "scope": "io",
64 | "tabTrigger": "ut"
65 | }
66 | ];
67 | exports.scope = "io";
68 |
69 | });
70 |
--------------------------------------------------------------------------------
/public/src/snippets/jack.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/jack",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "jack";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/jade.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/jade",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "jade";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/json.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/json",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "json";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/jsoniq.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/jsoniq",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet for\n\
5 | for $${1:item} in ${2:expr}\n\
6 | snippet return\n\
7 | return ${1:expr}\n\
8 | snippet import\n\
9 | import module namespace ${1:ns} = \"${2:http://www.example.com/}\";\n\
10 | snippet some\n\
11 | some $${1:varname} in ${2:expr} satisfies ${3:expr}\n\
12 | snippet every\n\
13 | every $${1:varname} in ${2:expr} satisfies ${3:expr}\n\
14 | snippet if\n\
15 | if(${1:true}) then ${2:expr} else ${3:true}\n\
16 | snippet switch\n\
17 | switch(${1:\"foo\"})\n\
18 | case ${2:\"foo\"}\n\
19 | return ${3:true}\n\
20 | default return ${4:false}\n\
21 | snippet try\n\
22 | try { ${1:expr} } catch ${2:*} { ${3:expr} }\n\
23 | snippet tumbling\n\
24 | for tumbling window $${1:varname} in ${2:expr}\n\
25 | start at $${3:start} when ${4:expr}\n\
26 | end at $${5:end} when ${6:expr}\n\
27 | return ${7:expr}\n\
28 | snippet sliding\n\
29 | for sliding window $${1:varname} in ${2:expr}\n\
30 | start at $${3:start} when ${4:expr}\n\
31 | end at $${5:end} when ${6:expr}\n\
32 | return ${7:expr}\n\
33 | snippet let\n\
34 | let $${1:varname} := ${2:expr}\n\
35 | snippet group\n\
36 | group by $${1:varname} := ${2:expr}\n\
37 | snippet order\n\
38 | order by ${1:expr} ${2:descending}\n\
39 | snippet stable\n\
40 | stable order by ${1:expr}\n\
41 | snippet count\n\
42 | count $${1:varname}\n\
43 | snippet ordered\n\
44 | ordered { ${1:expr} }\n\
45 | snippet unordered\n\
46 | unordered { ${1:expr} }\n\
47 | snippet treat \n\
48 | treat as ${1:expr}\n\
49 | snippet castable\n\
50 | castable as ${1:atomicType}\n\
51 | snippet cast\n\
52 | cast as ${1:atomicType}\n\
53 | snippet typeswitch\n\
54 | typeswitch(${1:expr})\n\
55 | case ${2:type} return ${3:expr}\n\
56 | default return ${4:expr}\n\
57 | snippet var\n\
58 | declare variable $${1:varname} := ${2:expr};\n\
59 | snippet fn\n\
60 | declare function ${1:ns}:${2:name}(){\n\
61 | ${3:expr}\n\
62 | };\n\
63 | snippet module\n\
64 | module namespace ${1:ns} = \"${2:http://www.example.com}\";\n\
65 | ";
66 | exports.scope = "jsoniq";
67 |
68 | });
69 |
--------------------------------------------------------------------------------
/public/src/snippets/jsx.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/jsx",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "jsx";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/julia.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/julia",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "julia";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/kotlin.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/kotlin",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/latex.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/latex",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "latex";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/lean.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/lean",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "lean";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/less.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/less",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "less";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/liquid.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/liquid",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "liquid";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/lisp.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/lisp",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "lisp";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/live_script.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/live_script",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/livescript.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/livescript",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "livescript";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/logiql.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/logiql",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "logiql";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/lua.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/lua",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet #!\n\
5 | #!/usr/bin/env lua\n\
6 | $1\n\
7 | snippet local\n\
8 | local ${1:x} = ${2:1}\n\
9 | snippet fun\n\
10 | function ${1:fname}(${2:...})\n\
11 | ${3:-- body}\n\
12 | end\n\
13 | snippet for\n\
14 | for ${1:i}=${2:1},${3:10} do\n\
15 | ${4:print(i)}\n\
16 | end\n\
17 | snippet forp\n\
18 | for ${1:i},${2:v} in pairs(${3:table_name}) do\n\
19 | ${4:-- body}\n\
20 | end\n\
21 | snippet fori\n\
22 | for ${1:i},${2:v} in ipairs(${3:table_name}) do\n\
23 | ${4:-- body}\n\
24 | end\n\
25 | ";
26 | exports.scope = "lua";
27 |
28 | });
29 |
--------------------------------------------------------------------------------
/public/src/snippets/luapage.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/luapage",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "luapage";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/lucene.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/lucene",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "lucene";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/makefile.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/makefile",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet ifeq\n\
5 | ifeq (${1:cond0},${2:cond1})\n\
6 | ${3:code}\n\
7 | endif\n\
8 | ";
9 | exports.scope = "makefile";
10 |
11 | });
12 |
--------------------------------------------------------------------------------
/public/src/snippets/markdown.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/markdown",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# Markdown\n\
5 | \n\
6 | # Includes octopress (http://octopress.org/) snippets\n\
7 | \n\
8 | snippet [\n\
9 | [${1:text}](http://${2:address} \"${3:title}\")\n\
10 | snippet [*\n\
11 | [${1:link}](${2:`@*`} \"${3:title}\")${4}\n\
12 | \n\
13 | snippet [:\n\
14 | [${1:id}]: http://${2:url} \"${3:title}\"\n\
15 | snippet [:*\n\
16 | [${1:id}]: ${2:`@*`} \"${3:title}\"\n\
17 | \n\
18 | snippet \n\
20 | snippet ${4}\n\
22 | \n\
23 | snippet ![:\n\
24 | ![${1:id}]: ${2:url} \"${3:title}\"\n\
25 | snippet ![:*\n\
26 | ![${1:id}]: ${2:`@*`} \"${3:title}\"\n\
27 | \n\
28 | snippet ===\n\
29 | regex /^/=+/=*//\n\
30 | ${PREV_LINE/./=/g}\n\
31 | \n\
32 | ${0}\n\
33 | snippet ---\n\
34 | regex /^/-+/-*//\n\
35 | ${PREV_LINE/./-/g}\n\
36 | \n\
37 | ${0}\n\
38 | snippet blockquote\n\
39 | {% blockquote %}\n\
40 | ${1:quote}\n\
41 | {% endblockquote %}\n\
42 | \n\
43 | snippet blockquote-author\n\
44 | {% blockquote ${1:author}, ${2:title} %}\n\
45 | ${3:quote}\n\
46 | {% endblockquote %}\n\
47 | \n\
48 | snippet blockquote-link\n\
49 | {% blockquote ${1:author} ${2:URL} ${3:link_text} %}\n\
50 | ${4:quote}\n\
51 | {% endblockquote %}\n\
52 | \n\
53 | snippet bt-codeblock-short\n\
54 | ```\n\
55 | ${1:code_snippet}\n\
56 | ```\n\
57 | \n\
58 | snippet bt-codeblock-full\n\
59 | ``` ${1:language} ${2:title} ${3:URL} ${4:link_text}\n\
60 | ${5:code_snippet}\n\
61 | ```\n\
62 | \n\
63 | snippet codeblock-short\n\
64 | {% codeblock %}\n\
65 | ${1:code_snippet}\n\
66 | {% endcodeblock %}\n\
67 | \n\
68 | snippet codeblock-full\n\
69 | {% codeblock ${1:title} lang:${2:language} ${3:URL} ${4:link_text} %}\n\
70 | ${5:code_snippet}\n\
71 | {% endcodeblock %}\n\
72 | \n\
73 | snippet gist-full\n\
74 | {% gist ${1:gist_id} ${2:filename} %}\n\
75 | \n\
76 | snippet gist-short\n\
77 | {% gist ${1:gist_id} %}\n\
78 | \n\
79 | snippet img\n\
80 | {% img ${1:class} ${2:URL} ${3:width} ${4:height} ${5:title_text} ${6:alt_text} %}\n\
81 | \n\
82 | snippet youtube\n\
83 | {% youtube ${1:video_id} %}\n\
84 | \n\
85 | # The quote should appear only once in the text. It is inherently part of it.\n\
86 | # See http://octopress.org/docs/plugins/pullquote/ for more info.\n\
87 | \n\
88 | snippet pullquote\n\
89 | {% pullquote %}\n\
90 | ${1:text} {\" ${2:quote} \"} ${3:text}\n\
91 | {% endpullquote %}\n\
92 | ";
93 | exports.scope = "markdown";
94 |
95 | });
96 |
--------------------------------------------------------------------------------
/public/src/snippets/mask.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/mask",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "mask";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/matlab.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/matlab",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "matlab";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/maze.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/maze",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet >\n\
5 | description assignment\n\
6 | scope maze\n\
7 | -> ${1}= ${2}\n\
8 | \n\
9 | snippet >\n\
10 | description if\n\
11 | scope maze\n\
12 | -> IF ${2:**} THEN %${3:L} ELSE %${4:R}\n\
13 | ";
14 | exports.scope = "maze";
15 |
16 | });
17 |
--------------------------------------------------------------------------------
/public/src/snippets/mel.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/mel",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "mel";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/mips_assembler.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/mips_assembler",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "mips_assembler";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/mipsassembler.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/mipsassembler",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/mushcode.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/mushcode",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "mushcode";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/mysql.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/mysql",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "mysql";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/nix.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/nix",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "nix";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/nsis.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/nsis",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/objectivec.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/objectivec",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "objectivec";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/ocaml.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/ocaml",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "ocaml";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/pascal.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/pascal",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "pascal";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/pgsql.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/pgsql",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "pgsql";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/plain_text.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/plain_text",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "plain_text";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/powershell.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/powershell",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "powershell";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/praat.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/praat",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "praat";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/prolog.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/prolog",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "prolog";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/properties.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/properties",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "properties";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/protobuf.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/protobuf",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "";
5 | exports.scope = "protobuf";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/razor.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/razor",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet if\n\
5 | (${1} == ${2}) {\n\
6 | ${3}\n\
7 | }";
8 | exports.scope = "razor";
9 |
10 | });
11 |
--------------------------------------------------------------------------------
/public/src/snippets/rdoc.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/rdoc",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "rdoc";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/rhtml.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/rhtml",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "rhtml";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/rst.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/rst",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# rst\n\
5 | \n\
6 | snippet :\n\
7 | :${1:field name}: ${2:field body}\n\
8 | snippet *\n\
9 | *${1:Emphasis}*\n\
10 | snippet **\n\
11 | **${1:Strong emphasis}**\n\
12 | snippet _\n\
13 | \\`${1:hyperlink-name}\\`_\n\
14 | .. _\\`$1\\`: ${2:link-block}\n\
15 | snippet =\n\
16 | ${1:Title}\n\
17 | =====${2:=}\n\
18 | ${3}\n\
19 | snippet -\n\
20 | ${1:Title}\n\
21 | -----${2:-}\n\
22 | ${3}\n\
23 | snippet cont:\n\
24 | .. contents::\n\
25 | \n\
26 | ";
27 | exports.scope = "rst";
28 |
29 | });
30 |
--------------------------------------------------------------------------------
/public/src/snippets/rust.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/rust",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "rust";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/sass.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/sass",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "sass";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/scad.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/scad",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "scad";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/scala.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/scala",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "scala";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/scheme.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/scheme",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "scheme";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/scss.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/scss",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "scss";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/sh.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/sh",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# Shebang. Executing bash via /usr/bin/env makes scripts more portable.\n\
5 | snippet #!\n\
6 | #!/usr/bin/env bash\n\
7 | \n\
8 | snippet if\n\
9 | if [[ ${1:condition} ]]; then\n\
10 | ${2:#statements}\n\
11 | fi\n\
12 | snippet elif\n\
13 | elif [[ ${1:condition} ]]; then\n\
14 | ${2:#statements}\n\
15 | snippet for\n\
16 | for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do\n\
17 | ${3:#statements}\n\
18 | done\n\
19 | snippet fori\n\
20 | for ${1:needle} in ${2:haystack} ; do\n\
21 | ${3:#statements}\n\
22 | done\n\
23 | snippet wh\n\
24 | while [[ ${1:condition} ]]; do\n\
25 | ${2:#statements}\n\
26 | done\n\
27 | snippet until\n\
28 | until [[ ${1:condition} ]]; do\n\
29 | ${2:#statements}\n\
30 | done\n\
31 | snippet case\n\
32 | case ${1:word} in\n\
33 | ${2:pattern})\n\
34 | ${3};;\n\
35 | esac\n\
36 | snippet go \n\
37 | while getopts '${1:o}' ${2:opts} \n\
38 | do \n\
39 | case $$2 in\n\
40 | ${3:o0})\n\
41 | ${4:#staments};;\n\
42 | esac\n\
43 | done\n\
44 | # Set SCRIPT_DIR variable to directory script is located.\n\
45 | snippet sdir\n\
46 | SCRIPT_DIR=\"$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )\" && pwd )\"\n\
47 | # getopt\n\
48 | snippet getopt\n\
49 | __ScriptVersion=\"${1:version}\"\n\
50 | \n\
51 | #=== FUNCTION ================================================================\n\
52 | # NAME: usage\n\
53 | # DESCRIPTION: Display usage information.\n\
54 | #===============================================================================\n\
55 | function usage ()\n\
56 | {\n\
57 | cat <<- EOT\n\
58 | \n\
59 | Usage : $${0:0} [options] [--] \n\
60 | \n\
61 | Options: \n\
62 | -h|help Display this message\n\
63 | -v|version Display script version\n\
64 | \n\
65 | EOT\n\
66 | } # ---------- end of function usage ----------\n\
67 | \n\
68 | #-----------------------------------------------------------------------\n\
69 | # Handle command line arguments\n\
70 | #-----------------------------------------------------------------------\n\
71 | \n\
72 | while getopts \":hv\" opt\n\
73 | do\n\
74 | case $opt in\n\
75 | \n\
76 | h|help ) usage; exit 0 ;;\n\
77 | \n\
78 | v|version ) echo \"$${0:0} -- Version $__ScriptVersion\"; exit 0 ;;\n\
79 | \n\
80 | \\? ) echo -e \"\\n Option does not exist : $OPTARG\\n\"\n\
81 | usage; exit 1 ;;\n\
82 | \n\
83 | esac # --- end of case ---\n\
84 | done\n\
85 | shift $(($OPTIND-1))\n\
86 | \n\
87 | ";
88 | exports.scope = "sh";
89 |
90 | });
91 |
--------------------------------------------------------------------------------
/public/src/snippets/sjs.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/sjs",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "sjs";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/smarty.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/smarty",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "smarty";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/snippets.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/snippets",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# snippets for making snippets :)\n\
5 | snippet snip\n\
6 | snippet ${1:trigger}\n\
7 | ${2}\n\
8 | snippet msnip\n\
9 | snippet ${1:trigger} ${2:description}\n\
10 | ${3}\n\
11 | snippet v\n\
12 | {VISUAL}\n\
13 | ";
14 | exports.scope = "snippets";
15 |
16 | });
17 |
--------------------------------------------------------------------------------
/public/src/snippets/soy_template.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/soy_template",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "soy_template";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/space.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/space",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "space";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/sql.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/sql",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet tbl\n\
5 | create table ${1:table} (\n\
6 | ${2:columns}\n\
7 | );\n\
8 | snippet col\n\
9 | ${1:name} ${2:type} ${3:default ''} ${4:not null}\n\
10 | snippet ccol\n\
11 | ${1:name} varchar2(${2:size}) ${3:default ''} ${4:not null}\n\
12 | snippet ncol\n\
13 | ${1:name} number ${3:default 0} ${4:not null}\n\
14 | snippet dcol\n\
15 | ${1:name} date ${3:default sysdate} ${4:not null}\n\
16 | snippet ind\n\
17 | create index ${3:$1_$2} on ${1:table}(${2:column});\n\
18 | snippet uind\n\
19 | create unique index ${1:name} on ${2:table}(${3:column});\n\
20 | snippet tblcom\n\
21 | comment on table ${1:table} is '${2:comment}';\n\
22 | snippet colcom\n\
23 | comment on column ${1:table}.${2:column} is '${3:comment}';\n\
24 | snippet addcol\n\
25 | alter table ${1:table} add (${2:column} ${3:type});\n\
26 | snippet seq\n\
27 | create sequence ${1:name} start with ${2:1} increment by ${3:1} minvalue ${4:1};\n\
28 | snippet s*\n\
29 | select * from ${1:table}\n\
30 | ";
31 | exports.scope = "sql";
32 |
33 | });
34 |
--------------------------------------------------------------------------------
/public/src/snippets/sqlserver.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/sqlserver",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# ISNULL\n\
5 | snippet isnull\n\
6 | ISNULL(${1:check_expression}, ${2:replacement_value})\n\
7 | # FORMAT\n\
8 | snippet format\n\
9 | FORMAT(${1:value}, ${2:format})\n\
10 | # CAST\n\
11 | snippet cast\n\
12 | CAST(${1:expression} AS ${2:data_type})\n\
13 | # CONVERT\n\
14 | snippet convert\n\
15 | CONVERT(${1:data_type}, ${2:expression})\n\
16 | # DATEPART\n\
17 | snippet datepart\n\
18 | DATEPART(${1:datepart}, ${2:date})\n\
19 | # DATEDIFF\n\
20 | snippet datediff\n\
21 | DATEDIFF(${1:datepart}, ${2:startdate}, ${3:enddate})\n\
22 | # DATEADD\n\
23 | snippet dateadd\n\
24 | DATEADD(${1:datepart}, ${2:number}, ${3:date})\n\
25 | # DATEFROMPARTS \n\
26 | snippet datefromparts\n\
27 | DATEFROMPARTS(${1:year}, ${2:month}, ${3:day})\n\
28 | # OBJECT_DEFINITION\n\
29 | snippet objectdef\n\
30 | SELECT OBJECT_DEFINITION(OBJECT_ID('${1:sys.server_permissions /*object name*/}'))\n\
31 | # STUFF XML\n\
32 | snippet stuffxml\n\
33 | STUFF((SELECT ', ' + ${1:ColumnName}\n\
34 | FROM ${2:TableName}\n\
35 | WHERE ${3:WhereClause}\n\
36 | FOR XML PATH('')), 1, 1, '') AS ${4:Alias}\n\
37 | ${5:/*https://msdn.microsoft.com/en-us/library/ms188043.aspx*/}\n\
38 | # Create Procedure\n\
39 | snippet createproc\n\
40 | -- =============================================\n\
41 | -- Author: ${1:Author}\n\
42 | -- Create date: ${2:Date}\n\
43 | -- Description: ${3:Description}\n\
44 | -- =============================================\n\
45 | CREATE PROCEDURE ${4:Procedure_Name}\n\
46 | ${5:/*Add the parameters for the stored procedure here*/}\n\
47 | AS\n\
48 | BEGIN\n\
49 | -- SET NOCOUNT ON added to prevent extra result sets from interfering with SELECT statements.\n\
50 | SET NOCOUNT ON;\n\
51 | \n\
52 | ${6:/*Add the T-SQL statements to compute the return value here*/}\n\
53 | \n\
54 | END\n\
55 | GO\n\
56 | # Create Scalar Function\n\
57 | snippet createfn\n\
58 | -- =============================================\n\
59 | -- Author: ${1:Author}\n\
60 | -- Create date: ${2:Date}\n\
61 | -- Description: ${3:Description}\n\
62 | -- =============================================\n\
63 | CREATE FUNCTION ${4:Scalar_Function_Name}\n\
64 | -- Add the parameters for the function here\n\
65 | RETURNS ${5:Function_Data_Type}\n\
66 | AS\n\
67 | BEGIN\n\
68 | DECLARE @Result ${5:Function_Data_Type}\n\
69 | \n\
70 | ${6:/*Add the T-SQL statements to compute the return value here*/}\n\
71 | \n\
72 | END\n\
73 | GO";
74 | exports.scope = "sqlserver";
75 |
76 | });
77 |
--------------------------------------------------------------------------------
/public/src/snippets/stylus.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/stylus",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "stylus";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/svg.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/svg",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "svg";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/swift.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/swift",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "swift";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/swig.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/swig",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "swig";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/tcl.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/tcl",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# #!/usr/bin/env tclsh\n\
5 | snippet #!\n\
6 | #!/usr/bin/env tclsh\n\
7 | \n\
8 | # Process\n\
9 | snippet pro\n\
10 | proc ${1:function_name} {${2:args}} {\n\
11 | ${3:#body ...}\n\
12 | }\n\
13 | #xif\n\
14 | snippet xif\n\
15 | ${1:expr}? ${2:true} : ${3:false}\n\
16 | # Conditional\n\
17 | snippet if\n\
18 | if {${1}} {\n\
19 | ${2:# body...}\n\
20 | }\n\
21 | # Conditional if..else\n\
22 | snippet ife\n\
23 | if {${1}} {\n\
24 | ${2:# body...}\n\
25 | } else {\n\
26 | ${3:# else...}\n\
27 | }\n\
28 | # Conditional if..elsif..else\n\
29 | snippet ifee\n\
30 | if {${1}} {\n\
31 | ${2:# body...}\n\
32 | } elseif {${3}} {\n\
33 | ${4:# elsif...}\n\
34 | } else {\n\
35 | ${5:# else...}\n\
36 | }\n\
37 | # If catch then\n\
38 | snippet ifc\n\
39 | if { [catch {${1:#do something...}} ${2:err}] } {\n\
40 | ${3:# handle failure...}\n\
41 | }\n\
42 | # Catch\n\
43 | snippet catch\n\
44 | catch {${1}} ${2:err} ${3:options}\n\
45 | # While Loop\n\
46 | snippet wh\n\
47 | while {${1}} {\n\
48 | ${2:# body...}\n\
49 | }\n\
50 | # For Loop\n\
51 | snippet for\n\
52 | for {set ${2:var} 0} {$$2 < ${1:count}} {${3:incr} $2} {\n\
53 | ${4:# body...}\n\
54 | }\n\
55 | # Foreach Loop\n\
56 | snippet fore\n\
57 | foreach ${1:x} {${2:#list}} {\n\
58 | ${3:# body...}\n\
59 | }\n\
60 | # after ms script...\n\
61 | snippet af\n\
62 | after ${1:ms} ${2:#do something}\n\
63 | # after cancel id\n\
64 | snippet afc\n\
65 | after cancel ${1:id or script}\n\
66 | # after idle\n\
67 | snippet afi\n\
68 | after idle ${1:script}\n\
69 | # after info id\n\
70 | snippet afin\n\
71 | after info ${1:id}\n\
72 | # Expr\n\
73 | snippet exp\n\
74 | expr {${1:#expression here}}\n\
75 | # Switch\n\
76 | snippet sw\n\
77 | switch ${1:var} {\n\
78 | ${3:pattern 1} {\n\
79 | ${4:#do something}\n\
80 | }\n\
81 | default {\n\
82 | ${2:#do something}\n\
83 | }\n\
84 | }\n\
85 | # Case\n\
86 | snippet ca\n\
87 | ${1:pattern} {\n\
88 | ${2:#do something}\n\
89 | }${3}\n\
90 | # Namespace eval\n\
91 | snippet ns\n\
92 | namespace eval ${1:path} {${2:#script...}}\n\
93 | # Namespace current\n\
94 | snippet nsc\n\
95 | namespace current\n\
96 | ";
97 | exports.scope = "tcl";
98 |
99 | });
100 |
--------------------------------------------------------------------------------
/public/src/snippets/text.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/text",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "text";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/textile.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/textile",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# Jekyll post header\n\
5 | snippet header\n\
6 | ---\n\
7 | title: ${1:title}\n\
8 | layout: post\n\
9 | date: ${2:date} ${3:hour:minute:second} -05:00\n\
10 | ---\n\
11 | \n\
12 | # Image\n\
13 | snippet img\n\
14 | !${1:url}(${2:title}):${3:link}!\n\
15 | \n\
16 | # Table\n\
17 | snippet |\n\
18 | |${1}|${2}\n\
19 | \n\
20 | # Link\n\
21 | snippet link\n\
22 | \"${1:link text}\":${2:url}\n\
23 | \n\
24 | # Acronym\n\
25 | snippet (\n\
26 | (${1:Expand acronym})${2}\n\
27 | \n\
28 | # Footnote\n\
29 | snippet fn\n\
30 | [${1:ref number}] ${3}\n\
31 | \n\
32 | fn$1. ${2:footnote}\n\
33 | \n\
34 | ";
35 | exports.scope = "textile";
36 |
37 | });
38 |
--------------------------------------------------------------------------------
/public/src/snippets/toml.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/toml",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "toml";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/tsx.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/tsx",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "tsx";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/twig.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/twig",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "twig";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/typescript.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/typescript",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "typescript";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/vbscript.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/vbscript",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "vbscript";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/velocity.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/velocity",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "# macro\n\
5 | snippet #macro\n\
6 | #macro ( ${1:macroName} ${2:\\$var1, [\\$var2, ...]} )\n\
7 | ${3:## macro code}\n\
8 | #end\n\
9 | # foreach\n\
10 | snippet #foreach\n\
11 | #foreach ( ${1:\\$item} in ${2:\\$collection} )\n\
12 | ${3:## foreach code}\n\
13 | #end\n\
14 | # if\n\
15 | snippet #if\n\
16 | #if ( ${1:true} )\n\
17 | ${0}\n\
18 | #end\n\
19 | # if ... else\n\
20 | snippet #ife\n\
21 | #if ( ${1:true} )\n\
22 | ${2}\n\
23 | #else\n\
24 | ${0}\n\
25 | #end\n\
26 | #import\n\
27 | snippet #import\n\
28 | #import ( \"${1:path/to/velocity/format}\" )\n\
29 | # set\n\
30 | snippet #set\n\
31 | #set ( $${1:var} = ${0} )\n\
32 | ";
33 | exports.scope = "velocity";
34 | exports.includeScopes = ["html", "javascript", "css"];
35 |
36 | });
37 |
--------------------------------------------------------------------------------
/public/src/snippets/verilog.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/verilog",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "verilog";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/vhdl.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/vhdl",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "vhdl";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/wollok.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/wollok",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "##\n\
5 | ## Basic Java packages and import\n\
6 | snippet im\n\
7 | import\n\
8 | snippet w.l\n\
9 | wollok.lang\n\
10 | snippet w.i\n\
11 | wollok.lib\n\
12 | \n\
13 | ## Class and object\n\
14 | snippet cl\n\
15 | class ${1:`Filename(\"\", \"untitled\")`} ${2}\n\
16 | snippet obj\n\
17 | object ${1:`Filename(\"\", \"untitled\")`} ${2:inherits Parent}${3}\n\
18 | snippet te\n\
19 | test ${1:`Filename(\"\", \"untitled\")`}\n\
20 | \n\
21 | ##\n\
22 | ## Enhancements\n\
23 | snippet inh\n\
24 | inherits\n\
25 | \n\
26 | ##\n\
27 | ## Comments\n\
28 | snippet /*\n\
29 | /*\n\
30 | * ${1}\n\
31 | */\n\
32 | \n\
33 | ##\n\
34 | ## Control Statements\n\
35 | snippet el\n\
36 | else\n\
37 | snippet if\n\
38 | if (${1}) ${2}\n\
39 | \n\
40 | ##\n\
41 | ## Create a Method\n\
42 | snippet m\n\
43 | method ${1:method}(${2}) ${5}\n\
44 | \n\
45 | ## \n\
46 | ## Tests\n\
47 | snippet as\n\
48 | assert.equals(${1:expected}, ${2:actual})\n\
49 | \n\
50 | ##\n\
51 | ## Exceptions\n\
52 | snippet ca\n\
53 | catch ${1:e} : (${2:Exception} ) ${3}\n\
54 | snippet thr\n\
55 | throw\n\
56 | snippet try\n\
57 | try {\n\
58 | ${3}\n\
59 | } catch ${1:e} : ${2:Exception} {\n\
60 | }\n\
61 | \n\
62 | ##\n\
63 | ## Javadocs\n\
64 | snippet /**\n\
65 | /**\n\
66 | * ${1}\n\
67 | */\n\
68 | \n\
69 | ##\n\
70 | ## Print Methods\n\
71 | snippet print\n\
72 | console.println(\"${1:Message}\")\n\
73 | \n\
74 | ##\n\
75 | ## Setter and Getter Methods\n\
76 | snippet set\n\
77 | method set${1:}(${2:}) {\n\
78 | $1 = $2\n\
79 | }\n\
80 | snippet get\n\
81 | method get${1:}() {\n\
82 | return ${1:};\n\
83 | }\n\
84 | \n\
85 | ##\n\
86 | ## Terminate Methods or Loops\n\
87 | snippet re\n\
88 | return";
89 | exports.scope = "wollok";
90 |
91 | });
92 |
--------------------------------------------------------------------------------
/public/src/snippets/xml.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/xml",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "xml";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/snippets/xquery.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/xquery",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText = "snippet for\n\
5 | for $${1:item} in ${2:expr}\n\
6 | snippet return\n\
7 | return ${1:expr}\n\
8 | snippet import\n\
9 | import module namespace ${1:ns} = \"${2:http://www.example.com/}\";\n\
10 | snippet some\n\
11 | some $${1:varname} in ${2:expr} satisfies ${3:expr}\n\
12 | snippet every\n\
13 | every $${1:varname} in ${2:expr} satisfies ${3:expr}\n\
14 | snippet if\n\
15 | if(${1:true}) then ${2:expr} else ${3:true}\n\
16 | snippet switch\n\
17 | switch(${1:\"foo\"})\n\
18 | case ${2:\"foo\"}\n\
19 | return ${3:true}\n\
20 | default return ${4:false}\n\
21 | snippet try\n\
22 | try { ${1:expr} } catch ${2:*} { ${3:expr} }\n\
23 | snippet tumbling\n\
24 | for tumbling window $${1:varname} in ${2:expr}\n\
25 | start at $${3:start} when ${4:expr}\n\
26 | end at $${5:end} when ${6:expr}\n\
27 | return ${7:expr}\n\
28 | snippet sliding\n\
29 | for sliding window $${1:varname} in ${2:expr}\n\
30 | start at $${3:start} when ${4:expr}\n\
31 | end at $${5:end} when ${6:expr}\n\
32 | return ${7:expr}\n\
33 | snippet let\n\
34 | let $${1:varname} := ${2:expr}\n\
35 | snippet group\n\
36 | group by $${1:varname} := ${2:expr}\n\
37 | snippet order\n\
38 | order by ${1:expr} ${2:descending}\n\
39 | snippet stable\n\
40 | stable order by ${1:expr}\n\
41 | snippet count\n\
42 | count $${1:varname}\n\
43 | snippet ordered\n\
44 | ordered { ${1:expr} }\n\
45 | snippet unordered\n\
46 | unordered { ${1:expr} }\n\
47 | snippet treat \n\
48 | treat as ${1:expr}\n\
49 | snippet castable\n\
50 | castable as ${1:atomicType}\n\
51 | snippet cast\n\
52 | cast as ${1:atomicType}\n\
53 | snippet typeswitch\n\
54 | typeswitch(${1:expr})\n\
55 | case ${2:type} return ${3:expr}\n\
56 | default return ${4:expr}\n\
57 | snippet var\n\
58 | declare variable $${1:varname} := ${2:expr};\n\
59 | snippet fn\n\
60 | declare function ${1:ns}:${2:name}(){\n\
61 | ${3:expr}\n\
62 | };\n\
63 | snippet module\n\
64 | module namespace ${1:ns} = \"${2:http://www.example.com}\";\n\
65 | ";
66 | exports.scope = "xquery";
67 |
68 | });
69 |
--------------------------------------------------------------------------------
/public/src/snippets/yaml.js:
--------------------------------------------------------------------------------
1 | define("ace/snippets/yaml",["require","exports","module"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.snippetText =undefined;
5 | exports.scope = "yaml";
6 |
7 | });
8 |
--------------------------------------------------------------------------------
/public/src/theme-clouds.js:
--------------------------------------------------------------------------------
1 | define("ace/theme/clouds",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
2 |
3 | exports.isDark = false;
4 | exports.cssClass = "ace-clouds";
5 | exports.cssText = ".ace-clouds .ace_gutter {\
6 | background: #ebebeb;\
7 | color: #333\
8 | }\
9 | .ace-clouds .ace_print-margin {\
10 | width: 1px;\
11 | background: #e8e8e8\
12 | }\
13 | .ace-clouds {\
14 | background-color: #FFFFFF;\
15 | color: #000000\
16 | }\
17 | .ace-clouds .ace_cursor {\
18 | color: #000000\
19 | }\
20 | .ace-clouds .ace_marker-layer .ace_selection {\
21 | background: #BDD5FC\
22 | }\
23 | .ace-clouds.ace_multiselect .ace_selection.ace_start {\
24 | box-shadow: 0 0 3px 0px #FFFFFF;\
25 | }\
26 | .ace-clouds .ace_marker-layer .ace_step {\
27 | background: rgb(255, 255, 0)\
28 | }\
29 | .ace-clouds .ace_marker-layer .ace_bracket {\
30 | margin: -1px 0 0 -1px;\
31 | border: 1px solid #BFBFBF\
32 | }\
33 | .ace-clouds .ace_marker-layer .ace_active-line {\
34 | background: #FFFBD1\
35 | }\
36 | .ace-clouds .ace_gutter-active-line {\
37 | background-color : #dcdcdc\
38 | }\
39 | .ace-clouds .ace_marker-layer .ace_selected-word {\
40 | border: 1px solid #BDD5FC\
41 | }\
42 | .ace-clouds .ace_invisible {\
43 | color: #BFBFBF\
44 | }\
45 | .ace-clouds .ace_keyword,\
46 | .ace-clouds .ace_meta,\
47 | .ace-clouds .ace_support.ace_constant.ace_property-value {\
48 | color: #AF956F\
49 | }\
50 | .ace-clouds .ace_keyword.ace_operator {\
51 | color: #484848\
52 | }\
53 | .ace-clouds .ace_keyword.ace_other.ace_unit {\
54 | color: #96DC5F\
55 | }\
56 | .ace-clouds .ace_constant.ace_language {\
57 | color: #39946A\
58 | }\
59 | .ace-clouds .ace_constant.ace_numeric {\
60 | color: #46A609\
61 | }\
62 | .ace-clouds .ace_constant.ace_character.ace_entity {\
63 | color: #BF78CC\
64 | }\
65 | .ace-clouds .ace_invalid {\
66 | background-color: #FF002A\
67 | }\
68 | .ace-clouds .ace_fold {\
69 | background-color: #AF956F;\
70 | border-color: #000000\
71 | }\
72 | .ace-clouds .ace_storage,\
73 | .ace-clouds .ace_support.ace_class,\
74 | .ace-clouds .ace_support.ace_function,\
75 | .ace-clouds .ace_support.ace_other,\
76 | .ace-clouds .ace_support.ace_type {\
77 | color: #C52727\
78 | }\
79 | .ace-clouds .ace_string {\
80 | color: #5D90CD\
81 | }\
82 | .ace-clouds .ace_comment {\
83 | color: #BCC8BA\
84 | }\
85 | .ace-clouds .ace_entity.ace_name.ace_tag,\
86 | .ace-clouds .ace_entity.ace_other.ace_attribute-name {\
87 | color: #606060\
88 | }\
89 | .ace-clouds .ace_indent-guide {\
90 | background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y\
91 | }";
92 |
93 | var dom = require("../lib/dom");
94 | dom.importCssString(exports.cssText, exports.cssClass);
95 | });
96 |
--------------------------------------------------------------------------------
/public/src/theme-eclipse.js:
--------------------------------------------------------------------------------
1 | define("ace/theme/eclipse",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
2 | "use strict";
3 |
4 | exports.isDark = false;
5 | exports.cssText = ".ace-eclipse .ace_gutter {\
6 | background: #ebebeb;\
7 | border-right: 1px solid rgb(159, 159, 159);\
8 | color: rgb(136, 136, 136);\
9 | }\
10 | .ace-eclipse .ace_print-margin {\
11 | width: 1px;\
12 | background: #ebebeb;\
13 | }\
14 | .ace-eclipse {\
15 | background-color: #FFFFFF;\
16 | color: black;\
17 | }\
18 | .ace-eclipse .ace_fold {\
19 | background-color: rgb(60, 76, 114);\
20 | }\
21 | .ace-eclipse .ace_cursor {\
22 | color: black;\
23 | }\
24 | .ace-eclipse .ace_storage,\
25 | .ace-eclipse .ace_keyword,\
26 | .ace-eclipse .ace_variable {\
27 | color: rgb(127, 0, 85);\
28 | }\
29 | .ace-eclipse .ace_constant.ace_buildin {\
30 | color: rgb(88, 72, 246);\
31 | }\
32 | .ace-eclipse .ace_constant.ace_library {\
33 | color: rgb(6, 150, 14);\
34 | }\
35 | .ace-eclipse .ace_function {\
36 | color: rgb(60, 76, 114);\
37 | }\
38 | .ace-eclipse .ace_string {\
39 | color: rgb(42, 0, 255);\
40 | }\
41 | .ace-eclipse .ace_comment {\
42 | color: rgb(113, 150, 130);\
43 | }\
44 | .ace-eclipse .ace_comment.ace_doc {\
45 | color: rgb(63, 95, 191);\
46 | }\
47 | .ace-eclipse .ace_comment.ace_doc.ace_tag {\
48 | color: rgb(127, 159, 191);\
49 | }\
50 | .ace-eclipse .ace_constant.ace_numeric {\
51 | color: darkblue;\
52 | }\
53 | .ace-eclipse .ace_tag {\
54 | color: rgb(25, 118, 116);\
55 | }\
56 | .ace-eclipse .ace_type {\
57 | color: rgb(127, 0, 127);\
58 | }\
59 | .ace-eclipse .ace_xml-pe {\
60 | color: rgb(104, 104, 91);\
61 | }\
62 | .ace-eclipse .ace_marker-layer .ace_selection {\
63 | background: rgb(181, 213, 255);\
64 | }\
65 | .ace-eclipse .ace_marker-layer .ace_bracket {\
66 | margin: -1px 0 0 -1px;\
67 | border: 1px solid rgb(192, 192, 192);\
68 | }\
69 | .ace-eclipse .ace_meta.ace_tag {\
70 | color:rgb(25, 118, 116);\
71 | }\
72 | .ace-eclipse .ace_invisible {\
73 | color: #ddd;\
74 | }\
75 | .ace-eclipse .ace_entity.ace_other.ace_attribute-name {\
76 | color:rgb(127, 0, 127);\
77 | }\
78 | .ace-eclipse .ace_marker-layer .ace_step {\
79 | background: rgb(255, 255, 0);\
80 | }\
81 | .ace-eclipse .ace_active-line {\
82 | background: rgb(232, 242, 254);\
83 | }\
84 | .ace-eclipse .ace_gutter-active-line {\
85 | background-color : #DADADA;\
86 | }\
87 | .ace-eclipse .ace_marker-layer .ace_selected-word {\
88 | border: 1px solid rgb(181, 213, 255);\
89 | }\
90 | .ace-eclipse .ace_indent-guide {\
91 | background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
92 | }";
93 |
94 | exports.cssClass = "ace-eclipse";
95 |
96 | var dom = require("../lib/dom");
97 | dom.importCssString(exports.cssText, exports.cssClass);
98 | });
99 |
--------------------------------------------------------------------------------
/public/src/theme-kuroir.js:
--------------------------------------------------------------------------------
1 | define("ace/theme/kuroir",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
2 |
3 | exports.isDark = false;
4 | exports.cssClass = "ace-kuroir";
5 | exports.cssText = "\
6 | .ace-kuroir .ace_gutter {\
7 | background: #e8e8e8;\
8 | color: #333;\
9 | }\
10 | .ace-kuroir .ace_print-margin {\
11 | width: 1px;\
12 | background: #e8e8e8;\
13 | }\
14 | .ace-kuroir {\
15 | background-color: #E8E9E8;\
16 | color: #363636;\
17 | }\
18 | .ace-kuroir .ace_cursor {\
19 | color: #202020;\
20 | }\
21 | .ace-kuroir .ace_marker-layer .ace_selection {\
22 | background: rgba(245, 170, 0, 0.57);\
23 | }\
24 | .ace-kuroir.ace_multiselect .ace_selection.ace_start {\
25 | box-shadow: 0 0 3px 0px #E8E9E8;\
26 | }\
27 | .ace-kuroir .ace_marker-layer .ace_step {\
28 | background: rgb(198, 219, 174);\
29 | }\
30 | .ace-kuroir .ace_marker-layer .ace_bracket {\
31 | margin: -1px 0 0 -1px;\
32 | border: 1px solid rgba(0, 0, 0, 0.29);\
33 | }\
34 | .ace-kuroir .ace_marker-layer .ace_active-line {\
35 | background: rgba(203, 220, 47, 0.22);\
36 | }\
37 | .ace-kuroir .ace_gutter-active-line {\
38 | background-color: rgba(203, 220, 47, 0.22);\
39 | }\
40 | .ace-kuroir .ace_marker-layer .ace_selected-word {\
41 | border: 1px solid rgba(245, 170, 0, 0.57);\
42 | }\
43 | .ace-kuroir .ace_invisible {\
44 | color: #BFBFBF\
45 | }\
46 | .ace-kuroir .ace_fold {\
47 | border-color: #363636;\
48 | }\
49 | .ace-kuroir .ace_constant{color:#CD6839;}.ace-kuroir .ace_constant.ace_numeric{color:#9A5925;}.ace-kuroir .ace_support{color:#104E8B;}.ace-kuroir .ace_support.ace_function{color:#005273;}.ace-kuroir .ace_support.ace_constant{color:#CF6A4C;}.ace-kuroir .ace_storage{color:#A52A2A;}.ace-kuroir .ace_invalid.ace_illegal{color:#FD1224;\
50 | background-color:rgba(255, 6, 0, 0.15);}.ace-kuroir .ace_invalid.ace_deprecated{text-decoration:underline;\
51 | font-style:italic;\
52 | color:#FD1732;\
53 | background-color:#E8E9E8;}.ace-kuroir .ace_string{color:#639300;}.ace-kuroir .ace_string.ace_regexp{color:#417E00;\
54 | background-color:#C9D4BE;}.ace-kuroir .ace_comment{color:rgba(148, 148, 148, 0.91);\
55 | background-color:rgba(220, 220, 220, 0.56);}.ace-kuroir .ace_variable{color:#009ACD;}.ace-kuroir .ace_meta.ace_tag{color:#005273;}.ace-kuroir .ace_markup.ace_heading{color:#B8012D;\
56 | background-color:rgba(191, 97, 51, 0.051);}.ace-kuroir .ace_markup.ace_list{color:#8F5B26;}\
57 | ";
58 |
59 | var dom = require("../lib/dom");
60 | dom.importCssString(exports.cssText, exports.cssClass);
61 | });
62 |
--------------------------------------------------------------------------------
/public/src/theme-merbivore.js:
--------------------------------------------------------------------------------
1 | define("ace/theme/merbivore",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
2 |
3 | exports.isDark = true;
4 | exports.cssClass = "ace-merbivore";
5 | exports.cssText = ".ace-merbivore .ace_gutter {\
6 | background: #202020;\
7 | color: #E6E1DC\
8 | }\
9 | .ace-merbivore .ace_print-margin {\
10 | width: 1px;\
11 | background: #555651\
12 | }\
13 | .ace-merbivore {\
14 | background-color: #161616;\
15 | color: #E6E1DC\
16 | }\
17 | .ace-merbivore .ace_cursor {\
18 | color: #FFFFFF\
19 | }\
20 | .ace-merbivore .ace_marker-layer .ace_selection {\
21 | background: #454545\
22 | }\
23 | .ace-merbivore.ace_multiselect .ace_selection.ace_start {\
24 | box-shadow: 0 0 3px 0px #161616;\
25 | }\
26 | .ace-merbivore .ace_marker-layer .ace_step {\
27 | background: rgb(102, 82, 0)\
28 | }\
29 | .ace-merbivore .ace_marker-layer .ace_bracket {\
30 | margin: -1px 0 0 -1px;\
31 | border: 1px solid #404040\
32 | }\
33 | .ace-merbivore .ace_marker-layer .ace_active-line {\
34 | background: #333435\
35 | }\
36 | .ace-merbivore .ace_gutter-active-line {\
37 | background-color: #333435\
38 | }\
39 | .ace-merbivore .ace_marker-layer .ace_selected-word {\
40 | border: 1px solid #454545\
41 | }\
42 | .ace-merbivore .ace_invisible {\
43 | color: #404040\
44 | }\
45 | .ace-merbivore .ace_entity.ace_name.ace_tag,\
46 | .ace-merbivore .ace_keyword,\
47 | .ace-merbivore .ace_meta,\
48 | .ace-merbivore .ace_meta.ace_tag,\
49 | .ace-merbivore .ace_storage,\
50 | .ace-merbivore .ace_support.ace_function {\
51 | color: #FC6F09\
52 | }\
53 | .ace-merbivore .ace_constant,\
54 | .ace-merbivore .ace_constant.ace_character,\
55 | .ace-merbivore .ace_constant.ace_character.ace_escape,\
56 | .ace-merbivore .ace_constant.ace_other,\
57 | .ace-merbivore .ace_support.ace_type {\
58 | color: #1EDAFB\
59 | }\
60 | .ace-merbivore .ace_constant.ace_character.ace_escape {\
61 | color: #519F50\
62 | }\
63 | .ace-merbivore .ace_constant.ace_language {\
64 | color: #FDC251\
65 | }\
66 | .ace-merbivore .ace_constant.ace_library,\
67 | .ace-merbivore .ace_string,\
68 | .ace-merbivore .ace_support.ace_constant {\
69 | color: #8DFF0A\
70 | }\
71 | .ace-merbivore .ace_constant.ace_numeric {\
72 | color: #58C554\
73 | }\
74 | .ace-merbivore .ace_invalid {\
75 | color: #FFFFFF;\
76 | background-color: #990000\
77 | }\
78 | .ace-merbivore .ace_fold {\
79 | background-color: #FC6F09;\
80 | border-color: #E6E1DC\
81 | }\
82 | .ace-merbivore .ace_comment {\
83 | font-style: italic;\
84 | color: #AD2EA4\
85 | }\
86 | .ace-merbivore .ace_entity.ace_other.ace_attribute-name {\
87 | color: #FFFF89\
88 | }\
89 | .ace-merbivore .ace_indent-guide {\
90 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQFxf3ZXB1df0PAAdsAmERTkEHAAAAAElFTkSuQmCC) right repeat-y\
91 | }";
92 |
93 | var dom = require("../lib/dom");
94 | dom.importCssString(exports.cssText, exports.cssClass);
95 | });
96 |
--------------------------------------------------------------------------------
/public/src/theme-vibrant_ink.js:
--------------------------------------------------------------------------------
1 | define("ace/theme/vibrant_ink",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
2 |
3 | exports.isDark = true;
4 | exports.cssClass = "ace-vibrant-ink";
5 | exports.cssText = ".ace-vibrant-ink .ace_gutter {\
6 | background: #1a1a1a;\
7 | color: #BEBEBE\
8 | }\
9 | .ace-vibrant-ink .ace_print-margin {\
10 | width: 1px;\
11 | background: #1a1a1a\
12 | }\
13 | .ace-vibrant-ink {\
14 | background-color: #0F0F0F;\
15 | color: #FFFFFF\
16 | }\
17 | .ace-vibrant-ink .ace_cursor {\
18 | color: #FFFFFF\
19 | }\
20 | .ace-vibrant-ink .ace_marker-layer .ace_selection {\
21 | background: #6699CC\
22 | }\
23 | .ace-vibrant-ink.ace_multiselect .ace_selection.ace_start {\
24 | box-shadow: 0 0 3px 0px #0F0F0F;\
25 | }\
26 | .ace-vibrant-ink .ace_marker-layer .ace_step {\
27 | background: rgb(102, 82, 0)\
28 | }\
29 | .ace-vibrant-ink .ace_marker-layer .ace_bracket {\
30 | margin: -1px 0 0 -1px;\
31 | border: 1px solid #404040\
32 | }\
33 | .ace-vibrant-ink .ace_marker-layer .ace_active-line {\
34 | background: #333333\
35 | }\
36 | .ace-vibrant-ink .ace_gutter-active-line {\
37 | background-color: #333333\
38 | }\
39 | .ace-vibrant-ink .ace_marker-layer .ace_selected-word {\
40 | border: 1px solid #6699CC\
41 | }\
42 | .ace-vibrant-ink .ace_invisible {\
43 | color: #404040\
44 | }\
45 | .ace-vibrant-ink .ace_keyword,\
46 | .ace-vibrant-ink .ace_meta {\
47 | color: #FF6600\
48 | }\
49 | .ace-vibrant-ink .ace_constant,\
50 | .ace-vibrant-ink .ace_constant.ace_character,\
51 | .ace-vibrant-ink .ace_constant.ace_character.ace_escape,\
52 | .ace-vibrant-ink .ace_constant.ace_other {\
53 | color: #339999\
54 | }\
55 | .ace-vibrant-ink .ace_constant.ace_numeric {\
56 | color: #99CC99\
57 | }\
58 | .ace-vibrant-ink .ace_invalid,\
59 | .ace-vibrant-ink .ace_invalid.ace_deprecated {\
60 | color: #CCFF33;\
61 | background-color: #000000\
62 | }\
63 | .ace-vibrant-ink .ace_fold {\
64 | background-color: #FFCC00;\
65 | border-color: #FFFFFF\
66 | }\
67 | .ace-vibrant-ink .ace_entity.ace_name.ace_function,\
68 | .ace-vibrant-ink .ace_support.ace_function,\
69 | .ace-vibrant-ink .ace_variable {\
70 | color: #FFCC00\
71 | }\
72 | .ace-vibrant-ink .ace_variable.ace_parameter {\
73 | font-style: italic\
74 | }\
75 | .ace-vibrant-ink .ace_string {\
76 | color: #66FF00\
77 | }\
78 | .ace-vibrant-ink .ace_string.ace_regexp {\
79 | color: #44B4CC\
80 | }\
81 | .ace-vibrant-ink .ace_comment {\
82 | color: #9933CC\
83 | }\
84 | .ace-vibrant-ink .ace_entity.ace_other.ace_attribute-name {\
85 | font-style: italic;\
86 | color: #99CC99\
87 | }\
88 | .ace-vibrant-ink .ace_indent-guide {\
89 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYNDTc/oPAALPAZ7hxlbYAAAAAElFTkSuQmCC) right repeat-y\
90 | }";
91 |
92 | var dom = require("../lib/dom");
93 | dom.importCssString(exports.cssText, exports.cssClass);
94 | });
95 |
--------------------------------------------------------------------------------
/public/src/theme-xcode.js:
--------------------------------------------------------------------------------
1 | define("ace/theme/xcode",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
2 |
3 | exports.isDark = false;
4 | exports.cssClass = "ace-xcode";
5 | exports.cssText = "\
6 | .ace-xcode .ace_gutter {\
7 | background: #e8e8e8;\
8 | color: #333\
9 | }\
10 | .ace-xcode .ace_print-margin {\
11 | width: 1px;\
12 | background: #e8e8e8\
13 | }\
14 | .ace-xcode {\
15 | background-color: #FFFFFF;\
16 | color: #000000\
17 | }\
18 | .ace-xcode .ace_cursor {\
19 | color: #000000\
20 | }\
21 | .ace-xcode .ace_marker-layer .ace_selection {\
22 | background: #B5D5FF\
23 | }\
24 | .ace-xcode.ace_multiselect .ace_selection.ace_start {\
25 | box-shadow: 0 0 3px 0px #FFFFFF;\
26 | }\
27 | .ace-xcode .ace_marker-layer .ace_step {\
28 | background: rgb(198, 219, 174)\
29 | }\
30 | .ace-xcode .ace_marker-layer .ace_bracket {\
31 | margin: -1px 0 0 -1px;\
32 | border: 1px solid #BFBFBF\
33 | }\
34 | .ace-xcode .ace_marker-layer .ace_active-line {\
35 | background: rgba(0, 0, 0, 0.071)\
36 | }\
37 | .ace-xcode .ace_gutter-active-line {\
38 | background-color: rgba(0, 0, 0, 0.071)\
39 | }\
40 | .ace-xcode .ace_marker-layer .ace_selected-word {\
41 | border: 1px solid #B5D5FF\
42 | }\
43 | .ace-xcode .ace_constant.ace_language,\
44 | .ace-xcode .ace_keyword,\
45 | .ace-xcode .ace_meta,\
46 | .ace-xcode .ace_variable.ace_language {\
47 | color: #C800A4\
48 | }\
49 | .ace-xcode .ace_invisible {\
50 | color: #BFBFBF\
51 | }\
52 | .ace-xcode .ace_constant.ace_character,\
53 | .ace-xcode .ace_constant.ace_other {\
54 | color: #275A5E\
55 | }\
56 | .ace-xcode .ace_constant.ace_numeric {\
57 | color: #3A00DC\
58 | }\
59 | .ace-xcode .ace_entity.ace_other.ace_attribute-name,\
60 | .ace-xcode .ace_support.ace_constant,\
61 | .ace-xcode .ace_support.ace_function {\
62 | color: #450084\
63 | }\
64 | .ace-xcode .ace_fold {\
65 | background-color: #C800A4;\
66 | border-color: #000000\
67 | }\
68 | .ace-xcode .ace_entity.ace_name.ace_tag,\
69 | .ace-xcode .ace_support.ace_class,\
70 | .ace-xcode .ace_support.ace_type {\
71 | color: #790EAD\
72 | }\
73 | .ace-xcode .ace_storage {\
74 | color: #C900A4\
75 | }\
76 | .ace-xcode .ace_string {\
77 | color: #DF0002\
78 | }\
79 | .ace-xcode .ace_comment {\
80 | color: #008E00\
81 | }\
82 | .ace-xcode .ace_indent-guide {\
83 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y\
84 | }";
85 |
86 | var dom = require("../lib/dom");
87 | dom.importCssString(exports.cssText, exports.cssClass);
88 | });
89 |
--------------------------------------------------------------------------------
/routes/index.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var router = express.Router();
3 | var hackerRank = require('machinepack-hackerrank');
4 |
5 | /* GET home page. */
6 | router.get('/', function(req, res, next) {
7 | res.render('index', {language:"1",langCode:"c_cpp"});
8 | });
9 |
10 | router.post('/compile', function(req, res, next) {
11 |
12 | hackerRank.submit({
13 | apiKey: 'PLACE YOUR API KEY HERE',
14 | source: req.body.source,
15 | language: parseInt(req.body.language),
16 | testcases: JSON.parse(req.body.input),
17 | wait: true,
18 | callbackUrl: '',
19 | format: 'json',
20 | }).exec({
21 | // An unexpected error occurred.
22 | error: function (err) {
23 | throw err;
24 | },
25 | // OK.
26 | success: function (response) {
27 | console.log(response)
28 | res.json(response);
29 | },
30 | });
31 |
32 | });
33 |
34 | router.get('/changelang/:langCode/:language', function(req, res, next) {
35 | var language = req.params.language.trim();
36 | var langCode = req.params.langCode.trim();
37 |
38 | res.render('index',{language:language,langCode:langCode});
39 |
40 | });
41 |
42 | module.exports = router;
43 |
--------------------------------------------------------------------------------
/views/error.jade:
--------------------------------------------------------------------------------
1 | extends layout
2 |
3 | block content
4 | h1= message
5 | h2= error.status
6 | pre #{error.stack}
7 |
--------------------------------------------------------------------------------
/views/index.jade:
--------------------------------------------------------------------------------
1 | doctype html(lang='en')
2 | head
3 | title Question Editor
4 | link(href='/stylesheets/bootstrap.min.css', rel='stylesheet')
5 | meta(name="viewport" content="width=device-width, initial-scale=1.0")
6 | link(href='/stylesheets/style.css' rel='stylesheet')
7 | link(rel='stylesheet', href='/fonts/font-awesome/css/font-awesome.min.css')
8 | style(type='text/css', media='screen').
9 | #editor {
10 | height:100%;
11 | }
12 | body(style="overflow:hidden")
13 | #editor.col-md-8
14 |
15 | #result.col-md-4
16 | .form-group
17 | label
18 | select.form-control.languageSelector#languageSelector(onchange="changeLanguage()" name="lang" required)
19 | option(value="1" selected=(language=="1") ) C
20 | option(value="2" selected=(language=="2") ) C++
21 | option(value="9" selected=(language=="9")) C#
22 | option(value="3" selected=(language=="3")) Java
23 | option(value="20" selected=(language=="20")) Javascript
24 | option(value="5" selected=(language=="5") ) Python
25 | #compile
26 | #compileResponse
27 | textarea.customInput(placeholder="Provide your input here each seperated by a new line.")
28 | #compileButton
29 | button.compileButton() COMPILE & RUN
30 |
31 | #run
32 | #runResponse
33 | #submitButton
34 | button.submitButton(disabled) YOUR OUTPUT
35 | #submit
36 |
37 |
38 |
39 | script(src='/src-noconflict/ace.js', type='text/javascript', charset='utf-8')
40 | script.
41 | var editor = ace.edit("editor");
42 | editor.setTheme("ace/theme/monokai");
43 | editor.setFontSize(16);
44 | editor.getSession().setMode("ace/mode/#{langCode}");
45 | script(src='https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js')
46 | |
47 | script(src='/javascripts/bootstrap.min.js')
48 | script(src="/javascripts/jquery.js")
49 | script(src="/javascripts/compile.js")
--------------------------------------------------------------------------------
/views/layout.jade:
--------------------------------------------------------------------------------
1 | doctype html
2 | html
3 | head
4 | title= title
5 | link(rel='stylesheet', href='/stylesheets/style.css')
6 | body
7 | block content
8 |
--------------------------------------------------------------------------------