├── .gitignore ├── CHANGELOG.md ├── LICENSE.txt ├── README.md ├── bin ├── chocomake └── chocomake.bat ├── client └── litejq.coffee ├── general ├── chocodash.coffee ├── chocodash.spec.coffee ├── chocodown.js ├── chocokup.coffee ├── coffeekup.coffee ├── debugate.coffee ├── debugate.spec.coffee ├── doccolate.coffee ├── docs │ ├── doc-chocodown.md │ ├── doc-chocokup.md │ ├── doc-chocolate.md │ ├── doc-coffeescript.md │ ├── doc-doccolate.md │ ├── doc-litejq.md │ ├── doc-newnotes.md │ ├── doc-node.md │ ├── doc-specolate.md │ └── doc-tour.md ├── highlight.js ├── htmlkup.coffee ├── js2coffee.js ├── latedb.coffee ├── latedb.spec.coffee ├── litelorem.coffee ├── litelorem.spec.coffee ├── locco │ ├── action.coffee │ ├── actor.coffee │ ├── data.coffee │ ├── data.spec.coffee │ ├── document.coffee │ ├── document.spec.coffee │ ├── intention.coffee │ ├── interface.coffee │ ├── interface.spec.coffee │ ├── prototype.coffee │ ├── reserve.coffee │ ├── workflow.coffee │ └── workflow.spec.coffee ├── newnotes.coffee ├── newnotes.spec.coffee ├── specolate.coffee └── specolate.spec.coffee ├── package.json ├── server ├── config.coffee ├── document.coffee ├── document.spec.coffee ├── file.coffee ├── file.spec.coffee ├── git.coffee ├── intention.coffee ├── interface.coffee ├── monitor.coffee ├── monitor.js ├── querystring.coffee ├── querystring.spec.coffee ├── reserve.coffee ├── reserve.spec.coffee ├── server.coffee ├── server.js ├── studio.coffee ├── workflow.coffee └── workflow.spec.coffee └── static ├── lib ├── chocodash.js ├── chocodash.spec.js ├── chocodown.js ├── chocokup.js ├── coffee-script.js ├── coffeekup.js ├── debugate.js ├── debugate.spec.js ├── doccolate.js ├── highlight.js ├── html5shiv.js ├── htmlkup.js ├── js2coffee.js ├── latedb.js ├── latedb.spec.js ├── litejq.js ├── litelorem.js ├── litelorem.spec.js ├── locco.js ├── locco │ ├── action.js │ ├── actor.js │ ├── data.js │ ├── data.spec.js │ ├── document.js │ ├── document.spec.js │ ├── intention.js │ ├── interface.js │ ├── interface.spec.js │ ├── prototype.js │ ├── reserve.js │ ├── workflow.js │ └── workflow.spec.js ├── newnotes.js ├── newnotes.spec.js ├── newnotes_data.js ├── specolate.js └── specolate.spec.js └── vendor ├── ace ├── ace.js ├── ext-beautify.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-options.js ├── ext-rtl.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-apex.js ├── mode-applescript.js ├── mode-asciidoc.js ├── mode-asl.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-csound_document.js ├── mode-csound_orchestra.js ├── mode-csound_score.js ├── mode-csp.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-edifact.js ├── mode-eiffel.js ├── mode-ejs.js ├── mode-elixir.js ├── mode-elm.js ├── mode-erlang.js ├── mode-forth.js ├── mode-fortran.js ├── mode-fsharp.js ├── mode-fsl.js ├── mode-ftl.js ├── mode-gcode.js ├── mode-gherkin.js ├── mode-gitignore.js ├── mode-glsl.js ├── mode-gobstones.js ├── mode-golang.js ├── mode-graphqlschema.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-jssm.js ├── mode-jsx.js ├── mode-julia.js ├── mode-kotlin.js ├── mode-latex.js ├── mode-less.js ├── mode-liquid.js ├── mode-lisp.js ├── mode-livescript.js ├── mode-logiql.js ├── mode-logtalk.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-mixal.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-perl6.js ├── mode-pgsql.js ├── mode-php.js ├── mode-php_laravel_blade.js ├── mode-pig.js ├── mode-plain_text.js ├── mode-powershell.js ├── mode-praat.js ├── mode-prolog.js ├── mode-properties.js ├── mode-protobuf.js ├── mode-puppet.js ├── mode-python.js ├── mode-r.js ├── mode-razor.js ├── mode-rdoc.js ├── mode-red.js ├── mode-redshift.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-slim.js ├── mode-smarty.js ├── mode-snippets.js ├── mode-soy_template.js ├── mode-space.js ├── mode-sparql.js ├── mode-sql.js ├── mode-sqlserver.js ├── mode-stylus.js ├── mode-svg.js ├── mode-swift.js ├── mode-tcl.js ├── mode-terraform.js ├── mode-tex.js ├── mode-text.js ├── mode-textile.js ├── mode-toml.js ├── mode-tsx.js ├── mode-turtle.js ├── mode-twig.js ├── mode-typescript.js ├── mode-vala.js ├── mode-vbscript.js ├── mode-velocity.js ├── mode-verilog.js ├── mode-vhdl.js ├── mode-visualforce.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 │ ├── apex.js │ ├── applescript.js │ ├── asciidoc.js │ ├── asl.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 │ ├── csound_document.js │ ├── csound_orchestra.js │ ├── csound_score.js │ ├── csp.js │ ├── css.js │ ├── curly.js │ ├── d.js │ ├── dart.js │ ├── diff.js │ ├── django.js │ ├── dockerfile.js │ ├── dot.js │ ├── drools.js │ ├── edifact.js │ ├── eiffel.js │ ├── ejs.js │ ├── elixir.js │ ├── elm.js │ ├── erlang.js │ ├── forth.js │ ├── fortran.js │ ├── fsharp.js │ ├── fsl.js │ ├── ftl.js │ ├── gcode.js │ ├── gherkin.js │ ├── gitignore.js │ ├── glsl.js │ ├── gobstones.js │ ├── golang.js │ ├── graphqlschema.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 │ ├── jssm.js │ ├── jsx.js │ ├── julia.js │ ├── kotlin.js │ ├── latex.js │ ├── less.js │ ├── liquid.js │ ├── lisp.js │ ├── livescript.js │ ├── logiql.js │ ├── logtalk.js │ ├── lsl.js │ ├── lua.js │ ├── luapage.js │ ├── lucene.js │ ├── makefile.js │ ├── markdown.js │ ├── mask.js │ ├── matlab.js │ ├── maze.js │ ├── mel.js │ ├── mixal.js │ ├── mushcode.js │ ├── mysql.js │ ├── nix.js │ ├── nsis.js │ ├── objectivec.js │ ├── ocaml.js │ ├── pascal.js │ ├── perl.js │ ├── perl6.js │ ├── pgsql.js │ ├── php.js │ ├── php_laravel_blade.js │ ├── pig.js │ ├── plain_text.js │ ├── powershell.js │ ├── praat.js │ ├── prolog.js │ ├── properties.js │ ├── protobuf.js │ ├── puppet.js │ ├── python.js │ ├── r.js │ ├── razor.js │ ├── rdoc.js │ ├── red.js │ ├── redshift.js │ ├── rhtml.js │ ├── rst.js │ ├── ruby.js │ ├── rust.js │ ├── sass.js │ ├── scad.js │ ├── scala.js │ ├── scheme.js │ ├── scss.js │ ├── sh.js │ ├── sjs.js │ ├── slim.js │ ├── smarty.js │ ├── snippets.js │ ├── soy_template.js │ ├── space.js │ ├── sparql.js │ ├── sql.js │ ├── sqlserver.js │ ├── stylus.js │ ├── svg.js │ ├── swift.js │ ├── tcl.js │ ├── terraform.js │ ├── tex.js │ ├── text.js │ ├── textile.js │ ├── toml.js │ ├── tsx.js │ ├── turtle.js │ ├── twig.js │ ├── typescript.js │ ├── vala.js │ ├── vbscript.js │ ├── velocity.js │ ├── verilog.js │ ├── vhdl.js │ ├── visualforce.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-coffee.js ├── theme-coffee_white.js ├── theme-crimson_editor.js ├── theme-dawn.js ├── theme-dracula.js ├── theme-dreamweaver.js ├── theme-eclipse.js ├── theme-github.js ├── theme-gob.js ├── theme-gruvbox.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 ├── codemirror ├── AUTHORS ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── addon │ ├── comment │ │ ├── comment.js │ │ └── continuecomment.js │ ├── dialog │ │ ├── dialog.css │ │ └── dialog.js │ ├── display │ │ ├── fullscreen.css │ │ ├── fullscreen.js │ │ ├── panel.js │ │ ├── placeholder.js │ │ └── rulers.js │ ├── edit │ │ ├── closebrackets.js │ │ ├── closetag.js │ │ ├── continuelist.js │ │ ├── matchbrackets.js │ │ ├── matchtags.js │ │ └── trailingspace.js │ ├── fold │ │ ├── brace-fold.js │ │ ├── comment-fold.js │ │ ├── foldcode.js │ │ ├── foldgutter.css │ │ ├── foldgutter.js │ │ ├── indent-fold.js │ │ ├── markdown-fold.js │ │ └── xml-fold.js │ ├── hint │ │ ├── anyword-hint.js │ │ ├── css-hint.js │ │ ├── html-hint.js │ │ ├── javascript-hint.js │ │ ├── show-hint.css │ │ ├── show-hint.js │ │ ├── sql-hint.js │ │ └── xml-hint.js │ ├── lint │ │ ├── coffeescript-lint.js │ │ ├── css-lint.js │ │ ├── javascript-lint.js │ │ ├── json-lint.js │ │ ├── lint.css │ │ ├── lint.js │ │ └── yaml-lint.js │ ├── merge │ │ ├── merge.css │ │ └── merge.js │ ├── mode │ │ ├── loadmode.js │ │ ├── multiplex.js │ │ ├── multiplex_test.js │ │ ├── overlay.js │ │ └── simple.js │ ├── runmode │ │ ├── colorize.js │ │ ├── runmode-standalone.js │ │ ├── runmode.js │ │ └── runmode.node.js │ ├── scroll │ │ ├── annotatescrollbar.js │ │ ├── scrollpastend.js │ │ ├── simplescrollbars.css │ │ └── simplescrollbars.js │ ├── search │ │ ├── match-highlighter.js │ │ ├── matchesonscrollbar.css │ │ ├── matchesonscrollbar.js │ │ ├── search.js │ │ └── searchcursor.js │ ├── selection │ │ ├── active-line.js │ │ ├── mark-selection.js │ │ └── selection-pointer.js │ ├── tern │ │ ├── tern.css │ │ ├── tern.js │ │ └── worker.js │ └── wrap │ │ └── hardwrap.js ├── bin │ ├── authors.sh │ ├── compress │ ├── lint │ ├── release │ └── source-highlight ├── bower.json ├── demo │ ├── activeline.html │ ├── anywordhint.html │ ├── bidi.html │ ├── btree.html │ ├── buffers.html │ ├── changemode.html │ ├── closebrackets.html │ ├── closetag.html │ ├── complete.html │ ├── emacs.html │ ├── folding.html │ ├── fullscreen.html │ ├── hardwrap.html │ ├── html5complete.html │ ├── indentwrap.html │ ├── lint.html │ ├── loadmode.html │ ├── marker.html │ ├── markselection.html │ ├── matchhighlighter.html │ ├── matchtags.html │ ├── merge.html │ ├── multiplex.html │ ├── mustache.html │ ├── panel.html │ ├── placeholder.html │ ├── preview.html │ ├── requirejs.html │ ├── resize.html │ ├── rulers.html │ ├── runmode.html │ ├── search.html │ ├── simplemode.html │ ├── simplescrollbars.html │ ├── spanaffectswrapping_shim.html │ ├── sublime.html │ ├── tern.html │ ├── theme.html │ ├── trailingspace.html │ ├── variableheight.html │ ├── vim.html │ ├── visibletabs.html │ ├── widget.html │ └── xmlcomplete.html ├── doc │ ├── activebookmark.js │ ├── compress.html │ ├── docs.css │ ├── internals.html │ ├── logo.png │ ├── logo.svg │ ├── manual.html │ ├── realworld.html │ ├── releases.html │ ├── reporting.html │ ├── upgrade_v2.2.html │ ├── upgrade_v3.html │ ├── upgrade_v4.html │ └── yinyang.png ├── index.html ├── keymap │ ├── emacs.js │ ├── sublime.js │ └── vim.js ├── lib │ ├── codemirror.css │ └── codemirror.js ├── mode │ ├── apl │ │ ├── apl.js │ │ └── index.html │ ├── asciiarmor │ │ ├── asciiarmor.js │ │ └── index.html │ ├── asn.1 │ │ ├── asn.1.js │ │ └── index.html │ ├── asterisk │ │ ├── asterisk.js │ │ └── index.html │ ├── clike │ │ ├── clike.js │ │ ├── index.html │ │ ├── scala.html │ │ └── test.js │ ├── clojure │ │ ├── clojure.js │ │ └── index.html │ ├── cmake │ │ ├── cmake.js │ │ └── index.html │ ├── cobol │ │ ├── cobol.js │ │ └── index.html │ ├── coffeescript │ │ ├── coffeescript.js │ │ └── index.html │ ├── commonlisp │ │ ├── commonlisp.js │ │ └── index.html │ ├── css │ │ ├── css.js │ │ ├── index.html │ │ ├── less.html │ │ ├── less_test.js │ │ ├── scss.html │ │ ├── scss_test.js │ │ └── test.js │ ├── cypher │ │ ├── cypher.js │ │ └── index.html │ ├── d │ │ ├── d.js │ │ └── index.html │ ├── dart │ │ ├── dart.js │ │ └── index.html │ ├── diff │ │ ├── diff.js │ │ └── index.html │ ├── django │ │ ├── django.js │ │ └── index.html │ ├── dockerfile │ │ ├── dockerfile.js │ │ └── index.html │ ├── dtd │ │ ├── dtd.js │ │ └── index.html │ ├── dylan │ │ ├── dylan.js │ │ └── index.html │ ├── ebnf │ │ ├── ebnf.js │ │ └── index.html │ ├── ecl │ │ ├── ecl.js │ │ └── index.html │ ├── eiffel │ │ ├── eiffel.js │ │ └── index.html │ ├── erlang │ │ ├── erlang.js │ │ └── index.html │ ├── forth │ │ ├── forth.js │ │ └── index.html │ ├── fortran │ │ ├── fortran.js │ │ └── index.html │ ├── gas │ │ ├── gas.js │ │ └── index.html │ ├── gfm │ │ ├── gfm.js │ │ ├── index.html │ │ └── test.js │ ├── gherkin │ │ ├── gherkin.js │ │ └── index.html │ ├── go │ │ ├── go.js │ │ └── index.html │ ├── groovy │ │ ├── groovy.js │ │ └── index.html │ ├── haml │ │ ├── haml.js │ │ ├── index.html │ │ └── test.js │ ├── handlebars │ │ ├── handlebars.js │ │ └── index.html │ ├── haskell │ │ ├── haskell.js │ │ └── index.html │ ├── haxe │ │ ├── haxe.js │ │ └── index.html │ ├── htmlembedded │ │ ├── htmlembedded.js │ │ └── index.html │ ├── htmlmixed │ │ ├── htmlmixed.js │ │ └── index.html │ ├── http │ │ ├── http.js │ │ └── index.html │ ├── idl │ │ ├── idl.js │ │ └── index.html │ ├── index.html │ ├── jade │ │ ├── index.html │ │ └── jade.js │ ├── javascript │ │ ├── index.html │ │ ├── javascript.js │ │ ├── json-ld.html │ │ ├── test.js │ │ └── typescript.html │ ├── jinja2 │ │ ├── index.html │ │ └── jinja2.js │ ├── julia │ │ ├── index.html │ │ └── julia.js │ ├── kotlin │ │ ├── index.html │ │ └── kotlin.js │ ├── livescript │ │ ├── index.html │ │ └── livescript.js │ ├── lua │ │ ├── index.html │ │ └── lua.js │ ├── markdown │ │ ├── index.html │ │ ├── markdown.js │ │ └── test.js │ ├── mathematica │ │ ├── index.html │ │ └── mathematica.js │ ├── meta.js │ ├── mirc │ │ ├── index.html │ │ └── mirc.js │ ├── mllike │ │ ├── index.html │ │ └── mllike.js │ ├── modelica │ │ ├── index.html │ │ └── modelica.js │ ├── mumps │ │ ├── index.html │ │ └── mumps.js │ ├── nginx │ │ ├── index.html │ │ └── nginx.js │ ├── ntriples │ │ ├── index.html │ │ └── ntriples.js │ ├── octave │ │ ├── index.html │ │ └── octave.js │ ├── pascal │ │ ├── index.html │ │ └── pascal.js │ ├── pegjs │ │ ├── index.html │ │ └── pegjs.js │ ├── perl │ │ ├── index.html │ │ └── perl.js │ ├── php │ │ ├── index.html │ │ ├── php.js │ │ └── test.js │ ├── pig │ │ ├── index.html │ │ └── pig.js │ ├── properties │ │ ├── index.html │ │ └── properties.js │ ├── puppet │ │ ├── index.html │ │ └── puppet.js │ ├── python │ │ ├── index.html │ │ └── python.js │ ├── q │ │ ├── index.html │ │ └── q.js │ ├── r │ │ ├── index.html │ │ └── r.js │ ├── rpm │ │ ├── changes │ │ │ └── index.html │ │ ├── index.html │ │ └── rpm.js │ ├── rst │ │ ├── index.html │ │ └── rst.js │ ├── ruby │ │ ├── index.html │ │ ├── ruby.js │ │ └── test.js │ ├── rust │ │ ├── index.html │ │ └── rust.js │ ├── sass │ │ ├── index.html │ │ └── sass.js │ ├── scheme │ │ ├── index.html │ │ └── scheme.js │ ├── shell │ │ ├── index.html │ │ ├── shell.js │ │ └── test.js │ ├── sieve │ │ ├── index.html │ │ └── sieve.js │ ├── slim │ │ ├── index.html │ │ ├── slim.js │ │ └── test.js │ ├── smalltalk │ │ ├── index.html │ │ └── smalltalk.js │ ├── smarty │ │ ├── index.html │ │ └── smarty.js │ ├── solr │ │ ├── index.html │ │ └── solr.js │ ├── soy │ │ ├── index.html │ │ └── soy.js │ ├── sparql │ │ ├── index.html │ │ └── sparql.js │ ├── spreadsheet │ │ ├── index.html │ │ └── spreadsheet.js │ ├── sql │ │ ├── index.html │ │ └── sql.js │ ├── stex │ │ ├── index.html │ │ ├── stex.js │ │ └── test.js │ ├── stylus │ │ ├── index.html │ │ └── stylus.js │ ├── tcl │ │ ├── index.html │ │ └── tcl.js │ ├── textile │ │ ├── index.html │ │ ├── test.js │ │ └── textile.js │ ├── tiddlywiki │ │ ├── index.html │ │ ├── tiddlywiki.css │ │ └── tiddlywiki.js │ ├── tiki │ │ ├── index.html │ │ ├── tiki.css │ │ └── tiki.js │ ├── toml │ │ ├── index.html │ │ └── toml.js │ ├── tornado │ │ ├── index.html │ │ └── tornado.js │ ├── troff │ │ ├── index.html │ │ └── troff.js │ ├── ttcn-cfg │ │ ├── index.html │ │ └── ttcn-cfg.js │ ├── ttcn │ │ ├── index.html │ │ └── ttcn.js │ ├── turtle │ │ ├── index.html │ │ └── turtle.js │ ├── vb │ │ ├── index.html │ │ └── vb.js │ ├── vbscript │ │ ├── index.html │ │ └── vbscript.js │ ├── velocity │ │ ├── index.html │ │ └── velocity.js │ ├── verilog │ │ ├── index.html │ │ ├── test.js │ │ └── verilog.js │ ├── xml │ │ ├── index.html │ │ ├── test.js │ │ └── xml.js │ ├── xquery │ │ ├── index.html │ │ ├── test.js │ │ └── xquery.js │ ├── yaml │ │ ├── index.html │ │ └── yaml.js │ └── z80 │ │ ├── index.html │ │ └── z80.js ├── package.json ├── test │ ├── comment_test.js │ ├── doc_test.js │ ├── driver.js │ ├── emacs_test.js │ ├── index.html │ ├── lint.js │ ├── mode_test.css │ ├── mode_test.js │ ├── multi_test.js │ ├── phantom_driver.js │ ├── run.js │ ├── scroll_test.js │ ├── search_test.js │ ├── sql-hint-test.js │ ├── sublime_test.js │ ├── test.js │ └── vim_test.js └── theme │ ├── 3024-day.css │ ├── 3024-night.css │ ├── ambiance-mobile.css │ ├── ambiance.css │ ├── base16-dark.css │ ├── base16-light.css │ ├── blackboard.css │ ├── cobalt.css │ ├── colorforth.css │ ├── eclipse.css │ ├── elegant.css │ ├── erlang-dark.css │ ├── lesser-dark.css │ ├── liquibyte.css │ ├── mbo.css │ ├── mdn-like.css │ ├── midnight.css │ ├── monokai.css │ ├── neat.css │ ├── neo.css │ ├── night.css │ ├── paraiso-dark.css │ ├── paraiso-light.css │ ├── pastel-on-dark.css │ ├── rubyblue.css │ ├── solarized.css │ ├── the-matrix.css │ ├── tomorrow-night-bright.css │ ├── tomorrow-night-eighties.css │ ├── ttcn.css │ ├── twilight.css │ ├── vibrant-ink.css │ ├── xq-dark.css │ ├── xq-light.css │ └── zenburn.css ├── datejs ├── date-af-ZA.js ├── date-ar-AE.js ├── date-ar-BH.js ├── date-ar-DZ.js ├── date-ar-EG.js ├── date-ar-IQ.js ├── date-ar-JO.js ├── date-ar-KW.js ├── date-ar-LB.js ├── date-ar-LY.js ├── date-ar-MA.js ├── date-ar-OM.js ├── date-ar-QA.js ├── date-ar-SA.js ├── date-ar-SY.js ├── date-ar-TN.js ├── date-ar-YE.js ├── date-az-Cyrl-AZ.js ├── date-az-Latn-AZ.js ├── date-be-BY.js ├── date-bg-BG.js ├── date-bs-Latn-BA.js ├── date-ca-ES.js ├── date-cs-CZ.js ├── date-cy-GB.js ├── date-da-DK.js ├── date-de-AT.js ├── date-de-CH.js ├── date-de-DE.js ├── date-de-LI.js ├── date-de-LU.js ├── date-dv-MV.js ├── date-el-GR.js ├── date-en-029.js ├── date-en-AU.js ├── date-en-BZ.js ├── date-en-CA.js ├── date-en-GB.js ├── date-en-IE.js ├── date-en-JM.js ├── date-en-NZ.js ├── date-en-PH.js ├── date-en-TT.js ├── date-en-US.js ├── date-en-ZA.js ├── date-en-ZW.js ├── date-es-AR.js ├── date-es-BO.js ├── date-es-CL.js ├── date-es-CO.js ├── date-es-CR.js ├── date-es-DO.js ├── date-es-EC.js ├── date-es-ES.js ├── date-es-GT.js ├── date-es-HN.js ├── date-es-MX.js ├── date-es-NI.js ├── date-es-PA.js ├── date-es-PE.js ├── date-es-PR.js ├── date-es-PY.js ├── date-es-SV.js ├── date-es-UY.js ├── date-es-VE.js ├── date-et-EE.js ├── date-eu-ES.js ├── date-fa-IR.js ├── date-fi-FI.js ├── date-fo-FO.js ├── date-fr-BE.js ├── date-fr-CA.js ├── date-fr-CH.js ├── date-fr-FR.js ├── date-fr-LU.js ├── date-fr-MC.js ├── date-gl-ES.js ├── date-gu-IN.js ├── date-he-IL.js ├── date-hi-IN.js ├── date-hr-BA.js ├── date-hr-HR.js ├── date-hu-HU.js ├── date-hy-AM.js ├── date-id-ID.js ├── date-is-IS.js ├── date-it-CH.js ├── date-it-IT.js ├── date-ja-JP.js ├── date-ka-GE.js ├── date-kk-KZ.js ├── date-kn-IN.js ├── date-ko-KR.js ├── date-kok-IN.js ├── date-ky-KG.js ├── date-lt-LT.js ├── date-lv-LV.js ├── date-mi-NZ.js ├── date-mk-MK.js ├── date-mn-MN.js ├── date-mr-IN.js ├── date-ms-BN.js ├── date-ms-MY.js ├── date-mt-MT.js ├── date-nb-NO.js ├── date-nl-BE.js ├── date-nl-NL.js ├── date-nn-NO.js ├── date-ns-ZA.js ├── date-pa-IN.js ├── date-pl-PL.js ├── date-pt-BR.js ├── date-pt-PT.js ├── date-quz-BO.js ├── date-quz-EC.js ├── date-quz-PE.js ├── date-ro-RO.js ├── date-ru-RU.js ├── date-sa-IN.js ├── date-se-FI.js ├── date-se-NO.js ├── date-se-SE.js ├── date-sk-SK.js ├── date-sl-SI.js ├── date-sma-NO.js ├── date-sma-SE.js ├── date-smj-NO.js ├── date-smj-SE.js ├── date-smn-FI.js ├── date-sms-FI.js ├── date-sq-AL.js ├── date-sr-Cyrl-BA.js ├── date-sr-Cyrl-CS.js ├── date-sr-Latn-BA.js ├── date-sr-Latn-CS.js ├── date-sv-FI.js ├── date-sv-SE.js ├── date-sw-KE.js ├── date-syr-SY.js ├── date-ta-IN.js ├── date-te-IN.js ├── date-th-TH.js ├── date-tn-ZA.js ├── date-tr-TR.js ├── date-tt-RU.js ├── date-uk-UA.js ├── date-ur-PK.js ├── date-uz-Cyrl-UZ.js ├── date-uz-Latn-UZ.js ├── date-vi-VN.js ├── date-xh-ZA.js ├── date-zh-CN.js ├── date-zh-HK.js ├── date-zh-MO.js ├── date-zh-SG.js ├── date-zh-TW.js ├── date-zu-ZA.js └── date.js ├── jasmine ├── MIT.LICENSE ├── jasmine-html.js ├── jasmine.css └── jasmine.js ├── mootools ├── mootools-core-server.js ├── mootools-core-uncompressed.js └── mootools-core.js └── slides ├── css ├── common.css ├── default.css ├── moon.css ├── prettify.css ├── sand.css └── sea_wave.css ├── prettify.js └── utils.js /.gitignore: -------------------------------------------------------------------------------- 1 | .bash_history 2 | .greenlockrc 3 | package-lock.json 4 | .ssh/ 5 | node_modules/ 6 | -------------------------------------------------------------------------------- /bin/chocomake: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [ "$1" = "" ]; then 3 | echo "chocomake " 4 | else 5 | echo Creating new project $1... 6 | 7 | mkdir $1 8 | useradd $1 9 | usermod -d $PWD/$1 -s /bin/bash $1 10 | 11 | mkdir $1/client 12 | mkdir $1/general 13 | mkdir $1/server 14 | mkdir $1/data 15 | mkdir $1/static 16 | 17 | echo -e "exports.interface = () -> \n ''" > $1/default.coffee 18 | echo {\"by\": {\"id\":{}, \"root\":[], \"Priority\":{}, \"Scope\":{}, \"Action\":{}, \"Intention\":{}, \"Wish\":{}, \"Need\":{}, \"Share\":{}}} > $1/data/newnotes_data.json 19 | openssl genrsa -out $1/data/privatekey.pem 2048 20 | openssl req -new -key $1/data/privatekey.pem -out $1/data/certrequest.csr 21 | openssl x509 -req -in $1/data/certrequest.csr -signkey $1/data/privatekey.pem -out $1/data/certificate.pem 22 | echo 23 | 24 | key="" 25 | while [ "$key" = "" ]; do 26 | read -s -p "Enter a master key (password) for your project, followed by [Enter]:" key 27 | echo 28 | read -s -p "Enter it again, followed by [Enter]:" verif_key 29 | echo 30 | if [ "$key" != "$verif_key" ]; then 31 | echo "Your password and confirmation password do not match" 32 | echo "Try again" 33 | key="" 34 | fi 35 | echo 36 | done 37 | 38 | hashed_key=`echo -n $key | sha256sum | cut -c1-64` 39 | echo -e "{\n \"sofkey\":\"$hashed_key\",\n \"debug\":false,\n \"displayErrors\":true,\n \"debug_url\":\"http://localhost:8081/debug?ws=localhost:8081&port=5858\"\n}" > $1/data/app.config.json 40 | chown -R $1:$1 $1 41 | 42 | git init $1 43 | cd $1 44 | git add . 45 | git commit -m 'Initial commit' 46 | 47 | echo Done 48 | fi 49 | -------------------------------------------------------------------------------- /general/docs/doc-chocolate.md: -------------------------------------------------------------------------------- 1 | Chocolate.js 2 | ============ 3 | 4 | **Web Apps with a sweet taste** 5 | 6 | Chocolate is a simple webapp framework built on Node.js using Coffeescript. 7 | 8 | It includes: 9 | 10 | - an **online IDE** (with Coffeescript, Javascript, css and Markdown support). 11 | 12 | - an online and immediate **playground** for Coffeescript, Chocokup and Doccolate 13 | 14 | - a basic **source control** with Git 15 | 16 | - **Chocokup** : an Html markup language that helps build web user interfaces using 100% pure CoffeeScript (based on Coffeekup) 17 | 18 | - **Specolate** : a client and server side behavior/test driven development tool (based on Jasmine) 19 | 20 | - **Doccolate** : an online documentation editing tool (based on Docco) 21 | 22 | - **NewNotes** : a promising note taking tool 23 | 24 | Chocolate integrates: 25 | 26 | - [Node.js](http://nodejs.org) 27 | - [Coffeescript](http://coffeescript.org) 28 | - [Ace](http://ace.ajax.org) 29 | - [Mootools](http://mootools.net) 30 | - [Docco](http://jashkenas.github.com/docco/) 31 | - [Coffeekup](http://coffeekup.org) 32 | - [Jasmine](http://pivotal.github.com/jasmine) 33 | - [Highlight.js](http://softwaremaniacs.org/soft/highlight/en) 34 | - Showdown 35 | - [Git](http://git-scm.com) 36 | - [Impress](http://bartaz.github.com/impress.js/#/bored) 37 | 38 | Other resources: 39 | 40 | - Shortcuts -------------------------------------------------------------------------------- /general/docs/doc-coffeescript.md: -------------------------------------------------------------------------------- 1 | Coffeescript 2 | ============ 3 | CoffeeScript is a little language that compiles into JavaScript and is an attempt to expose the good parts of JavaScript in a simple way. 4 | 5 | It helps you write code in a more functional and less imperative way which will often be simpler for your brain. 6 | 7 | It can be used, both on client side (in the browser) or on server side (with nods.js). 8 | 9 | ### References 10 | 11 | [Coffeescript.org](http://coffeescript.org) 12 | 13 | [Coffeescript cheat sheet](http://autotelicum.github.com/Smooth-CoffeeScript/CoffeeScript%20Quick%20Ref.pdf) 14 | 15 | [Javascript to Coffeescript conversion](http://js2coffee.org) 16 | 17 | [The Little Book on Coffeescript](http://arcturo.github.com/library/coffeescript) 18 | 19 | [Coffeescript cookbook](http://coffeescriptcookbook.com) 20 | 21 | [Interactive Smooth Coffeescript book](http://autotelicum.github.com/Smooth-CoffeeScript/interactive/interactive-coffeescript.html) 22 | 23 | Coffeescript on Google groups 24 | 25 | ### Web tech references 26 | 27 | [RegExp Reference](http://www.w3schools.com/jsref/jsref_obj_regexp.asp) 28 | [CSS3 Reference](http://www.w3schools.com/cssref/css3_browsersupport.asp) 29 | 30 | ### Web tech cheat sheets 31 | 32 | [Javascript](http://www.cheatography.com/davechild/cheat-sheets/javascript/) 33 | [CSS2](http://www.cheatography.com/davechild/cheat-sheets/css2/) 34 | 35 | 36 | ### Image Resources 37 | 38 | [Icons](http://dryicons.com/free-icons/) 39 | 40 | 41 | ### Image Tools 42 | 43 | [Image to Base64](http://www.askapache.com/online-tools/base64-image-converter/) 44 | [Image and Eps to SVG](http://image.online-convert.com/convert-to-svg/) -------------------------------------------------------------------------------- /general/docs/doc-doccolate.md: -------------------------------------------------------------------------------- 1 | Doccolate 2 | ========= 3 | 4 | **Docco** is a literate-programming-style 5 | documentation generator. It produces HTML that displays your comments 6 | alongside your code. 7 | 8 | **Doccolate** is a modified version of Docco that can be used on demand both on client and server side. 9 | It supports Coffeescript, Javascript, CSS and Markdown file formats. 10 | 11 | You can use it by clicking on the **Doc** button while a source file is opened. 12 | Then you will immediately see if your source is well documented. Source modifications are reflected on the fly! 13 | 14 | Source comments are passed through 15 | [Markdown](http://daringfireball.net/projects/markdown/syntax), and code is 16 | passed through [Highlight](http://softwaremaniacs.org/wiki/doku.php/highlight.js:highlight.js) syntax highlighting. 17 | 18 | -------------------------------------------------------------------------------- /general/docs/doc-node.md: -------------------------------------------------------------------------------- 1 | Node.js 2 | ======= 3 | Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. 4 | 5 | Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, 6 | perfect for data-intensive real-time applications that run across distributed devices. 7 | 8 | 9 | ### References 10 | 11 | [Node.js](http://nodejs.org) 12 | 13 | [Node.js documentation](http://nodejs.org/api/) 14 | 15 | [Node modules registry](https://npmjs.org/) 16 | 17 | [Nodecloud - a Node.js resource directory](http://www.nodecloud.org/) -------------------------------------------------------------------------------- /general/docs/doc-specolate.md: -------------------------------------------------------------------------------- 1 | # Specolate 2 | 3 | Specolate is a client and server side behavior/test driven development tool. 4 | 5 | It uses Jasmine, a great behavior-driven development framework for testing JavaScript code. 6 | 7 |   8 | 9 | ## References 10 | 11 | [Jasmine web site](http://pivotal.github.com/jasmine) 12 | 13 | 14 | ## Usage 15 | 16 | Something interesting is that it runs your specs in the server **and** in the browser contexts. 17 | 18 | You only have add, at the begining of your spec file: 19 | 20 | ### Server only module 21 | 22 | unless window? 23 | describe ... 24 | 25 | ### Browser only module 26 | 27 | if window? 28 | describe ... 29 | 30 | ### General module 31 | 32 | Newnotes = require './newnotes' 33 | 34 | describe 'Newnotes', -> 35 | it 'creates, then lists a basic todo', -> 36 | newnotes = new Newnotes 37 | newnotes.add 'do first' 38 | newnotes.add 'do after' 39 | expect([todo.title for todo in newnotes.list()].join(',')).toEqual 'do first,do after' 40 | -------------------------------------------------------------------------------- /general/litelorem.spec.coffee: -------------------------------------------------------------------------------- 1 | lorem = require 'chocolate/general/litelorem' 2 | 3 | describe 'lorem', -> 4 | 5 | it 'creates a lorem word', -> 6 | expect(lorem.word()).not.toBeNull() 7 | it 'creates a lorem word with a length greater than 0', -> 8 | expect(lorem.word().length).toBeGreaterThan 0 9 | it 'creates six words', -> 10 | expect(lorem.words(6).split(' ').length).toBe 6 11 | -------------------------------------------------------------------------------- /general/locco/action.coffee: -------------------------------------------------------------------------------- 1 | _ = require '../../general/chocodash' 2 | 3 | Action = _.prototype 4 | constructor: -> 5 | @actions = [] 6 | 7 | do: (what, value, type) -> 8 | @actions.push {so: 'do', what, value} ; @ 9 | 10 | move: (what, where, how) -> 11 | @actions.push {so: 'move', what, where, how} ; @ 12 | 13 | eval: (what, value) -> 14 | @actions.push {so: 'eval', what, value} ; @ 15 | 16 | go: (what, where) -> 17 | where ?= Action.go.Where.Inside 18 | @actions.push {so: 'go', what, where} ; @ 19 | 20 | Action::do.What = New:0, Set:1, Delete:2 21 | Action::move.How = Replace:0, Append:1, Prepend:2, InsertBefore:3, InsertAfter:4 22 | Action::go.Where = Front:0, Inside:1, Through:2 23 | 24 | _module = window ? module 25 | if _module.exports? then _module.exports = Action else window.Locco ?= {} ; window.Locco.Action = Action 26 | -------------------------------------------------------------------------------- /general/locco/data.coffee: -------------------------------------------------------------------------------- 1 | _ = require '../../general/chocodash' 2 | 3 | Data = _.prototype 4 | constructor: (@uuid = _.Uuid(), @name, @data) -> 5 | 6 | _module = window ? module 7 | if _module.exports? then _module.exports = Data else window.Locco ?= {} ; window.Locco.Data = Data -------------------------------------------------------------------------------- /general/locco/data.spec.coffee: -------------------------------------------------------------------------------- 1 | Data = require '../../general/locco/data' 2 | 3 | describe 'Data', -> 4 | it 'should create a Data', -> 5 | expect(typeof (new Data).uuid).toBe('string'); 6 | -------------------------------------------------------------------------------- /general/locco/document.coffee: -------------------------------------------------------------------------------- 1 | _ = require '../../general/chocodash' 2 | Data = require '../../general/locco/data' 3 | 4 | Document = _.prototype 5 | constructor: (definition) -> 6 | helpers = 7 | set: (key, value) -> 8 | _.do.set @definition, key, value 9 | @value(@definition) 10 | 11 | for methodName in ["pop", "push", "reverse", "shift", "sort", "splice", "unshift"] 12 | helpers[methodName] = do (methodName) -> -> 13 | Array.prototype.unshift.call arguments, @definition 14 | result = _.do[methodName].apply null, arguments 15 | @value(@definition) 16 | result 17 | 18 | @signal = new _.Signal definition, helpers 19 | 20 | use: -> 21 | @set = (key, value) -> 22 | # _.do.set 23 | @signal.set key, value 24 | 25 | @delete = (key) -> 26 | @signal.delete key 27 | 28 | @get = -> @signal.value() 29 | 30 | for methodName in ["pop", "push", "reverse", "shift", "sort", "splice", "unshift"] 31 | @[methodName] = do (methodName) -> -> 32 | output = @signal[methodName].apply @signal, arguments 33 | return output 34 | 35 | 36 | _module = window ? module 37 | if _module.exports? then _module.exports = Document else window.Locco ?= {} ; window.Locco.Document = Document 38 | -------------------------------------------------------------------------------- /general/locco/document.spec.coffee: -------------------------------------------------------------------------------- 1 | Document = require '../../general/locco/document' 2 | 3 | describe 'Document', -> 4 | it 'should create a Document with no input', -> 5 | expect((new Document) instanceof Document).toBeTruthy() 6 | expect(typeof (new Document).uuid).toEqual('string') 7 | it 'should create a Document with a simple input', -> 8 | doc = new Document 9 | uuid: "913ae9b0-e4a1-4de3-b8a3-20d4db3d3481" 10 | name: "Livre" 11 | matter: [ 12 | { 13 | uuid: "46479fe8-499f-4308-88ad-9489f1a44bb2" 14 | name: "Titre" 15 | data: "La Genèse" 16 | } 17 | ] 18 | 19 | expect(doc.uuid).toEqual("913ae9b0-e4a1-4de3-b8a3-20d4db3d3481") 20 | -------------------------------------------------------------------------------- /general/locco/prototype.coffee: -------------------------------------------------------------------------------- 1 | ### 2 | - reference du prototype créé au moment de la sauvegarde dans reserve d'un objet javascript 3 | - reference est un uuid lié au chemin du fichier à partir de /general 4 | - les uuid sont stockés dans la base de donnée en tant qu'objet avec 5 | - id = uuid 6 | - type de container = Prototype.javascript 7 | - ancestors = concaténation des uuid des parents 8 | - path = chemin vers le source 9 | - stockage de la référence du prototype : dans la bdd avec le type de container Data.Binary.Uuid.family ; dans l'objet en tant que propriété sous _ 10 | - lors de la désérialisation, si l'on tombe sur une propriété de type Prototype.javascript, 11 | on remplace le parent par une nouvelle instance de la classe en question... 12 | ### 13 | _ = require '../../general/chocodash' 14 | 15 | Prototype = _.prototype 16 | constructor: -> 17 | 18 | _module = window ? module 19 | if _module.exports? then _module.exports = Prototype else window.Locco ?= {} ; window.Locco.Prototype = Prototype -------------------------------------------------------------------------------- /general/locco/reserve.coffee: -------------------------------------------------------------------------------- 1 | _ = require '../../general/chocodash' 2 | Workflow = require '../locco/workflow' 3 | 4 | # `TransientReserve` is a Reserve-like service available in browser. 5 | # It uses local service like localStorage to store data 6 | TransientReserve = _.prototype 7 | use: -> 8 | all = {} 9 | 10 | @Space = 11 | request: (query) -> 12 | read: (uuid) -> all[uuid] 13 | write: (io) -> all[io.uuid] = io 14 | forget: (io) -> delete all[io.uuid] 15 | 16 | # `Reserve` is used by a Worflow to permanentize actors and documents. 17 | Reserve = if module? then require "../../server/reserve" else new TransientReserve 18 | 19 | _module = window ? module 20 | if _module.exports? then _module.exports = Reserve else window.Locco ?= {} ; window.Locco.Reserve = Reserve -------------------------------------------------------------------------------- /general/newnotes.spec.coffee: -------------------------------------------------------------------------------- 1 | Newnotes = require './newnotes' 2 | 3 | describe 'Newnotes', -> 4 | it 'creates, then lists a basic todo', -> 5 | newnotes = new Newnotes 6 | newnotes.add 'do first' 7 | newnotes.add 'do after' 8 | expect([todo.title for todo in newnotes.list()].join(',')).toEqual 'do first,do after' 9 | -------------------------------------------------------------------------------- /general/specolate.spec.coffee: -------------------------------------------------------------------------------- 1 | unless window? 2 | describe 'Specolate', -> 3 | it 'should allow to test a module', -> 4 | Path = require 'path' 5 | expect(Path.extname 'test.coffee').toBe '.coffee' -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "chocolate", 3 | "version": "0.0.33", 4 | "description": "A full stack Node.js web framework built using Coffeescript", 5 | "preferGlobal": "true", 6 | "keywords": [ 7 | "fullstack", 8 | "reactive", 9 | "coffeescript", 10 | "framework", 11 | "online", 12 | "ide", 13 | "web", 14 | "app", 15 | "markdown", 16 | "jasmine", 17 | "ace", 18 | "jquery", 19 | "coffeekup", 20 | "docco", 21 | "git", 22 | "letsencrypt", 23 | "proxy", 24 | "websocket", 25 | "sass", 26 | "impress" 27 | ], 28 | "homepage": "https://chocolatejs.org", 29 | "repository": "git://github.com/jclevy/chocolatejs", 30 | "bugs": { 31 | "url": "http://github.com/jclevy/chocolatejs/issues" 32 | }, 33 | "license": "MIT", 34 | "bin": { 35 | "chocomake": "./bin/chocomake" 36 | }, 37 | "author": "Jean-Claude Levy>", 38 | "dependencies": { 39 | "@root/acme": "^3.1.0", 40 | "acme-http-01-webroot": "^3.0.0", 41 | "bufferstream": "0.6.2", 42 | "chokidar": "3.4.0", 43 | "coffee-script": "1.12.6", 44 | "formidable": "1.2.2", 45 | "http-proxy": "^1.18.1", 46 | "jasmine-node": "1.5.0", 47 | "microtime": "3.0.0", 48 | "node-sass": "4.14.1", 49 | "ws": "7.2.5" 50 | }, 51 | "engines": { 52 | "node": ">=8.10.0" 53 | } 54 | } -------------------------------------------------------------------------------- /server/config.coffee: -------------------------------------------------------------------------------- 1 | Document = require './document' 2 | 3 | configs = {} 4 | 5 | config = (datadir, options) -> 6 | return unless datadir? 7 | 8 | options ?= {} 9 | {name, reload} = options 10 | name ?= 'app' 11 | reload ?= false 12 | 13 | check_config_module = (configuration) -> 14 | # check if we have a config.coffee in data folder and and merge it into `app.config.json` 15 | try 16 | config_pathname = '../' + datadir + '/config' 17 | delete require.cache[require.resolve config_pathname] 18 | config_module = require config_pathname 19 | if config_module? 20 | should_save = off 21 | for key, value of config_module 22 | unless should_save then should_save = not configuration.get(key)? 23 | configuration.put key, value 24 | if should_save then configuration.save() 25 | 26 | if reload and configs[name]? 27 | configs[name].reload() 28 | check_config_module configs[name] 29 | return configs[name] 30 | else 31 | return configs[name] ? do -> 32 | Document.datadir ?= datadir 33 | configs[name] = new Document.Cache async:off, filename:"#{name}.config.json", indent:4, autosave:off 34 | check_config_module configs[name] 35 | configs[name] 36 | 37 | config.debug = (onoff) -> 38 | unless typeof onoff is 'boolean' then onoff = onoff is 'true' 39 | configs.app?.set 'debug', onoff 40 | if onoff is on 41 | port: configs.app?.get('debug_port') ? "8081" 42 | protocol: if configs.app?.get('http_only') is on then 'http' else 'https' 43 | else {} 44 | 45 | module.exports = config 46 | 47 | -------------------------------------------------------------------------------- /server/intention.coffee: -------------------------------------------------------------------------------- 1 | #### System Intentions 2 | 3 | # What we do when our process exits : 4 | # we will callback functions we registered 5 | on_exit_callbacks = [] 6 | on_exit = -> 7 | callback() for callback in on_exit_callbacks 8 | process.exit() 9 | 10 | # We first register ourself to receive system termination signals 11 | process.on 'SIGINT', -> on_exit() 12 | process.on 'SIGTERM', -> on_exit() 13 | 14 | # on windows, we do not receive termination signals, so we wait for 'exit' message to call our exit callbacks 15 | if process.platform is 'win32' 16 | rl = require('readline').createInterface( 17 | input: process.stdin 18 | output: process.stdout) 19 | rl.on 'SIGINT', -> 20 | process.emit 'SIGINT' 21 | return 22 | rl.on 'close', -> 23 | process.emit 'SIGINT' 24 | return 25 | 26 | # `callbackOnFinal` registers callbacks to call when Process exists 27 | exports.callbackOnFinal = (callback) -> 28 | index = on_exit_callbacks.indexOf callback 29 | on_exit_callbacks.push callback if index is -1 30 | 31 | # `unregisterCallbackOnFinal` unregisters callbacks that would have been called when Process exists 32 | exports.unregisterCallbackOnFinal = (callback) -> 33 | index = on_exit_callbacks.indexOf callback 34 | if index >= 0 then on_exit_callbacks.splice index, 1 35 | -------------------------------------------------------------------------------- /server/monitor.js: -------------------------------------------------------------------------------- 1 | require('coffee-script/register'); 2 | require('./monitor.coffee'); -------------------------------------------------------------------------------- /server/querystring.coffee: -------------------------------------------------------------------------------- 1 | QueryString = require 'querystring' 2 | 3 | exports.stringify = QueryString.stringify 4 | exports.escape = QueryString.escape 5 | exports.unescape = QueryString.unescape 6 | 7 | exports.parse = (qs, sep, eq, options) -> 8 | unless options?.ordered is yes then return QueryString.parse qs, sep, eq, options 9 | 10 | return {list:[], dict:{}} unless typeof qs is 'string' and qs.length isnt 0 11 | 12 | sep = sep or "&" ; eq = eq or "=" ; maxKeys = 1000 13 | maxKeys = options.maxKeys if options and typeof options.maxKeys is 'number' 14 | 15 | obj = {} ; ind = {} ; arr = [] 16 | qs = qs.split(sep) 17 | len = qs.length 18 | 19 | len = maxKeys if maxKeys > 0 and len > maxKeys 20 | 21 | for i in [0...len] 22 | x = qs[i].replace(/\+/g, "%20") 23 | idx = x.indexOf(eq) 24 | 25 | if idx >= 0 26 | kstr = x.substr(0, idx) 27 | vstr = x.substr(idx + 1) 28 | else 29 | kstr = x 30 | vstr = "" 31 | 32 | try 33 | k = decodeURIComponent(kstr) 34 | v = decodeURIComponent(vstr) 35 | catch e 36 | k = QueryString.unescape(kstr, true) 37 | v = QueryString.unescape(vstr, true) 38 | 39 | unless Object.prototype.hasOwnProperty(ind, k) 40 | ind[k] = i 41 | arr[i] = {key:k,value:v} 42 | obj[k] = v 43 | else if arr[ind[k]] instanceof Array 44 | arr[ind[k]].push v 45 | obj[k].push v 46 | else 47 | arr[ind[k]] = [ind[k], v] 48 | obj[k] = [ind[k], v] 49 | 50 | list:arr, dict:obj 51 | -------------------------------------------------------------------------------- /server/querystring.spec.coffee: -------------------------------------------------------------------------------- 1 | unless window? 2 | QueryString = require '../server/querystring' 3 | 4 | describe 'QueryString', -> 5 | it 'should decode a querystring in an array', -> 6 | sqarr = QueryString.parse "a=test&b=3&c=1", null, null, ordered:yes 7 | expect(sqarr.list[0].key + ':' + sqarr.list[0].value).toBe('a:test') 8 | expect(sqarr.list[1].key + ':' + sqarr.list[1].value).toBe('b:3') 9 | expect(sqarr.dict.a).toBe('test') 10 | -------------------------------------------------------------------------------- /server/server.coffee: -------------------------------------------------------------------------------- 1 | appdir = process.argv[2] 2 | port = process.argv[3] 3 | if parseInt(appdir) > 0 then port = appdir; appdir = undefined 4 | port = parseInt(port) if port? and parseInt(port) > 0 5 | World = require('./workflow').start(appdir, port) 6 | -------------------------------------------------------------------------------- /server/server.js: -------------------------------------------------------------------------------- 1 | require('coffee-script/register'); 2 | require('./server.coffee'); -------------------------------------------------------------------------------- /server/workflow.spec.coffee: -------------------------------------------------------------------------------- 1 | unless window? 2 | workflow = require '../server/workflow' 3 | describe 'System.Workflow', -> 4 | it 'should say_hello -- à moi in Paris', -> 5 | expect(workflow.say_hello 'à moi', 'Paris').toEqual('hello à moi in Paris') -------------------------------------------------------------------------------- /static/lib/litelorem.spec.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.6 2 | (function() { 3 | var lorem; 4 | 5 | lorem = require('chocolate/general/litelorem'); 6 | 7 | describe('lorem', function() { 8 | it('creates a lorem word', function() { 9 | return expect(lorem.word()).not.toBeNull(); 10 | }); 11 | it('creates a lorem word with a length greater than 0', function() { 12 | return expect(lorem.word().length).toBeGreaterThan(0); 13 | }); 14 | return it('creates six words', function() { 15 | return expect(lorem.words(6).split(' ').length).toBe(6); 16 | }); 17 | }); 18 | 19 | }).call(this); 20 | -------------------------------------------------------------------------------- /static/lib/locco/data.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.6 2 | (function() { 3 | var Data, _, _module; 4 | 5 | _ = require('../../general/chocodash'); 6 | 7 | Data = _.prototype({ 8 | constructor: function(uuid, name, data) { 9 | this.uuid = uuid != null ? uuid : _.Uuid(); 10 | this.name = name; 11 | this.data = data; 12 | } 13 | }); 14 | 15 | _module = typeof window !== "undefined" && window !== null ? window : module; 16 | 17 | if (_module.exports != null) { 18 | _module.exports = Data; 19 | } else { 20 | if (window.Locco == null) { 21 | window.Locco = {}; 22 | } 23 | window.Locco.Data = Data; 24 | } 25 | 26 | }).call(this); 27 | -------------------------------------------------------------------------------- /static/lib/locco/data.spec.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.6 2 | (function() { 3 | var Data; 4 | 5 | Data = require('../../general/locco/data'); 6 | 7 | describe('Data', function() { 8 | return it('should create a Data', function() { 9 | return expect(typeof (new Data).uuid).toBe('string'); 10 | }); 11 | }); 12 | 13 | }).call(this); 14 | -------------------------------------------------------------------------------- /static/lib/locco/document.spec.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.6 2 | (function() { 3 | var Document; 4 | 5 | Document = require('../../general/locco/document'); 6 | 7 | describe('Document', function() { 8 | it('should create a Document with no input', function() { 9 | expect((new Document) instanceof Document).toBeTruthy(); 10 | return expect(typeof (new Document).uuid).toEqual('string'); 11 | }); 12 | return it('should create a Document with a simple input', function() { 13 | var doc; 14 | doc = new Document({ 15 | uuid: "913ae9b0-e4a1-4de3-b8a3-20d4db3d3481", 16 | name: "Livre", 17 | matter: [ 18 | { 19 | uuid: "46479fe8-499f-4308-88ad-9489f1a44bb2", 20 | name: "Titre", 21 | data: "La Genèse" 22 | } 23 | ] 24 | }); 25 | return expect(doc.uuid).toEqual("913ae9b0-e4a1-4de3-b8a3-20d4db3d3481"); 26 | }); 27 | }); 28 | 29 | }).call(this); 30 | -------------------------------------------------------------------------------- /static/lib/locco/prototype.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.6 2 | 3 | /* 4 | - reference du prototype créé au moment de la sauvegarde dans reserve d'un objet javascript 5 | - reference est un uuid lié au chemin du fichier à partir de /general 6 | - les uuid sont stockés dans la base de donnée en tant qu'objet avec 7 | - id = uuid 8 | - type de container = Prototype.javascript 9 | - ancestors = concaténation des uuid des parents 10 | - path = chemin vers le source 11 | - stockage de la référence du prototype : dans la bdd avec le type de container Data.Binary.Uuid.family ; dans l'objet en tant que propriété sous _ 12 | - lors de la désérialisation, si l'on tombe sur une propriété de type Prototype.javascript, 13 | on remplace le parent par une nouvelle instance de la classe en question... 14 | */ 15 | 16 | (function() { 17 | var Prototype, _, _module; 18 | 19 | _ = require('../../general/chocodash'); 20 | 21 | Prototype = _.prototype({ 22 | constructor: function() {} 23 | }); 24 | 25 | _module = typeof window !== "undefined" && window !== null ? window : module; 26 | 27 | if (_module.exports != null) { 28 | _module.exports = Prototype; 29 | } else { 30 | if (window.Locco == null) { 31 | window.Locco = {}; 32 | } 33 | window.Locco.Prototype = Prototype; 34 | } 35 | 36 | }).call(this); 37 | -------------------------------------------------------------------------------- /static/lib/locco/reserve.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.6 2 | (function() { 3 | var Reserve, TransientReserve, Workflow, _, _module; 4 | 5 | _ = require('../../general/chocodash'); 6 | 7 | Workflow = require('../locco/workflow'); 8 | 9 | TransientReserve = _.prototype({ 10 | use: function() { 11 | var all; 12 | all = {}; 13 | return this.Space = { 14 | request: function(query) {}, 15 | read: function(uuid) { 16 | return all[uuid]; 17 | }, 18 | write: function(io) { 19 | return all[io.uuid] = io; 20 | }, 21 | forget: function(io) { 22 | return delete all[io.uuid]; 23 | } 24 | }; 25 | } 26 | }); 27 | 28 | Reserve = typeof module !== "undefined" && module !== null ? require("../../server/reserve") : new TransientReserve; 29 | 30 | _module = typeof window !== "undefined" && window !== null ? window : module; 31 | 32 | if (_module.exports != null) { 33 | _module.exports = Reserve; 34 | } else { 35 | if (window.Locco == null) { 36 | window.Locco = {}; 37 | } 38 | window.Locco.Reserve = Reserve; 39 | } 40 | 41 | }).call(this); 42 | -------------------------------------------------------------------------------- /static/lib/newnotes.spec.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.6 2 | (function() { 3 | var Newnotes; 4 | 5 | Newnotes = require('./newnotes'); 6 | 7 | describe('Newnotes', function() { 8 | return it('creates, then lists a basic todo', function() { 9 | var newnotes, todo; 10 | newnotes = new Newnotes; 11 | newnotes.add('do first'); 12 | newnotes.add('do after'); 13 | return expect([ 14 | (function() { 15 | var i, len, ref, results; 16 | ref = newnotes.list(); 17 | results = []; 18 | for (i = 0, len = ref.length; i < len; i++) { 19 | todo = ref[i]; 20 | results.push(todo.title); 21 | } 22 | return results; 23 | })() 24 | ].join(',')).toEqual('do first,do after'); 25 | }); 26 | }); 27 | 28 | }).call(this); 29 | -------------------------------------------------------------------------------- /static/lib/specolate.spec.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.6 2 | (function() { 3 | if (typeof window === "undefined" || window === null) { 4 | describe('Specolate', function() { 5 | return it('should allow to test a module', function() { 6 | var Path; 7 | Path = require('path'); 8 | return expect(Path.extname('test.coffee')).toBe('.coffee'); 9 | }); 10 | }); 11 | } 12 | 13 | }).call(this); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/ext-error_marker.js: -------------------------------------------------------------------------------- 1 | 2 | ; (function() { 3 | window.require(["ace/ext/error_marker"], function(m) { 4 | if (typeof module == "object" && typeof exports == "object" && module) { 5 | module.exports = m; 6 | } 7 | }); 8 | })(); 9 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 26 | window.require(["ace/mode/plain_text"], function(m) { 27 | if (typeof module == "object" && typeof exports == "object" && module) { 28 | module.exports = m; 29 | } 30 | }); 31 | })(); 32 | -------------------------------------------------------------------------------- /static/vendor/ace/mode-text.js: -------------------------------------------------------------------------------- 1 | 2 | ; (function() { 3 | window.require(["ace/mode/text"], function(m) { 4 | if (typeof module == "object" && typeof exports == "object" && module) { 5 | module.exports = m; 6 | } 7 | }); 8 | })(); 9 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/abap"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 39 | window.require(["ace/snippets/abc"], function(m) { 40 | if (typeof module == "object" && typeof exports == "object" && module) { 41 | module.exports = m; 42 | } 43 | }); 44 | })(); 45 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/ada"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/apache_conf"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/apex.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/apex",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "apex"; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/apex"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/applescript"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/asciidoc"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/asl.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/asl",["require","exports","module"], function (require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "asl"; 6 | }); (function() { 7 | window.require(["ace/snippets/asl"], function(m) { 8 | if (typeof module == "object" && typeof exports == "object" && module) { 9 | module.exports = m; 10 | } 11 | }); 12 | })(); 13 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/assembly_x86"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/autohotkey"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/batchfile"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/bro"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/c9search"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/cirru"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/cobol"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/coldfusion"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/csharp"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/csound_document.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/csound_document",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# \n\ 5 | snippet synth\n\ 6 | \n\ 7 | \n\ 8 | ${1}\n\ 9 | \n\ 10 | \n\ 11 | e\n\ 12 | \n\ 13 | \n\ 14 | "; 15 | exports.scope = "csound_document"; 16 | 17 | }); (function() { 18 | window.require(["ace/snippets/csound_document"], function(m) { 19 | if (typeof module == "object" && typeof exports == "object" && module) { 20 | module.exports = m; 21 | } 22 | }); 23 | })(); 24 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/csound_orchestra.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/csound_orchestra",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# else\n\ 5 | snippet else\n\ 6 | else\n\ 7 | ${1:/* statements */}\n\ 8 | # elseif\n\ 9 | snippet elseif\n\ 10 | elseif ${1:/* condition */} then\n\ 11 | ${2:/* statements */}\n\ 12 | # if\n\ 13 | snippet if\n\ 14 | if ${1:/* condition */} then\n\ 15 | ${2:/* statements */}\n\ 16 | endif\n\ 17 | # instrument block\n\ 18 | snippet instr\n\ 19 | instr ${1:name}\n\ 20 | ${2:/* statements */}\n\ 21 | endin\n\ 22 | # i-time while loop\n\ 23 | snippet iwhile\n\ 24 | i${1:Index} = ${2:0}\n\ 25 | while i${1:Index} < ${3:/* count */} do\n\ 26 | ${4:/* statements */}\n\ 27 | i${1:Index} += 1\n\ 28 | od\n\ 29 | # k-rate while loop\n\ 30 | snippet kwhile\n\ 31 | k${1:Index} = ${2:0}\n\ 32 | while k${1:Index} < ${3:/* count */} do\n\ 33 | ${4:/* statements */}\n\ 34 | k${1:Index} += 1\n\ 35 | od\n\ 36 | # opcode\n\ 37 | snippet opcode\n\ 38 | opcode ${1:name}, ${2:/* output types */ 0}, ${3:/* input types */ 0}\n\ 39 | ${4:/* statements */}\n\ 40 | endop\n\ 41 | # until loop\n\ 42 | snippet until\n\ 43 | until ${1:/* condition */} do\n\ 44 | ${2:/* statements */}\n\ 45 | od\n\ 46 | # while loop\n\ 47 | snippet while\n\ 48 | while ${1:/* condition */} do\n\ 49 | ${2:/* statements */}\n\ 50 | od\n\ 51 | "; 52 | exports.scope = "csound_orchestra"; 53 | 54 | }); (function() { 55 | window.require(["ace/snippets/csound_orchestra"], function(m) { 56 | if (typeof module == "object" && typeof exports == "object" && module) { 57 | module.exports = m; 58 | } 59 | }); 60 | })(); 61 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/csound_score.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/csound_score",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "csound_score"; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/csound_score"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/csp.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/csp",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = ""; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/csp"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/curly"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/d"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 19 | window.require(["ace/snippets/diff"], function(m) { 20 | if (typeof module == "object" && typeof exports == "object" && module) { 21 | module.exports = m; 22 | } 23 | }); 24 | })(); 25 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/dockerfile"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/dot"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 27 | window.require(["ace/snippets/drools"], function(m) { 28 | if (typeof module == "object" && typeof exports == "object" && module) { 29 | module.exports = m; 30 | } 31 | }); 32 | })(); 33 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/eiffel"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/ejs"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/elixir"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/elm"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/forth"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/fortran"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/fsharp.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/fsharp",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "fsharp"; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/fsharp"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/fsl.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/fsl",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = ""; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/fsl"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/ftl"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/gcode"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/gherkin"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/gitignore"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/glsl"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 42 | window.require(["ace/snippets/gobstones"], function(m) { 43 | if (typeof module == "object" && typeof exports == "object" && module) { 44 | module.exports = m; 45 | } 46 | }); 47 | })(); 48 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/golang"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/graphqlschema.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/graphqlschema",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# Type Snippet\n\ 5 | trigger type\n\ 6 | snippet type\n\ 7 | type ${1:type_name} {\n\ 8 | ${2:type_siblings}\n\ 9 | }\n\ 10 | \n\ 11 | # Input Snippet\n\ 12 | trigger input\n\ 13 | snippet input\n\ 14 | input ${1:input_name} {\n\ 15 | ${2:input_siblings}\n\ 16 | }\n\ 17 | \n\ 18 | # Interface Snippet\n\ 19 | trigger interface\n\ 20 | snippet interface\n\ 21 | interface ${1:interface_name} {\n\ 22 | ${2:interface_siblings}\n\ 23 | }\n\ 24 | \n\ 25 | # Interface Snippet\n\ 26 | trigger union\n\ 27 | snippet union\n\ 28 | union ${1:union_name} = ${2:type} | ${3: type}\n\ 29 | \n\ 30 | # Enum Snippet\n\ 31 | trigger enum\n\ 32 | snippet enum\n\ 33 | enum ${1:enum_name} {\n\ 34 | ${2:enum_siblings}\n\ 35 | }\n\ 36 | "; 37 | exports.scope = "graphqlschema"; 38 | 39 | }); (function() { 40 | window.require(["ace/snippets/graphqlschema"], function(m) { 41 | if (typeof module == "object" && typeof exports == "object" && module) { 42 | module.exports = m; 43 | } 44 | }); 45 | })(); 46 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/groovy"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 28 | window.require(["ace/snippets/haml"], function(m) { 29 | if (typeof module == "object" && typeof exports == "object" && module) { 30 | module.exports = m; 31 | } 32 | }); 33 | })(); 34 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/handlebars"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/haskell_cabal"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/haxe"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/hjson"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/html_elixir"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/html_ruby"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/ini"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/jack"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/jade"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/json"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/jssm.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/jssm",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = ""; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/jssm"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/jsx"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/julia"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/kotlin"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/latex"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/less"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/lisp"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/livescript"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/logiql"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/logtalk.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/logtalk",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "logtalk"; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/logtalk"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 29 | window.require(["ace/snippets/lua"], function(m) { 30 | if (typeof module == "object" && typeof exports == "object" && module) { 31 | module.exports = m; 32 | } 33 | }); 34 | })(); 35 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/luapage"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/lucene"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 12 | window.require(["ace/snippets/makefile"], function(m) { 13 | if (typeof module == "object" && typeof exports == "object" && module) { 14 | module.exports = m; 15 | } 16 | }); 17 | })(); 18 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/mask"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/matlab"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 17 | window.require(["ace/snippets/maze"], function(m) { 18 | if (typeof module == "object" && typeof exports == "object" && module) { 19 | module.exports = m; 20 | } 21 | }); 22 | })(); 23 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/mel"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/mixal.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mixal",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "mixal"; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/mixal"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/mushcode"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/mysql"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/nix"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/nsis"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/objectivec"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/ocaml"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/pascal"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/perl6.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/perl6",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "perl6"; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/perl6"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/pgsql"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/php_laravel_blade.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/php_laravel_blade",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "php"; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/php_laravel_blade"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/pig.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/pig",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "pig"; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/pig"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/plain_text"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/powershell"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/praat"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/prolog"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/properties"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/protobuf"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/puppet.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/puppet",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "puppet"; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/puppet"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 11 | window.require(["ace/snippets/razor"], function(m) { 12 | if (typeof module == "object" && typeof exports == "object" && module) { 13 | module.exports = m; 14 | } 15 | }); 16 | })(); 17 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/rdoc"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/red.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/red",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = " "; 5 | exports.scope = "red"; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/red"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/redshift.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/redshift",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "redshift"; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/redshift"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/rhtml"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 30 | window.require(["ace/snippets/rst"], function(m) { 31 | if (typeof module == "object" && typeof exports == "object" && module) { 32 | module.exports = m; 33 | } 34 | }); 35 | })(); 36 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/rust"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/sass"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/scad"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/scala"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/scheme"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/scss"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/sjs"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/slim.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/slim",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "slim"; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/slim"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/smarty"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 17 | window.require(["ace/snippets/snippets"], function(m) { 18 | if (typeof module == "object" && typeof exports == "object" && module) { 19 | module.exports = m; 20 | } 21 | }); 22 | })(); 23 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/soy_template"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/space"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/sparql.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/sparql",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = ""; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/sparql"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 34 | window.require(["ace/snippets/sql"], function(m) { 35 | if (typeof module == "object" && typeof exports == "object" && module) { 36 | module.exports = m; 37 | } 38 | }); 39 | })(); 40 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/stylus"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/svg"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/swift"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/terraform.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/terraform",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "terraform"; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/terraform"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/text"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 38 | window.require(["ace/snippets/textile"], function(m) { 39 | if (typeof module == "object" && typeof exports == "object" && module) { 40 | module.exports = m; 41 | } 42 | }); 43 | })(); 44 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/toml"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/tsx"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/turtle.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/turtle",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = ""; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/turtle"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/twig"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/typescript"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/vbscript"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 37 | window.require(["ace/snippets/velocity"], function(m) { 38 | if (typeof module == "object" && typeof exports == "object" && module) { 39 | module.exports = m; 40 | } 41 | }); 42 | })(); 43 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/verilog"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/vhdl"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/snippets/visualforce.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/visualforce",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "visualforce"; 6 | 7 | }); (function() { 8 | window.require(["ace/snippets/visualforce"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/xml"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/ace/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 | }); (function() { 8 | window.require(["ace/snippets/yaml"], function(m) { 9 | if (typeof module == "object" && typeof exports == "object" && module) { 10 | module.exports = m; 11 | } 12 | }); 13 | })(); 14 | -------------------------------------------------------------------------------- /static/vendor/codemirror/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2015 by Marijn Haverbeke and others 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /static/vendor/codemirror/README.md: -------------------------------------------------------------------------------- 1 | # CodeMirror 2 | [![Build Status](https://travis-ci.org/codemirror/CodeMirror.svg)](https://travis-ci.org/codemirror/CodeMirror) 3 | [![NPM version](https://img.shields.io/npm/v/codemirror.svg)](https://www.npmjs.org/package/codemirror) 4 | [Funding status: ![maintainer happiness](https://marijnhaverbeke.nl/fund/status_s.png?again)](https://marijnhaverbeke.nl/fund/) 5 | 6 | CodeMirror is a JavaScript component that provides a code editor in 7 | the browser. When a mode is available for the language you are coding 8 | in, it will color your code, and optionally help with indentation. 9 | 10 | The project page is http://codemirror.net 11 | The manual is at http://codemirror.net/doc/manual.html 12 | The contributing guidelines are in [CONTRIBUTING.md](https://github.com/codemirror/CodeMirror/blob/master/CONTRIBUTING.md) 13 | -------------------------------------------------------------------------------- /static/vendor/codemirror/addon/dialog/dialog.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-dialog { 2 | position: absolute; 3 | left: 0; right: 0; 4 | background: inherit; 5 | z-index: 15; 6 | padding: .1em .8em; 7 | overflow: hidden; 8 | color: inherit; 9 | } 10 | 11 | .CodeMirror-dialog-top { 12 | border-bottom: 1px solid #eee; 13 | top: 0; 14 | } 15 | 16 | .CodeMirror-dialog-bottom { 17 | border-top: 1px solid #eee; 18 | bottom: 0; 19 | } 20 | 21 | .CodeMirror-dialog input { 22 | border: none; 23 | outline: none; 24 | background: transparent; 25 | width: 20em; 26 | color: inherit; 27 | font-family: monospace; 28 | } 29 | 30 | .CodeMirror-dialog button { 31 | font-size: 70%; 32 | } 33 | -------------------------------------------------------------------------------- /static/vendor/codemirror/addon/display/fullscreen.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-fullscreen { 2 | position: fixed; 3 | top: 0; left: 0; right: 0; bottom: 0; 4 | height: auto; 5 | z-index: 9; 6 | } 7 | -------------------------------------------------------------------------------- /static/vendor/codemirror/addon/display/fullscreen.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | "use strict"; 13 | 14 | CodeMirror.defineOption("fullScreen", false, function(cm, val, old) { 15 | if (old == CodeMirror.Init) old = false; 16 | if (!old == !val) return; 17 | if (val) setFullscreen(cm); 18 | else setNormal(cm); 19 | }); 20 | 21 | function setFullscreen(cm) { 22 | var wrap = cm.getWrapperElement(); 23 | cm.state.fullScreenRestore = {scrollTop: window.pageYOffset, scrollLeft: window.pageXOffset, 24 | width: wrap.style.width, height: wrap.style.height}; 25 | wrap.style.width = ""; 26 | wrap.style.height = "auto"; 27 | wrap.className += " CodeMirror-fullscreen"; 28 | document.documentElement.style.overflow = "hidden"; 29 | cm.refresh(); 30 | } 31 | 32 | function setNormal(cm) { 33 | var wrap = cm.getWrapperElement(); 34 | wrap.className = wrap.className.replace(/\s*CodeMirror-fullscreen\b/, ""); 35 | document.documentElement.style.overflow = ""; 36 | var info = cm.state.fullScreenRestore; 37 | wrap.style.width = info.width; wrap.style.height = info.height; 38 | window.scrollTo(info.scrollLeft, info.scrollTop); 39 | cm.refresh(); 40 | } 41 | }); 42 | -------------------------------------------------------------------------------- /static/vendor/codemirror/addon/edit/trailingspace.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | CodeMirror.defineOption("showTrailingSpace", false, function(cm, val, prev) { 13 | if (prev == CodeMirror.Init) prev = false; 14 | if (prev && !val) 15 | cm.removeOverlay("trailingspace"); 16 | else if (!prev && val) 17 | cm.addOverlay({ 18 | token: function(stream) { 19 | for (var l = stream.string.length, i = l; i && /\s/.test(stream.string.charAt(i - 1)); --i) {} 20 | if (i > stream.pos) { stream.pos = i; return null; } 21 | stream.pos = l; 22 | return "trailingspace"; 23 | }, 24 | name: "trailingspace" 25 | }); 26 | }); 27 | }); 28 | -------------------------------------------------------------------------------- /static/vendor/codemirror/addon/fold/foldgutter.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-foldmarker { 2 | color: blue; 3 | text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px; 4 | font-family: arial; 5 | line-height: .3; 6 | cursor: pointer; 7 | } 8 | .CodeMirror-foldgutter { 9 | width: .7em; 10 | } 11 | .CodeMirror-foldgutter-open, 12 | .CodeMirror-foldgutter-folded { 13 | cursor: pointer; 14 | } 15 | .CodeMirror-foldgutter-open:after { 16 | content: "\25BE"; 17 | } 18 | .CodeMirror-foldgutter-folded:after { 19 | content: "\25B8"; 20 | } 21 | -------------------------------------------------------------------------------- /static/vendor/codemirror/addon/fold/indent-fold.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | "use strict"; 13 | 14 | CodeMirror.registerHelper("fold", "indent", function(cm, start) { 15 | var tabSize = cm.getOption("tabSize"), firstLine = cm.getLine(start.line); 16 | if (!/\S/.test(firstLine)) return; 17 | var getIndent = function(line) { 18 | return CodeMirror.countColumn(line, null, tabSize); 19 | }; 20 | var myIndent = getIndent(firstLine); 21 | var lastLineInFold = null; 22 | // Go through lines until we find a line that definitely doesn't belong in 23 | // the block we're folding, or to the end. 24 | for (var i = start.line + 1, end = cm.lastLine(); i <= end; ++i) { 25 | var curLine = cm.getLine(i); 26 | var curIndent = getIndent(curLine); 27 | if (curIndent > myIndent) { 28 | // Lines with a greater indent are considered part of the block. 29 | lastLineInFold = i; 30 | } else if (!/\S/.test(curLine)) { 31 | // Empty lines might be breaks within the block we're trying to fold. 32 | } else { 33 | // A non-empty line at an indent equal to or less than ours marks the 34 | // start of another block. 35 | break; 36 | } 37 | } 38 | if (lastLineInFold) return { 39 | from: CodeMirror.Pos(start.line, firstLine.length), 40 | to: CodeMirror.Pos(lastLineInFold, cm.getLine(lastLineInFold).length) 41 | }; 42 | }); 43 | 44 | }); 45 | -------------------------------------------------------------------------------- /static/vendor/codemirror/addon/hint/show-hint.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-hints { 2 | position: absolute; 3 | z-index: 10; 4 | overflow: hidden; 5 | list-style: none; 6 | 7 | margin: 0; 8 | padding: 2px; 9 | 10 | -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 11 | -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 12 | box-shadow: 2px 3px 5px rgba(0,0,0,.2); 13 | border-radius: 3px; 14 | border: 1px solid silver; 15 | 16 | background: white; 17 | font-size: 90%; 18 | font-family: monospace; 19 | 20 | max-height: 20em; 21 | overflow-y: auto; 22 | } 23 | 24 | .CodeMirror-hint { 25 | margin: 0; 26 | padding: 0 4px; 27 | border-radius: 2px; 28 | max-width: 19em; 29 | overflow: hidden; 30 | white-space: pre; 31 | color: black; 32 | cursor: pointer; 33 | } 34 | 35 | li.CodeMirror-hint-active { 36 | background: #08f; 37 | color: white; 38 | } 39 | -------------------------------------------------------------------------------- /static/vendor/codemirror/addon/lint/coffeescript-lint.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | // Depends on coffeelint.js from http://www.coffeelint.org/js/coffeelint.js 5 | 6 | // declare global: coffeelint 7 | 8 | (function(mod) { 9 | if (typeof exports == "object" && typeof module == "object") // CommonJS 10 | mod(require("../../lib/codemirror")); 11 | else if (typeof define == "function" && define.amd) // AMD 12 | define(["../../lib/codemirror"], mod); 13 | else // Plain browser env 14 | mod(CodeMirror); 15 | })(function(CodeMirror) { 16 | "use strict"; 17 | 18 | CodeMirror.registerHelper("lint", "coffeescript", function(text) { 19 | var found = []; 20 | var parseError = function(err) { 21 | var loc = err.lineNumber; 22 | found.push({from: CodeMirror.Pos(loc-1, 0), 23 | to: CodeMirror.Pos(loc, 0), 24 | severity: err.level, 25 | message: err.message}); 26 | }; 27 | try { 28 | var res = coffeelint.lint(text); 29 | for(var i = 0; i < res.length; i++) { 30 | parseError(res[i]); 31 | } 32 | } catch(e) { 33 | found.push({from: CodeMirror.Pos(e.location.first_line, 0), 34 | to: CodeMirror.Pos(e.location.last_line, e.location.last_column), 35 | severity: 'error', 36 | message: e.message}); 37 | } 38 | return found; 39 | }); 40 | 41 | }); 42 | -------------------------------------------------------------------------------- /static/vendor/codemirror/addon/lint/css-lint.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | // Depends on csslint.js from https://github.com/stubbornella/csslint 5 | 6 | // declare global: CSSLint 7 | 8 | (function(mod) { 9 | if (typeof exports == "object" && typeof module == "object") // CommonJS 10 | mod(require("../../lib/codemirror")); 11 | else if (typeof define == "function" && define.amd) // AMD 12 | define(["../../lib/codemirror"], mod); 13 | else // Plain browser env 14 | mod(CodeMirror); 15 | })(function(CodeMirror) { 16 | "use strict"; 17 | 18 | CodeMirror.registerHelper("lint", "css", function(text) { 19 | var found = []; 20 | if (!window.CSSLint) return found; 21 | var results = CSSLint.verify(text), messages = results.messages, message = null; 22 | for ( var i = 0; i < messages.length; i++) { 23 | message = messages[i]; 24 | var startLine = message.line -1, endLine = message.line -1, startCol = message.col -1, endCol = message.col; 25 | found.push({ 26 | from: CodeMirror.Pos(startLine, startCol), 27 | to: CodeMirror.Pos(endLine, endCol), 28 | message: message.message, 29 | severity : message.type 30 | }); 31 | } 32 | return found; 33 | }); 34 | 35 | }); 36 | -------------------------------------------------------------------------------- /static/vendor/codemirror/addon/lint/json-lint.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | // Depends on jsonlint.js from https://github.com/zaach/jsonlint 5 | 6 | // declare global: jsonlint 7 | 8 | (function(mod) { 9 | if (typeof exports == "object" && typeof module == "object") // CommonJS 10 | mod(require("../../lib/codemirror")); 11 | else if (typeof define == "function" && define.amd) // AMD 12 | define(["../../lib/codemirror"], mod); 13 | else // Plain browser env 14 | mod(CodeMirror); 15 | })(function(CodeMirror) { 16 | "use strict"; 17 | 18 | CodeMirror.registerHelper("lint", "json", function(text) { 19 | var found = []; 20 | jsonlint.parseError = function(str, hash) { 21 | var loc = hash.loc; 22 | found.push({from: CodeMirror.Pos(loc.first_line - 1, loc.first_column), 23 | to: CodeMirror.Pos(loc.last_line - 1, loc.last_column), 24 | message: str}); 25 | }; 26 | try { jsonlint.parse(text); } 27 | catch(e) {} 28 | return found; 29 | }); 30 | 31 | }); 32 | -------------------------------------------------------------------------------- /static/vendor/codemirror/addon/lint/yaml-lint.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | "use strict"; 13 | 14 | // Depends on js-yaml.js from https://github.com/nodeca/js-yaml 15 | 16 | // declare global: jsyaml 17 | 18 | CodeMirror.registerHelper("lint", "yaml", function(text) { 19 | var found = []; 20 | try { jsyaml.load(text); } 21 | catch(e) { 22 | var loc = e.mark; 23 | found.push({ from: CodeMirror.Pos(loc.line, loc.column), to: CodeMirror.Pos(loc.line, loc.column), message: e.message }); 24 | } 25 | return found; 26 | }); 27 | 28 | }); 29 | -------------------------------------------------------------------------------- /static/vendor/codemirror/addon/mode/multiplex_test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function() { 5 | CodeMirror.defineMode("markdown_with_stex", function(){ 6 | var inner = CodeMirror.getMode({}, "stex"); 7 | var outer = CodeMirror.getMode({}, "markdown"); 8 | 9 | var innerOptions = { 10 | open: '$', 11 | close: '$', 12 | mode: inner, 13 | delimStyle: 'delim', 14 | innerStyle: 'inner' 15 | }; 16 | 17 | return CodeMirror.multiplexingMode(outer, innerOptions); 18 | }); 19 | 20 | var mode = CodeMirror.getMode({}, "markdown_with_stex"); 21 | 22 | function MT(name) { 23 | test.mode( 24 | name, 25 | mode, 26 | Array.prototype.slice.call(arguments, 1), 27 | 'multiplexing'); 28 | } 29 | 30 | MT( 31 | "stexInsideMarkdown", 32 | "[strong **Equation:**] [delim $][inner&tag \\pi][delim $]"); 33 | })(); 34 | -------------------------------------------------------------------------------- /static/vendor/codemirror/addon/runmode/colorize.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror"), require("./runmode")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror", "./runmode"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | "use strict"; 13 | 14 | var isBlock = /^(p|li|div|h\\d|pre|blockquote|td)$/; 15 | 16 | function textContent(node, out) { 17 | if (node.nodeType == 3) return out.push(node.nodeValue); 18 | for (var ch = node.firstChild; ch; ch = ch.nextSibling) { 19 | textContent(ch, out); 20 | if (isBlock.test(node.nodeType)) out.push("\n"); 21 | } 22 | } 23 | 24 | CodeMirror.colorize = function(collection, defaultMode) { 25 | if (!collection) collection = document.body.getElementsByTagName("pre"); 26 | 27 | for (var i = 0; i < collection.length; ++i) { 28 | var node = collection[i]; 29 | var mode = node.getAttribute("data-lang") || defaultMode; 30 | if (!mode) continue; 31 | 32 | var text = []; 33 | textContent(node, text); 34 | node.innerHTML = ""; 35 | CodeMirror.runMode(text.join(""), mode, node); 36 | 37 | node.className += " cm-s-default"; 38 | } 39 | }; 40 | }); 41 | -------------------------------------------------------------------------------- /static/vendor/codemirror/addon/scroll/scrollpastend.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | "use strict"; 13 | 14 | CodeMirror.defineOption("scrollPastEnd", false, function(cm, val, old) { 15 | if (old && old != CodeMirror.Init) { 16 | cm.off("change", onChange); 17 | cm.off("refresh", updateBottomMargin); 18 | cm.display.lineSpace.parentNode.style.paddingBottom = ""; 19 | cm.state.scrollPastEndPadding = null; 20 | } 21 | if (val) { 22 | cm.on("change", onChange); 23 | cm.on("refresh", updateBottomMargin); 24 | updateBottomMargin(cm); 25 | } 26 | }); 27 | 28 | function onChange(cm, change) { 29 | if (CodeMirror.changeEnd(change).line == cm.lastLine()) 30 | updateBottomMargin(cm); 31 | } 32 | 33 | function updateBottomMargin(cm) { 34 | var padding = ""; 35 | if (cm.lineCount() > 1) { 36 | var totalH = cm.display.scroller.clientHeight - 30, 37 | lastLineH = cm.getLineHandle(cm.lastLine()).height; 38 | padding = (totalH - lastLineH) + "px"; 39 | } 40 | if (cm.state.scrollPastEndPadding != padding) { 41 | cm.state.scrollPastEndPadding = padding; 42 | cm.display.lineSpace.parentNode.style.paddingBottom = padding; 43 | cm.setSize(); 44 | } 45 | } 46 | }); 47 | -------------------------------------------------------------------------------- /static/vendor/codemirror/addon/scroll/simplescrollbars.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-simplescroll-horizontal div, .CodeMirror-simplescroll-vertical div { 2 | position: absolute; 3 | background: #ccc; 4 | -moz-box-sizing: border-box; 5 | box-sizing: border-box; 6 | border: 1px solid #bbb; 7 | border-radius: 2px; 8 | } 9 | 10 | .CodeMirror-simplescroll-horizontal, .CodeMirror-simplescroll-vertical { 11 | position: absolute; 12 | z-index: 6; 13 | background: #eee; 14 | } 15 | 16 | .CodeMirror-simplescroll-horizontal { 17 | bottom: 0; left: 0; 18 | height: 8px; 19 | } 20 | .CodeMirror-simplescroll-horizontal div { 21 | bottom: 0; 22 | height: 100%; 23 | } 24 | 25 | .CodeMirror-simplescroll-vertical { 26 | right: 0; top: 0; 27 | width: 8px; 28 | } 29 | .CodeMirror-simplescroll-vertical div { 30 | right: 0; 31 | width: 100%; 32 | } 33 | 34 | 35 | .CodeMirror-overlayscroll .CodeMirror-scrollbar-filler, .CodeMirror-overlayscroll .CodeMirror-gutter-filler { 36 | display: none; 37 | } 38 | 39 | .CodeMirror-overlayscroll-horizontal div, .CodeMirror-overlayscroll-vertical div { 40 | position: absolute; 41 | background: #bcd; 42 | border-radius: 3px; 43 | } 44 | 45 | .CodeMirror-overlayscroll-horizontal, .CodeMirror-overlayscroll-vertical { 46 | position: absolute; 47 | z-index: 6; 48 | } 49 | 50 | .CodeMirror-overlayscroll-horizontal { 51 | bottom: 0; left: 0; 52 | height: 6px; 53 | } 54 | .CodeMirror-overlayscroll-horizontal div { 55 | bottom: 0; 56 | height: 100%; 57 | } 58 | 59 | .CodeMirror-overlayscroll-vertical { 60 | right: 0; top: 0; 61 | width: 6px; 62 | } 63 | .CodeMirror-overlayscroll-vertical div { 64 | right: 0; 65 | width: 100%; 66 | } 67 | -------------------------------------------------------------------------------- /static/vendor/codemirror/addon/search/matchesonscrollbar.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-search-match { 2 | background: gold; 3 | border-top: 1px solid orange; 4 | border-bottom: 1px solid orange; 5 | -moz-box-sizing: border-box; 6 | box-sizing: border-box; 7 | opacity: .5; 8 | } 9 | -------------------------------------------------------------------------------- /static/vendor/codemirror/addon/tern/worker.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | // declare global: tern, server 5 | 6 | var server; 7 | 8 | this.onmessage = function(e) { 9 | var data = e.data; 10 | switch (data.type) { 11 | case "init": return startServer(data.defs, data.plugins, data.scripts); 12 | case "add": return server.addFile(data.name, data.text); 13 | case "del": return server.delFile(data.name); 14 | case "req": return server.request(data.body, function(err, reqData) { 15 | postMessage({id: data.id, body: reqData, err: err && String(err)}); 16 | }); 17 | case "getFile": 18 | var c = pending[data.id]; 19 | delete pending[data.id]; 20 | return c(data.err, data.text); 21 | default: throw new Error("Unknown message type: " + data.type); 22 | } 23 | }; 24 | 25 | var nextId = 0, pending = {}; 26 | function getFile(file, c) { 27 | postMessage({type: "getFile", name: file, id: ++nextId}); 28 | pending[nextId] = c; 29 | } 30 | 31 | function startServer(defs, plugins, scripts) { 32 | if (scripts) importScripts.apply(null, scripts); 33 | 34 | server = new tern.Server({ 35 | getFile: getFile, 36 | async: true, 37 | defs: defs, 38 | plugins: plugins 39 | }); 40 | } 41 | 42 | this.console = { 43 | log: function(v) { postMessage({type: "debug", message: v}); } 44 | }; 45 | -------------------------------------------------------------------------------- /static/vendor/codemirror/bin/authors.sh: -------------------------------------------------------------------------------- 1 | # Combine existing list of authors with everyone known in git, sort, add header. 2 | tail --lines=+3 AUTHORS > AUTHORS.tmp 3 | git log --format='%aN' >> AUTHORS.tmp 4 | echo -e "List of CodeMirror contributors. Updated before every release.\n" > AUTHORS 5 | sort -u AUTHORS.tmp >> AUTHORS 6 | rm -f AUTHORS.tmp 7 | -------------------------------------------------------------------------------- /static/vendor/codemirror/bin/lint: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | process.exit(require("../test/lint").ok ? 0 : 1); 4 | -------------------------------------------------------------------------------- /static/vendor/codemirror/bin/source-highlight: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | // Simple command-line code highlighting tool. Reads code from stdin, 4 | // spits html to stdout. For example: 5 | // 6 | // echo 'function foo(a) { return a; }' | bin/source-highlight -s javascript 7 | // bin/source-highlight -s 8 | 9 | var fs = require("fs"); 10 | 11 | var CodeMirror = require("../addon/runmode/runmode.node.js"); 12 | require("../mode/meta.js"); 13 | 14 | var sPos = process.argv.indexOf("-s"); 15 | if (sPos == -1 || sPos == process.argv.length - 1) { 16 | console.error("Usage: source-highlight -s language"); 17 | process.exit(1); 18 | } 19 | var lang = process.argv[sPos + 1].toLowerCase(), modeName = lang; 20 | CodeMirror.modeInfo.forEach(function(info) { 21 | if (info.mime == lang) { 22 | modeName = info.mode; 23 | } else if (info.name.toLowerCase() == lang) { 24 | modeName = info.mode; 25 | lang = info.mime; 26 | } 27 | }); 28 | 29 | if (!CodeMirror.modes[modeName]) 30 | require("../mode/" + modeName + "/" + modeName + ".js"); 31 | 32 | function esc(str) { 33 | return str.replace(/[<&]/g, function(ch) { return ch == "&" ? "&" : "<"; }); 34 | } 35 | 36 | var code = fs.readFileSync("/dev/stdin", "utf8"); 37 | var curStyle = null, accum = ""; 38 | function flush() { 39 | if (curStyle) process.stdout.write("" + esc(accum) + ""); 40 | else process.stdout.write(esc(accum)); 41 | } 42 | 43 | CodeMirror.runMode(code, lang, function(text, style) { 44 | if (style != curStyle) { 45 | flush(); 46 | curStyle = style; accum = text; 47 | } else { 48 | accum += text; 49 | } 50 | }); 51 | flush(); 52 | -------------------------------------------------------------------------------- /static/vendor/codemirror/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "codemirror", 3 | "version":"5.3.0", 4 | "main": ["lib/codemirror.js", "lib/codemirror.css"], 5 | "ignore": [ 6 | "**/.*", 7 | "node_modules", 8 | "components", 9 | "bin", 10 | "demo", 11 | "doc", 12 | "test", 13 | "index.html", 14 | "package.json", 15 | "mode/*/*test.js", 16 | "mode/*/*.html" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /static/vendor/codemirror/demo/closetag.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Close-Tag Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 | 30 | 31 |
32 |

Close-Tag Demo

33 |
34 | 35 | 41 |
42 | -------------------------------------------------------------------------------- /static/vendor/codemirror/demo/marker.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Breakpoint Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 15 | 27 | 28 |
29 |

Breakpoint Demo

30 |
47 | 48 |

Click the line-number gutter to add or remove 'breakpoints'.

49 | 50 | 51 | 52 |
53 | -------------------------------------------------------------------------------- /static/vendor/codemirror/demo/matchtags.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Tag Matcher Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 15 | 27 | 28 |
29 |

Tag Matcher Demo

30 | 31 | 32 |
33 | 34 | 44 | 45 |

Put the cursor on or inside a pair of tags to highlight them. 46 | Press Ctrl-J to jump to the tag that matches the one under the 47 | cursor.

48 |
49 | -------------------------------------------------------------------------------- /static/vendor/codemirror/demo/placeholder.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Placeholder demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 16 | 28 | 29 |
30 |

Placeholder demo

31 |
32 | 33 |

The placeholder 34 | plug-in adds an option placeholder that can be set to 35 | make text appear in the editor when it is empty and not focused. 36 | If the source textarea has a placeholder attribute, 37 | it will automatically be inherited.

38 | 39 | 44 | 45 |
46 | -------------------------------------------------------------------------------- /static/vendor/codemirror/demo/resize.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Autoresize Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 16 | 28 | 29 |
30 |

Autoresize Demo

31 |
37 | 38 |

By setting an editor's height style 39 | to auto and giving 40 | the viewportMargin 41 | a value of Infinity, CodeMirror can be made to 42 | automatically resize to fit its content.

43 | 44 | 50 | 51 |
52 | -------------------------------------------------------------------------------- /static/vendor/codemirror/demo/rulers.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Ruler Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 13 | 25 | 26 |
27 |

Ruler Demo

28 | 29 | 44 | 45 |

Demonstration of 46 | the rulers addon, which 47 | displays vertical lines at given column offsets.

48 | 49 |
50 | -------------------------------------------------------------------------------- /static/vendor/codemirror/demo/trailingspace.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Trailing Whitespace Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 18 | 30 | 31 |
32 |

Trailing Whitespace Demo

33 |
36 | 37 | 43 | 44 |

Uses 45 | the trailingspace 46 | addon to highlight trailing whitespace.

47 | 48 |
49 | -------------------------------------------------------------------------------- /static/vendor/codemirror/doc/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jclevy/chocolatejs/7221d48e81bedae4fe497a940f5a7466b37106f9/static/vendor/codemirror/doc/logo.png -------------------------------------------------------------------------------- /static/vendor/codemirror/doc/yinyang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jclevy/chocolatejs/7221d48e81bedae4fe497a940f5a7466b37106f9/static/vendor/codemirror/doc/yinyang.png -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/asciiarmor/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: ASCII Armor (PGP) mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

ASCII Armor (PGP) mode

27 |
36 | 37 | 42 | 43 |

MIME types 44 | defined: application/pgp, application/pgp-keys, application/pgp-signature

45 | 46 |
47 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/clike/test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function() { 5 | var mode = CodeMirror.getMode({indentUnit: 2}, "text/x-c"); 6 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } 7 | 8 | MT("indent", 9 | "[variable-3 void] [def foo]([variable-3 void*] [variable a], [variable-3 int] [variable b]) {", 10 | " [variable-3 int] [variable c] [operator =] [variable b] [operator +]", 11 | " [number 1];", 12 | " [keyword return] [operator *][variable a];", 13 | "}"); 14 | 15 | MT("indent_switch", 16 | "[keyword switch] ([variable x]) {", 17 | " [keyword case] [number 10]:", 18 | " [keyword return] [number 20];", 19 | " [keyword default]:", 20 | " [variable printf]([string \"foo %c\"], [variable x]);", 21 | "}"); 22 | 23 | MT("def", 24 | "[variable-3 void] [def foo]() {}", 25 | "[keyword struct] [def bar]{}", 26 | "[variable-3 int] [variable-3 *][def baz]() {}"); 27 | })(); 28 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/diff/diff.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | "use strict"; 13 | 14 | CodeMirror.defineMode("diff", function() { 15 | 16 | var TOKEN_NAMES = { 17 | '+': 'positive', 18 | '-': 'negative', 19 | '@': 'meta' 20 | }; 21 | 22 | return { 23 | token: function(stream) { 24 | var tw_pos = stream.string.search(/[\t ]+?$/); 25 | 26 | if (!stream.sol() || tw_pos === 0) { 27 | stream.skipToEnd(); 28 | return ("error " + ( 29 | TOKEN_NAMES[stream.string.charAt(0)] || '')).replace(/ $/, ''); 30 | } 31 | 32 | var token_name = TOKEN_NAMES[stream.peek()] || stream.skipToEnd(); 33 | 34 | if (tw_pos === -1) { 35 | stream.skipToEnd(); 36 | } else { 37 | stream.pos = tw_pos; 38 | } 39 | 40 | return token_name; 41 | } 42 | }; 43 | }); 44 | 45 | CodeMirror.defineMIME("text/x-diff", "diff"); 46 | 47 | }); 48 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/ecl/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: ECL mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

ECL mode

27 |
45 | 48 | 49 |

Based on CodeMirror's clike mode. For more information see HPCC Systems web site.

50 |

MIME types defined: text/x-ecl.

51 | 52 |
53 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/gherkin/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Gherkin mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Gherkin mode

27 |
42 | 45 | 46 |

MIME types defined: text/x-feature.

47 | 48 |
49 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/htmlembedded/htmlembedded.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror"), require("../htmlmixed/htmlmixed"), 7 | require("../../addon/mode/multiplex")); 8 | else if (typeof define == "function" && define.amd) // AMD 9 | define(["../../lib/codemirror", "../htmlmixed/htmlmixed", 10 | "../../addon/mode/multiplex"], mod); 11 | else // Plain browser env 12 | mod(CodeMirror); 13 | })(function(CodeMirror) { 14 | "use strict"; 15 | 16 | CodeMirror.defineMode("htmlembedded", function(config, parserConfig) { 17 | return CodeMirror.multiplexingMode(CodeMirror.getMode(config, "htmlmixed"), { 18 | open: parserConfig.open || parserConfig.scriptStartRegex || "<%", 19 | close: parserConfig.close || parserConfig.scriptEndRegex || "%>", 20 | mode: CodeMirror.getMode(config, parserConfig.scriptingModeSpec) 21 | }); 22 | }, "htmlmixed"); 23 | 24 | CodeMirror.defineMIME("application/x-ejs", {name: "htmlembedded", scriptingModeSpec:"javascript"}); 25 | CodeMirror.defineMIME("application/x-aspx", {name: "htmlembedded", scriptingModeSpec:"text/x-csharp"}); 26 | CodeMirror.defineMIME("application/x-jsp", {name: "htmlembedded", scriptingModeSpec:"text/x-java"}); 27 | CodeMirror.defineMIME("application/x-erb", {name: "htmlembedded", scriptingModeSpec:"ruby"}); 28 | }); 29 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/http/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: HTTP mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

HTTP mode

27 | 28 | 29 |
39 | 40 | 43 | 44 |

MIME types defined: message/http.

45 |
46 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/ntriples/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: NTriples mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 15 | 28 | 29 |
30 |

NTriples mode

31 |
32 | 39 |
40 | 41 | 44 |

MIME types defined: text/n-triples.

45 |
46 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/pascal/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Pascal mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Pascal mode

27 | 28 | 29 |
52 | 53 | 59 | 60 |

MIME types defined: text/x-pascal.

61 |
62 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/pig/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Pig Latin mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Pig Latin mode

27 |
39 | 40 | 47 | 48 |

49 | Simple mode that handles Pig Latin language. 50 |

51 | 52 |

MIME type defined: text/x-pig 53 | (PIG code) 54 | 55 |

56 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/properties/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Properties files mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Properties files mode

27 |
46 | 49 | 50 |

MIME types defined: text/x-properties, 51 | text/x-ini.

52 | 53 |
54 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/ruby/test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function() { 5 | var mode = CodeMirror.getMode({indentUnit: 2}, "ruby"); 6 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } 7 | 8 | MT("divide_equal_operator", 9 | "[variable bar] [operator /=] [variable foo]"); 10 | 11 | MT("divide_equal_operator_no_spacing", 12 | "[variable foo][operator /=][number 42]"); 13 | 14 | })(); 15 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/rust/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Rust mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Rust mode

27 | 28 | 29 |
52 | 53 | 58 | 59 |

MIME types defined: text/x-rustsrc.

60 |
61 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/solr/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Solr mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 20 | 33 | 34 |
35 |

Solr mode

36 | 37 |
38 | 47 |
48 | 49 | 55 | 56 |

MIME types defined: text/x-solr.

57 |
58 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/spreadsheet/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Spreadsheet mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 25 | 26 |
27 |

Spreadsheet mode

28 |
29 | 30 | 37 | 38 |

MIME types defined: text/x-spreadsheet.

39 | 40 |

The Spreadsheet Mode

41 |

Created by Robert Plummer

42 |
43 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/tiddlywiki/tiddlywiki.css: -------------------------------------------------------------------------------- 1 | span.cm-underlined { 2 | text-decoration: underline; 3 | } 4 | span.cm-strikethrough { 5 | text-decoration: line-through; 6 | } 7 | span.cm-brace { 8 | color: #170; 9 | font-weight: bold; 10 | } 11 | span.cm-table { 12 | color: blue; 13 | font-weight: bold; 14 | } 15 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/tiki/tiki.css: -------------------------------------------------------------------------------- 1 | .cm-tw-syntaxerror { 2 | color: #FFF; 3 | background-color: #900; 4 | } 5 | 6 | .cm-tw-deleted { 7 | text-decoration: line-through; 8 | } 9 | 10 | .cm-tw-header5 { 11 | font-weight: bold; 12 | } 13 | .cm-tw-listitem:first-child { /*Added first child to fix duplicate padding when highlighting*/ 14 | padding-left: 10px; 15 | } 16 | 17 | .cm-tw-box { 18 | border-top-width: 0px ! important; 19 | border-style: solid; 20 | border-width: 1px; 21 | border-color: inherit; 22 | } 23 | 24 | .cm-tw-underline { 25 | text-decoration: underline; 26 | } -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/turtle/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Turtle mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Turtle mode

27 |
41 | 47 | 48 |

MIME types defined: text/turtle.

49 | 50 |
51 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/vbscript/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: VBScript mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

VBScript mode

27 | 28 | 29 |
46 | 47 | 53 | 54 |

MIME types defined: text/vbscript.

55 |
56 | -------------------------------------------------------------------------------- /static/vendor/codemirror/mode/z80/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Z80 assembly mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Z80 assembly mode

27 | 28 | 29 |
45 | 46 | 51 | 52 |

MIME types defined: text/x-z80, text/x-ez80.

53 |
54 | -------------------------------------------------------------------------------- /static/vendor/codemirror/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "codemirror", 3 | "version":"5.3.0", 4 | "main": "lib/codemirror.js", 5 | "description": "In-browser code editing made bearable", 6 | "license": "MIT", 7 | "directories": {"lib": "./lib"}, 8 | "scripts": {"test": "node ./test/run.js"}, 9 | "devDependencies": {"node-static": "0.6.0", 10 | "phantomjs": "1.9.2-5", 11 | "blint": ">=0.1.1"}, 12 | "bugs": "http://github.com/codemirror/CodeMirror/issues", 13 | "keywords": ["JavaScript", "CodeMirror", "Editor"], 14 | "homepage": "http://codemirror.net", 15 | "maintainers":[{"name": "Marijn Haverbeke", 16 | "email": "marijnh@gmail.com", 17 | "web": "http://marijnhaverbeke.nl"}], 18 | "repository": {"type": "git", 19 | "url": "https://github.com/codemirror/CodeMirror.git"} 20 | } 21 | -------------------------------------------------------------------------------- /static/vendor/codemirror/test/lint.js: -------------------------------------------------------------------------------- 1 | var blint = require("blint"); 2 | 3 | ["mode", "lib", "addon", "keymap"].forEach(function(dir) { 4 | blint.checkDir(dir, { 5 | browser: true, 6 | allowedGlobals: ["CodeMirror", "define", "test", "requirejs"], 7 | blob: "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http:\/\/codemirror.net\/LICENSE\n\n" 8 | }); 9 | }); 10 | 11 | module.exports = {ok: blint.success()}; 12 | -------------------------------------------------------------------------------- /static/vendor/codemirror/test/mode_test.css: -------------------------------------------------------------------------------- 1 | .mt-output .mt-token { 2 | border: 1px solid #ddd; 3 | white-space: pre; 4 | font-family: "Consolas", monospace; 5 | text-align: center; 6 | } 7 | 8 | .mt-output .mt-style { 9 | font-size: x-small; 10 | } 11 | 12 | .mt-output .mt-state { 13 | font-size: x-small; 14 | vertical-align: top; 15 | } 16 | 17 | .mt-output .mt-state-row { 18 | display: none; 19 | } 20 | 21 | .mt-state-unhide .mt-output .mt-state-row { 22 | display: table-row; 23 | } 24 | -------------------------------------------------------------------------------- /static/vendor/codemirror/test/phantom_driver.js: -------------------------------------------------------------------------------- 1 | var page = require('webpage').create(); 2 | 3 | page.open("http://localhost:3000/test/index.html", function (status) { 4 | if (status != "success") { 5 | console.log("page couldn't be loaded successfully"); 6 | phantom.exit(1); 7 | } 8 | waitFor(function () { 9 | return page.evaluate(function () { 10 | var output = document.getElementById('status'); 11 | if (!output) { return false; } 12 | return (/^(\d+ failures?|all passed)/i).test(output.innerText); 13 | }); 14 | }, function () { 15 | var failed = page.evaluate(function () { return window.failed; }); 16 | var output = page.evaluate(function () { 17 | return document.getElementById('output').innerText + "\n" + 18 | document.getElementById('status').innerText; 19 | }); 20 | console.log(output); 21 | phantom.exit(failed > 0 ? 1 : 0); 22 | }); 23 | }); 24 | 25 | function waitFor (test, cb) { 26 | if (test()) { 27 | cb(); 28 | } else { 29 | setTimeout(function () { waitFor(test, cb); }, 250); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /static/vendor/codemirror/test/run.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var ok = require("./lint").ok; 4 | 5 | var files = new (require('node-static').Server)(); 6 | 7 | var server = require('http').createServer(function (req, res) { 8 | req.addListener('end', function () { 9 | files.serve(req, res, function (err/*, result */) { 10 | if (err) { 11 | console.error(err); 12 | process.exit(1); 13 | } 14 | }); 15 | }).resume(); 16 | }).addListener('error', function (err) { 17 | throw err; 18 | }).listen(3000, function () { 19 | var childProcess = require('child_process'); 20 | var phantomjs = require("phantomjs"); 21 | var childArgs = [ 22 | require("path").join(__dirname, 'phantom_driver.js') 23 | ]; 24 | childProcess.execFile(phantomjs.path, childArgs, function (err, stdout, stderr) { 25 | server.close(); 26 | console.log(stdout); 27 | if (err) console.error(err); 28 | if (stderr) console.error(stderr); 29 | process.exit(err || stderr || !ok ? 1 : 0); 30 | }); 31 | }); 32 | -------------------------------------------------------------------------------- /static/vendor/codemirror/theme/ambiance-mobile.css: -------------------------------------------------------------------------------- 1 | .cm-s-ambiance.CodeMirror { 2 | -webkit-box-shadow: none; 3 | -moz-box-shadow: none; 4 | box-shadow: none; 5 | } 6 | -------------------------------------------------------------------------------- /static/vendor/codemirror/theme/cobalt.css: -------------------------------------------------------------------------------- 1 | .cm-s-cobalt.CodeMirror { background: #002240; color: white; } 2 | .cm-s-cobalt div.CodeMirror-selected { background: #b36539 !important; } 3 | .cm-s-cobalt.CodeMirror ::selection { background: rgba(179, 101, 57, .99); } 4 | .cm-s-cobalt.CodeMirror ::-moz-selection { background: rgba(179, 101, 57, .99); } 5 | .cm-s-cobalt .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; } 6 | .cm-s-cobalt .CodeMirror-guttermarker { color: #ffee80; } 7 | .cm-s-cobalt .CodeMirror-guttermarker-subtle { color: #d0d0d0; } 8 | .cm-s-cobalt .CodeMirror-linenumber { color: #d0d0d0; } 9 | .cm-s-cobalt .CodeMirror-cursor { border-left: 1px solid white !important; } 10 | 11 | .cm-s-cobalt span.cm-comment { color: #08f; } 12 | .cm-s-cobalt span.cm-atom { color: #845dc4; } 13 | .cm-s-cobalt span.cm-number, .cm-s-cobalt span.cm-attribute { color: #ff80e1; } 14 | .cm-s-cobalt span.cm-keyword { color: #ffee80; } 15 | .cm-s-cobalt span.cm-string { color: #3ad900; } 16 | .cm-s-cobalt span.cm-meta { color: #ff9d00; } 17 | .cm-s-cobalt span.cm-variable-2, .cm-s-cobalt span.cm-tag { color: #9effff; } 18 | .cm-s-cobalt span.cm-variable-3, .cm-s-cobalt span.cm-def { color: white; } 19 | .cm-s-cobalt span.cm-bracket { color: #d8d8d8; } 20 | .cm-s-cobalt span.cm-builtin, .cm-s-cobalt span.cm-special { color: #ff9e59; } 21 | .cm-s-cobalt span.cm-link { color: #845dc4; } 22 | .cm-s-cobalt span.cm-error { color: #9d1e15; } 23 | 24 | .cm-s-cobalt .CodeMirror-activeline-background {background: #002D57 !important;} 25 | .cm-s-cobalt .CodeMirror-matchingbracket {outline:1px solid grey;color:white !important} 26 | -------------------------------------------------------------------------------- /static/vendor/codemirror/theme/colorforth.css: -------------------------------------------------------------------------------- 1 | .cm-s-colorforth.CodeMirror { background: #000000; color: #f8f8f8; } 2 | .cm-s-colorforth .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; } 3 | .cm-s-colorforth .CodeMirror-guttermarker { color: #FFBD40; } 4 | .cm-s-colorforth .CodeMirror-guttermarker-subtle { color: #78846f; } 5 | .cm-s-colorforth .CodeMirror-linenumber { color: #bababa; } 6 | .cm-s-colorforth .CodeMirror-cursor { border-left: 1px solid white !important; } 7 | 8 | .cm-s-colorforth span.cm-comment { color: #ededed; } 9 | .cm-s-colorforth span.cm-def { color: #ff1c1c; font-weight:bold; } 10 | .cm-s-colorforth span.cm-keyword { color: #ffd900; } 11 | .cm-s-colorforth span.cm-builtin { color: #00d95a; } 12 | .cm-s-colorforth span.cm-variable { color: #73ff00; } 13 | .cm-s-colorforth span.cm-string { color: #007bff; } 14 | .cm-s-colorforth span.cm-number { color: #00c4ff; } 15 | .cm-s-colorforth span.cm-atom { color: #606060; } 16 | 17 | .cm-s-colorforth span.cm-variable-2 { color: #EEE; } 18 | .cm-s-colorforth span.cm-variable-3 { color: #DDD; } 19 | .cm-s-colorforth span.cm-property {} 20 | .cm-s-colorforth span.cm-operator {} 21 | 22 | .cm-s-colorforth span.cm-meta { color: yellow; } 23 | .cm-s-colorforth span.cm-qualifier { color: #FFF700; } 24 | .cm-s-colorforth span.cm-bracket { color: #cc7; } 25 | .cm-s-colorforth span.cm-tag { color: #FFBD40; } 26 | .cm-s-colorforth span.cm-attribute { color: #FFF700; } 27 | .cm-s-colorforth span.cm-error { color: #f00; } 28 | 29 | .cm-s-colorforth .CodeMirror-selected { background: #333d53 !important; } 30 | 31 | .cm-s-colorforth span.cm-compilation { background: rgba(255, 255, 255, 0.12); } 32 | 33 | .cm-s-colorforth .CodeMirror-activeline-background {background: #253540 !important;} 34 | -------------------------------------------------------------------------------- /static/vendor/codemirror/theme/eclipse.css: -------------------------------------------------------------------------------- 1 | .cm-s-eclipse span.cm-meta {color: #FF1717;} 2 | .cm-s-eclipse span.cm-keyword { line-height: 1em; font-weight: bold; color: #7F0055; } 3 | .cm-s-eclipse span.cm-atom {color: #219;} 4 | .cm-s-eclipse span.cm-number {color: #164;} 5 | .cm-s-eclipse span.cm-def {color: #00f;} 6 | .cm-s-eclipse span.cm-variable {color: black;} 7 | .cm-s-eclipse span.cm-variable-2 {color: #0000C0;} 8 | .cm-s-eclipse span.cm-variable-3 {color: #0000C0;} 9 | .cm-s-eclipse span.cm-property {color: black;} 10 | .cm-s-eclipse span.cm-operator {color: black;} 11 | .cm-s-eclipse span.cm-comment {color: #3F7F5F;} 12 | .cm-s-eclipse span.cm-string {color: #2A00FF;} 13 | .cm-s-eclipse span.cm-string-2 {color: #f50;} 14 | .cm-s-eclipse span.cm-qualifier {color: #555;} 15 | .cm-s-eclipse span.cm-builtin {color: #30a;} 16 | .cm-s-eclipse span.cm-bracket {color: #cc7;} 17 | .cm-s-eclipse span.cm-tag {color: #170;} 18 | .cm-s-eclipse span.cm-attribute {color: #00c;} 19 | .cm-s-eclipse span.cm-link {color: #219;} 20 | .cm-s-eclipse span.cm-error {color: #f00;} 21 | 22 | .cm-s-eclipse .CodeMirror-activeline-background {background: #e8f2ff !important;} 23 | .cm-s-eclipse .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 24 | -------------------------------------------------------------------------------- /static/vendor/codemirror/theme/elegant.css: -------------------------------------------------------------------------------- 1 | .cm-s-elegant span.cm-number, .cm-s-elegant span.cm-string, .cm-s-elegant span.cm-atom {color: #762;} 2 | .cm-s-elegant span.cm-comment {color: #262; font-style: italic; line-height: 1em;} 3 | .cm-s-elegant span.cm-meta {color: #555; font-style: italic; line-height: 1em;} 4 | .cm-s-elegant span.cm-variable {color: black;} 5 | .cm-s-elegant span.cm-variable-2 {color: #b11;} 6 | .cm-s-elegant span.cm-qualifier {color: #555;} 7 | .cm-s-elegant span.cm-keyword {color: #730;} 8 | .cm-s-elegant span.cm-builtin {color: #30a;} 9 | .cm-s-elegant span.cm-link {color: #762;} 10 | .cm-s-elegant span.cm-error {background-color: #fdd;} 11 | 12 | .cm-s-elegant .CodeMirror-activeline-background {background: #e8f2ff !important;} 13 | .cm-s-elegant .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 14 | -------------------------------------------------------------------------------- /static/vendor/codemirror/theme/monokai.css: -------------------------------------------------------------------------------- 1 | /* Based on Sublime Text's Monokai theme */ 2 | 3 | .cm-s-monokai.CodeMirror {background: #272822; color: #f8f8f2;} 4 | .cm-s-monokai div.CodeMirror-selected {background: #49483E !important;} 5 | .cm-s-monokai.CodeMirror ::selection { background: rgba(73, 72, 62, .99); } 6 | .cm-s-monokai.CodeMirror ::-moz-selection { background: rgba(73, 72, 62, .99); } 7 | .cm-s-monokai .CodeMirror-gutters {background: #272822; border-right: 0px;} 8 | .cm-s-monokai .CodeMirror-guttermarker { color: white; } 9 | .cm-s-monokai .CodeMirror-guttermarker-subtle { color: #d0d0d0; } 10 | .cm-s-monokai .CodeMirror-linenumber {color: #d0d0d0;} 11 | .cm-s-monokai .CodeMirror-cursor {border-left: 1px solid #f8f8f0 !important;} 12 | 13 | .cm-s-monokai span.cm-comment {color: #75715e;} 14 | .cm-s-monokai span.cm-atom {color: #ae81ff;} 15 | .cm-s-monokai span.cm-number {color: #ae81ff;} 16 | 17 | .cm-s-monokai span.cm-property, .cm-s-monokai span.cm-attribute {color: #a6e22e;} 18 | .cm-s-monokai span.cm-keyword {color: #f92672;} 19 | .cm-s-monokai span.cm-string {color: #e6db74;} 20 | 21 | .cm-s-monokai span.cm-variable {color: #f8f8f2;} 22 | .cm-s-monokai span.cm-variable-2 {color: #9effff;} 23 | .cm-s-monokai span.cm-variable-3 {color: #66d9ef;} 24 | .cm-s-monokai span.cm-def {color: #fd971f;} 25 | .cm-s-monokai span.cm-bracket {color: #f8f8f2;} 26 | .cm-s-monokai span.cm-tag {color: #f92672;} 27 | .cm-s-monokai span.cm-link {color: #ae81ff;} 28 | .cm-s-monokai span.cm-error {background: #f92672; color: #f8f8f0;} 29 | 30 | .cm-s-monokai .CodeMirror-activeline-background {background: #373831 !important;} 31 | .cm-s-monokai .CodeMirror-matchingbracket { 32 | text-decoration: underline; 33 | color: white !important; 34 | } 35 | -------------------------------------------------------------------------------- /static/vendor/codemirror/theme/neat.css: -------------------------------------------------------------------------------- 1 | .cm-s-neat span.cm-comment { color: #a86; } 2 | .cm-s-neat span.cm-keyword { line-height: 1em; font-weight: bold; color: blue; } 3 | .cm-s-neat span.cm-string { color: #a22; } 4 | .cm-s-neat span.cm-builtin { line-height: 1em; font-weight: bold; color: #077; } 5 | .cm-s-neat span.cm-special { line-height: 1em; font-weight: bold; color: #0aa; } 6 | .cm-s-neat span.cm-variable { color: black; } 7 | .cm-s-neat span.cm-number, .cm-s-neat span.cm-atom { color: #3a3; } 8 | .cm-s-neat span.cm-meta {color: #555;} 9 | .cm-s-neat span.cm-link { color: #3a3; } 10 | 11 | .cm-s-neat .CodeMirror-activeline-background {background: #e8f2ff !important;} 12 | .cm-s-neat .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 13 | -------------------------------------------------------------------------------- /static/vendor/codemirror/theme/neo.css: -------------------------------------------------------------------------------- 1 | /* neo theme for codemirror */ 2 | 3 | /* Color scheme */ 4 | 5 | .cm-s-neo.CodeMirror { 6 | background-color:#ffffff; 7 | color:#2e383c; 8 | line-height:1.4375; 9 | } 10 | .cm-s-neo .cm-comment {color:#75787b} 11 | .cm-s-neo .cm-keyword, .cm-s-neo .cm-property {color:#1d75b3} 12 | .cm-s-neo .cm-atom,.cm-s-neo .cm-number {color:#75438a} 13 | .cm-s-neo .cm-node,.cm-s-neo .cm-tag {color:#9c3328} 14 | .cm-s-neo .cm-string {color:#b35e14} 15 | .cm-s-neo .cm-variable,.cm-s-neo .cm-qualifier {color:#047d65} 16 | 17 | 18 | /* Editor styling */ 19 | 20 | .cm-s-neo pre { 21 | padding:0; 22 | } 23 | 24 | .cm-s-neo .CodeMirror-gutters { 25 | border:none; 26 | border-right:10px solid transparent; 27 | background-color:transparent; 28 | } 29 | 30 | .cm-s-neo .CodeMirror-linenumber { 31 | padding:0; 32 | color:#e0e2e5; 33 | } 34 | 35 | .cm-s-neo .CodeMirror-guttermarker { color: #1d75b3; } 36 | .cm-s-neo .CodeMirror-guttermarker-subtle { color: #e0e2e5; } 37 | 38 | .cm-s-neo div.CodeMirror-cursor { 39 | width: auto; 40 | border: 0; 41 | background: rgba(155,157,162,0.37); 42 | z-index: 1; 43 | } 44 | -------------------------------------------------------------------------------- /static/vendor/codemirror/theme/night.css: -------------------------------------------------------------------------------- 1 | /* Loosely based on the Midnight Textmate theme */ 2 | 3 | .cm-s-night.CodeMirror { background: #0a001f; color: #f8f8f8; } 4 | .cm-s-night div.CodeMirror-selected { background: #447 !important; } 5 | .cm-s-night.CodeMirror ::selection { background: rgba(68, 68, 119, .99); } 6 | .cm-s-night.CodeMirror ::-moz-selection { background: rgba(68, 68, 119, .99); } 7 | .cm-s-night .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; } 8 | .cm-s-night .CodeMirror-guttermarker { color: white; } 9 | .cm-s-night .CodeMirror-guttermarker-subtle { color: #bbb; } 10 | .cm-s-night .CodeMirror-linenumber { color: #f8f8f8; } 11 | .cm-s-night .CodeMirror-cursor { border-left: 1px solid white !important; } 12 | 13 | .cm-s-night span.cm-comment { color: #6900a1; } 14 | .cm-s-night span.cm-atom { color: #845dc4; } 15 | .cm-s-night span.cm-number, .cm-s-night span.cm-attribute { color: #ffd500; } 16 | .cm-s-night span.cm-keyword { color: #599eff; } 17 | .cm-s-night span.cm-string { color: #37f14a; } 18 | .cm-s-night span.cm-meta { color: #7678e2; } 19 | .cm-s-night span.cm-variable-2, .cm-s-night span.cm-tag { color: #99b2ff; } 20 | .cm-s-night span.cm-variable-3, .cm-s-night span.cm-def { color: white; } 21 | .cm-s-night span.cm-bracket { color: #8da6ce; } 22 | .cm-s-night span.cm-comment { color: #6900a1; } 23 | .cm-s-night span.cm-builtin, .cm-s-night span.cm-special { color: #ff9e59; } 24 | .cm-s-night span.cm-link { color: #845dc4; } 25 | .cm-s-night span.cm-error { color: #9d1e15; } 26 | 27 | .cm-s-night .CodeMirror-activeline-background {background: #1C005A !important;} 28 | .cm-s-night .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;} 29 | -------------------------------------------------------------------------------- /static/vendor/codemirror/theme/rubyblue.css: -------------------------------------------------------------------------------- 1 | .cm-s-rubyblue.CodeMirror { background: #112435; color: white; } 2 | .cm-s-rubyblue div.CodeMirror-selected { background: #38566F !important; } 3 | .cm-s-rubyblue.CodeMirror ::selection { background: rgba(56, 86, 111, 0.99); } 4 | .cm-s-rubyblue.CodeMirror ::-moz-selection { background: rgba(56, 86, 111, 0.99); } 5 | .cm-s-rubyblue .CodeMirror-gutters { background: #1F4661; border-right: 7px solid #3E7087; } 6 | .cm-s-rubyblue .CodeMirror-guttermarker { color: white; } 7 | .cm-s-rubyblue .CodeMirror-guttermarker-subtle { color: #3E7087; } 8 | .cm-s-rubyblue .CodeMirror-linenumber { color: white; } 9 | .cm-s-rubyblue .CodeMirror-cursor { border-left: 1px solid white !important; } 10 | 11 | .cm-s-rubyblue span.cm-comment { color: #999; font-style:italic; line-height: 1em; } 12 | .cm-s-rubyblue span.cm-atom { color: #F4C20B; } 13 | .cm-s-rubyblue span.cm-number, .cm-s-rubyblue span.cm-attribute { color: #82C6E0; } 14 | .cm-s-rubyblue span.cm-keyword { color: #F0F; } 15 | .cm-s-rubyblue span.cm-string { color: #F08047; } 16 | .cm-s-rubyblue span.cm-meta { color: #F0F; } 17 | .cm-s-rubyblue span.cm-variable-2, .cm-s-rubyblue span.cm-tag { color: #7BD827; } 18 | .cm-s-rubyblue span.cm-variable-3, .cm-s-rubyblue span.cm-def { color: white; } 19 | .cm-s-rubyblue span.cm-bracket { color: #F0F; } 20 | .cm-s-rubyblue span.cm-link { color: #F4C20B; } 21 | .cm-s-rubyblue span.CodeMirror-matchingbracket { color:#F0F !important; } 22 | .cm-s-rubyblue span.cm-builtin, .cm-s-rubyblue span.cm-special { color: #FF9D00; } 23 | .cm-s-rubyblue span.cm-error { color: #AF2018; } 24 | 25 | .cm-s-rubyblue .CodeMirror-activeline-background {background: #173047 !important;} 26 | -------------------------------------------------------------------------------- /static/vendor/codemirror/theme/the-matrix.css: -------------------------------------------------------------------------------- 1 | .cm-s-the-matrix.CodeMirror { background: #000000; color: #00FF00; } 2 | .cm-s-the-matrix div.CodeMirror-selected { background: #2D2D2D !important; } 3 | .cm-s-the-matrix.CodeMirror ::selection { background: rgba(45, 45, 45, 0.99); } 4 | .cm-s-the-matrix.CodeMirror ::-moz-selection { background: rgba(45, 45, 45, 0.99); } 5 | .cm-s-the-matrix .CodeMirror-gutters { background: #060; border-right: 2px solid #00FF00; } 6 | .cm-s-the-matrix .CodeMirror-guttermarker { color: #0f0; } 7 | .cm-s-the-matrix .CodeMirror-guttermarker-subtle { color: white; } 8 | .cm-s-the-matrix .CodeMirror-linenumber { color: #FFFFFF; } 9 | .cm-s-the-matrix .CodeMirror-cursor { border-left: 1px solid #00FF00 !important; } 10 | 11 | .cm-s-the-matrix span.cm-keyword {color: #008803; font-weight: bold;} 12 | .cm-s-the-matrix span.cm-atom {color: #3FF;} 13 | .cm-s-the-matrix span.cm-number {color: #FFB94F;} 14 | .cm-s-the-matrix span.cm-def {color: #99C;} 15 | .cm-s-the-matrix span.cm-variable {color: #F6C;} 16 | .cm-s-the-matrix span.cm-variable-2 {color: #C6F;} 17 | .cm-s-the-matrix span.cm-variable-3 {color: #96F;} 18 | .cm-s-the-matrix span.cm-property {color: #62FFA0;} 19 | .cm-s-the-matrix span.cm-operator {color: #999} 20 | .cm-s-the-matrix span.cm-comment {color: #CCCCCC;} 21 | .cm-s-the-matrix span.cm-string {color: #39C;} 22 | .cm-s-the-matrix span.cm-meta {color: #C9F;} 23 | .cm-s-the-matrix span.cm-qualifier {color: #FFF700;} 24 | .cm-s-the-matrix span.cm-builtin {color: #30a;} 25 | .cm-s-the-matrix span.cm-bracket {color: #cc7;} 26 | .cm-s-the-matrix span.cm-tag {color: #FFBD40;} 27 | .cm-s-the-matrix span.cm-attribute {color: #FFF700;} 28 | .cm-s-the-matrix span.cm-error {color: #FF0000;} 29 | 30 | .cm-s-the-matrix .CodeMirror-activeline-background {background: #040;} 31 | -------------------------------------------------------------------------------- /static/vendor/jasmine/MIT.LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2008-2011 Pivotal Labs 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /static/vendor/slides/css/prettify.css: -------------------------------------------------------------------------------- 1 | /* Pretty printing styles. Used with prettify.js. */ 2 | 3 | /* SPAN elements with the classes below are added by prettyprint. */ 4 | .str { color: #080; } 5 | .kwd { color: #008; } 6 | .com { color: #800; } 7 | .typ { color: #606; } 8 | .lit { color: #066; } 9 | .pun, .opn, .clo { color: #660; } 10 | .pln { color: #000; } 11 | .tag { color: #008; } 12 | .atn { color: #606; } 13 | .atv { color: #080; } 14 | .dec { color: #606; } 15 | 16 | /* Use higher contrast and font-styling for printable form. */ 17 | @media print { 18 | .str { color: #060; } 19 | .kwd { color: #006; font-weight: bold; } 20 | .com { color: #600; font-style: italic; } 21 | .typ { color: #404; font-weight: bold; } 22 | .lit { color: #044; } 23 | .pun, .opn, .clo { color: #440; } 24 | .pln { color: #000; } 25 | .tag { color: #006; font-weight: bold; } 26 | .atn { color: #404; } 27 | .atv { color: #060; } 28 | } 29 | 30 | /* Put a border around prettyprinted code snippets. */ 31 | pre.prettyprint { } 32 | 33 | /* Specify class=linenums on a pre to get line numbering */ 34 | ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */ 35 | li.L0, 36 | li.L1, 37 | li.L2, 38 | li.L3, 39 | li.L5, 40 | li.L6, 41 | li.L7, 42 | li.L8 { list-style-type: none } 43 | /* Alternate shading for lines */ 44 | li.L1, 45 | li.L3, 46 | li.L5, 47 | li.L7, 48 | li.L9 { background: #eee } 49 | --------------------------------------------------------------------------------