├── .github └── workflows │ └── main.yml ├── .gitignore ├── .vscode └── extensions.json ├── LICENSE ├── README.md ├── index.html ├── package-lock.json ├── package.json ├── public ├── .nojekyll ├── ace │ ├── css │ │ ├── ace.css │ │ ├── monokai-1.png │ │ ├── monokai-2.png │ │ └── theme │ │ │ └── monokai.css │ └── src-min │ │ ├── ace.js │ │ ├── ext-beautify.js │ │ ├── ext-code_lens.js │ │ ├── ext-elastic_tabstops_lite.js │ │ ├── ext-emmet.js │ │ ├── ext-error_marker.js │ │ ├── ext-hardwrap.js │ │ ├── ext-keybinding_menu.js │ │ ├── ext-language_tools.js │ │ ├── ext-linking.js │ │ ├── ext-modelist.js │ │ ├── ext-options.js │ │ ├── ext-prompt.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-sublime.js │ │ ├── keybinding-vim.js │ │ ├── keybinding-vscode.js │ │ ├── mode-abap.js │ │ ├── mode-abc.js │ │ ├── mode-actionscript.js │ │ ├── mode-ada.js │ │ ├── mode-alda.js │ │ ├── mode-apache_conf.js │ │ ├── mode-apex.js │ │ ├── mode-applescript.js │ │ ├── mode-aql.js │ │ ├── mode-asciidoc.js │ │ ├── mode-asl.js │ │ ├── mode-assembly_x86.js │ │ ├── mode-autohotkey.js │ │ ├── mode-batchfile.js │ │ ├── mode-bibtex.js │ │ ├── mode-c9search.js │ │ ├── mode-c_cpp.js │ │ ├── mode-cirru.js │ │ ├── mode-clojure.js │ │ ├── mode-cobol.js │ │ ├── mode-coffee.js │ │ ├── mode-coldfusion.js │ │ ├── mode-crystal.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-ion.js │ │ ├── mode-jack.js │ │ ├── mode-jade.js │ │ ├── mode-java.js │ │ ├── mode-javascript.js │ │ ├── mode-jexl.js │ │ ├── mode-json.js │ │ ├── mode-json5.js │ │ ├── mode-jsoniq.js │ │ ├── mode-jsp.js │ │ ├── mode-jssm.js │ │ ├── mode-jsx.js │ │ ├── mode-julia.js │ │ ├── mode-kotlin.js │ │ ├── mode-latex.js │ │ ├── mode-latte.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-mediawiki.js │ │ ├── mode-mel.js │ │ ├── mode-mips.js │ │ ├── mode-mixal.js │ │ ├── mode-mushcode.js │ │ ├── mode-mysql.js │ │ ├── mode-nginx.js │ │ ├── mode-nim.js │ │ ├── mode-nix.js │ │ ├── mode-nsis.js │ │ ├── mode-nunjucks.js │ │ ├── mode-objectivec.js │ │ ├── mode-ocaml.js │ │ ├── mode-partiql.js │ │ ├── mode-pascal.js │ │ ├── mode-perl.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-prisma.js │ │ ├── mode-prolog.js │ │ ├── mode-properties.js │ │ ├── mode-protobuf.js │ │ ├── mode-puppet.js │ │ ├── mode-python.js │ │ ├── mode-qml.js │ │ ├── mode-r.js │ │ ├── mode-raku.js │ │ ├── mode-razor.js │ │ ├── mode-rdoc.js │ │ ├── mode-red.js │ │ ├── mode-redshift.js │ │ ├── mode-rhtml.js │ │ ├── mode-robot.js │ │ ├── mode-rst.js │ │ ├── mode-ruby.js │ │ ├── mode-rust.js │ │ ├── mode-sac.js │ │ ├── mode-sass.js │ │ ├── mode-scad.js │ │ ├── mode-scala.js │ │ ├── mode-scheme.js │ │ ├── mode-scrypt.js │ │ ├── mode-scss.js │ │ ├── mode-sh.js │ │ ├── mode-sjs.js │ │ ├── mode-slim.js │ │ ├── mode-smarty.js │ │ ├── mode-smithy.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 │ │ ├── mode-zeek.js │ │ ├── snippets │ │ ├── abap.js │ │ ├── abc.js │ │ ├── actionscript.js │ │ ├── ada.js │ │ ├── alda.js │ │ ├── apache_conf.js │ │ ├── apex.js │ │ ├── applescript.js │ │ ├── aql.js │ │ ├── asciidoc.js │ │ ├── asl.js │ │ ├── assembly_x86.js │ │ ├── autohotkey.js │ │ ├── batchfile.js │ │ ├── bibtex.js │ │ ├── c9search.js │ │ ├── c_cpp.js │ │ ├── cirru.js │ │ ├── clojure.js │ │ ├── cobol.js │ │ ├── coffee.js │ │ ├── coldfusion.js │ │ ├── crystal.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 │ │ ├── ion.js │ │ ├── jack.js │ │ ├── jade.js │ │ ├── java.js │ │ ├── javascript.js │ │ ├── jexl.js │ │ ├── json.js │ │ ├── json5.js │ │ ├── jsoniq.js │ │ ├── jsp.js │ │ ├── jssm.js │ │ ├── jsx.js │ │ ├── julia.js │ │ ├── kotlin.js │ │ ├── latex.js │ │ ├── latte.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 │ │ ├── mediawiki.js │ │ ├── mel.js │ │ ├── mips.js │ │ ├── mixal.js │ │ ├── mushcode.js │ │ ├── mysql.js │ │ ├── nginx.js │ │ ├── nim.js │ │ ├── nix.js │ │ ├── nsis.js │ │ ├── nunjucks.js │ │ ├── objectivec.js │ │ ├── ocaml.js │ │ ├── partiql.js │ │ ├── pascal.js │ │ ├── perl.js │ │ ├── pgsql.js │ │ ├── php.js │ │ ├── php_laravel_blade.js │ │ ├── pig.js │ │ ├── plain_text.js │ │ ├── powershell.js │ │ ├── praat.js │ │ ├── prisma.js │ │ ├── prolog.js │ │ ├── properties.js │ │ ├── protobuf.js │ │ ├── puppet.js │ │ ├── python.js │ │ ├── qml.js │ │ ├── r.js │ │ ├── raku.js │ │ ├── razor.js │ │ ├── rdoc.js │ │ ├── red.js │ │ ├── redshift.js │ │ ├── rhtml.js │ │ ├── robot.js │ │ ├── rst.js │ │ ├── ruby.js │ │ ├── rust.js │ │ ├── sac.js │ │ ├── sass.js │ │ ├── scad.js │ │ ├── scala.js │ │ ├── scheme.js │ │ ├── scrypt.js │ │ ├── scss.js │ │ ├── sh.js │ │ ├── sjs.js │ │ ├── slim.js │ │ ├── smarty.js │ │ ├── smithy.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 │ │ └── zeek.js │ │ ├── theme-monokai.js │ │ ├── worker-base.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 │ │ └── worker-yaml.js ├── buymeacoffee.png ├── favicon.png ├── js │ ├── nunjucks.js │ ├── pollyjs-adapter-fetch.js │ ├── pollyjs-adapter-xhr.js │ └── pollyjs-core.js ├── logo_full.png ├── logo_transparent.png ├── logo_transparent_96.png └── playgrounds │ ├── .loader.html │ ├── activesearch │ ├── .playground.json │ ├── index.html │ ├── results.html │ └── server.js │ ├── boostrapmodaldialog │ ├── .playground.json │ ├── index.html │ ├── modal.html │ └── server.js │ ├── clicktoedit │ ├── .playground.json │ ├── contact-edit.html │ ├── contact.html │ ├── index.html │ └── server.js │ ├── clicktoload │ ├── .playground.json │ ├── index.html │ ├── loadmore.html │ └── server.js │ ├── infinitescroll │ ├── .playground.json │ ├── index.html │ ├── loadmore.html │ └── server.js │ └── welcome │ ├── .playground.json │ ├── button.html │ ├── index.html │ └── server.js ├── src ├── App.svelte ├── assets │ ├── app.css │ └── sharpdark.json ├── components │ ├── Ace.svelte │ ├── LogView.svelte │ ├── Monaco.svelte │ ├── Resizer.svelte │ └── layout │ │ ├── Editor.svelte │ │ ├── NetworkViewer.svelte │ │ ├── Sandbox.svelte │ │ └── Sidebar.svelte ├── main.js ├── playground.ts ├── session.ts └── vite-env.d.ts ├── svelte.config.js ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | # Simple workflow for deploying static content to GitHub Pages 2 | name: Deploy static content to Pages 3 | 4 | on: 5 | # Runs on pushes targeting the default branch 6 | push: 7 | branches: ['main'] 8 | 9 | # Allows you to run this workflow manually from the Actions tab 10 | workflow_dispatch: 11 | 12 | # Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages 13 | permissions: 14 | contents: read 15 | pages: write 16 | id-token: write 17 | 18 | # Allow one concurrent deployment 19 | concurrency: 20 | group: 'pages' 21 | cancel-in-progress: true 22 | 23 | jobs: 24 | # Single deploy job since we're just deploying 25 | deploy: 26 | environment: 27 | name: github-pages 28 | url: ${{ steps.deployment.outputs.page_url }} 29 | runs-on: ubuntu-latest 30 | steps: 31 | - name: Checkout 32 | uses: actions/checkout@v4 33 | - name: Set up Node 34 | uses: actions/setup-node@v3 35 | with: 36 | node-version: 18 37 | cache: 'npm' 38 | - name: Install dependencies 39 | run: npm install 40 | - name: Build 41 | run: npm run build 42 | - name: Setup Pages 43 | uses: actions/configure-pages@v3 44 | - name: Upload artifact 45 | uses: actions/upload-pages-artifact@v2 46 | with: 47 | # Upload dist repository 48 | path: './dist' 49 | - name: Deploy to GitHub Pages 50 | id: deployment 51 | uses: actions/deploy-pages@v2 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["svelte.svelte-vscode"] 3 | } 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 Lasse Holmgaard Bomholt 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

HTMX Playground

2 | 3 | HTMX Playground 4 | 5 |

6 | This is a simple code sandbox for playing around with HTMX. No setup needed! 7 |

8 |

9 | It allows you to write code in a backend-like environment, running entirely inside the browser. You can define endpoints within server.js and render your own templates. It will run a mock server that intercepts outgoing requests from HTMX. The request handling and templating engine should be very familiar to people who use Django. In principle, this project isn't specific to HTMX, so you are free to try out other libraries as well. 10 |

11 |

12 | Check out the examples! I've adapted them from the original htmx.org examples. 13 |

14 | 15 |

Saving & sharing

16 |
    17 |
  1. Press "Copy as JSON" in the top right.
  2. 18 |
  3. Upload the contents as a Gist, and enter the raw URL in "Load Playground"
  4. 19 |
  5. The URL on this page will update, and can now be shared.
  6. 20 |
21 | 22 |

Limitations

23 | 27 | 28 |

Libraries used

29 | 35 | 36 |

Contributing

37 |

38 | I made this project because I wanted it to exist, and nothing else. You are welcome to create issues, and I'll look into it when I have time, but expect a bumpy road if you want to extend the code yourself. 39 |

40 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "htmx-playground-2", 3 | "private": true, 4 | "version": "0.0.0", 5 | "type": "module", 6 | "scripts": { 7 | "dev": "vite", 8 | "build": "vite build", 9 | "preview": "vite preview", 10 | "check": "svelte-check --tsconfig ./tsconfig.json" 11 | }, 12 | "devDependencies": { 13 | "@sveltejs/vite-plugin-svelte": "^1.1.0", 14 | "@tsconfig/svelte": "^3.0.0", 15 | "svelte": "^3.52.0", 16 | "svelte-check": "^2.9.2", 17 | "svelte-preprocess": "^4.10.7", 18 | "tslib": "^2.4.0", 19 | "typescript": "^4.6.4", 20 | "vite": "^3.2.3" 21 | }, 22 | "dependencies": { 23 | "@babel/parser": "^7.20.5", 24 | "@babel/traverse": "^7.20.5", 25 | "@types/marked": "^4.0.7", 26 | "highlight.js": "^11.7.0", 27 | "isomorphic-dompurify": "^0.24.0", 28 | "lz-string": "^1.5.0", 29 | "marked": "^4.2.3", 30 | "monaco-editor": "^0.34.1", 31 | "monaco-jsx-highlighter": "^2.0.4", 32 | "monaco-jsx-syntax-highlight": "^1.2.0", 33 | "monaco-themes": "^0.4.3", 34 | "svelte-writable-derived": "^2.1.5" 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /public/.nojekyll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lassebomh/htmx-playground/e282636dee4ed80a937daabb57cdea6977cc4e34/public/.nojekyll -------------------------------------------------------------------------------- /public/ace/css/monokai-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lassebomh/htmx-playground/e282636dee4ed80a937daabb57cdea6977cc4e34/public/ace/css/monokai-1.png -------------------------------------------------------------------------------- /public/ace/css/monokai-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lassebomh/htmx-playground/e282636dee4ed80a937daabb57cdea6977cc4e34/public/ace/css/monokai-2.png -------------------------------------------------------------------------------- /public/ace/css/theme/monokai.css: -------------------------------------------------------------------------------- 1 | .ace-monokai .ace_gutter { 2 | background: #222; 3 | color: #8F908A 4 | } 5 | 6 | .ace-monokai .ace_print-margin { 7 | width: 0px; 8 | background: #555651 9 | } 10 | 11 | .ace-monokai { 12 | background-color: #222222; 13 | color: #F8F8F2 14 | } 15 | 16 | .ace-monokai .ace_cursor { 17 | color: #F8F8F0 18 | } 19 | 20 | .ace-monokai .ace_marker-layer .ace_selection { 21 | background: #3E3E3E 22 | } 23 | 24 | .ace-monokai.ace_multiselect .ace_selection.ace_start { 25 | box-shadow: 0 0 3px 0px #222222; 26 | } 27 | 28 | .ace-monokai .ace_marker-layer .ace_step { 29 | background: rgb(102, 82, 0) 30 | } 31 | 32 | .ace-monokai .ace_marker-layer .ace_bracket { 33 | margin: -1px 0 0 -1px; 34 | border: 1px solid #3E3E3E 35 | } 36 | 37 | .ace-monokai .ace_marker-layer .ace_active-line { 38 | background: #2d2c2d 39 | } 40 | 41 | .ace-monokai .ace_gutter-active-line { 42 | background-color: #222; 43 | } 44 | 45 | .ace-monokai .ace_marker-layer .ace_selected-word { 46 | border: 1px solid #3E3E3E 47 | } 48 | 49 | .ace-monokai .ace_invisible { 50 | color: #52524d 51 | } 52 | 53 | .ace-monokai .ace_entity.ace_name.ace_tag, 54 | .ace-monokai .ace_keyword, 55 | .ace-monokai .ace_meta.ace_tag, 56 | .ace-monokai .ace_storage { 57 | color: #fa5080 58 | } 59 | 60 | .ace-monokai .ace_punctuation, 61 | .ace-monokai .ace_punctuation.ace_tag { 62 | color: #8b888f 63 | } 64 | 65 | .ace-monokai .ace_constant.ace_character, 66 | .ace-monokai .ace_constant.ace_language, 67 | .ace-monokai .ace_constant.ace_numeric, 68 | .ace-monokai .ace_constant.ace_other { 69 | color: #AE81FF 70 | } 71 | 72 | .ace-monokai .ace_invalid { 73 | color: #F8F8F0; 74 | background-color: #FC618D 75 | } 76 | 77 | .ace-monokai .ace_invalid.ace_deprecated { 78 | color: #F8F8F0; 79 | background-color: #AE81FF 80 | } 81 | 82 | .ace-monokai .ace_support.ace_constant, 83 | .ace-monokai .ace_support.ace_function { 84 | color: #66D9EF 85 | } 86 | 87 | .ace-monokai .ace_fold { 88 | background-color: #5ad4e6; 89 | border-color: #F8F8F2 90 | } 91 | 92 | .ace-monokai .ace_storage.ace_type, 93 | .ace-monokai .ace_support.ace_class, 94 | .ace-monokai .ace_support.ace_type { 95 | font-style: italic; 96 | color: #66D9EF 97 | } 98 | 99 | /* fc618d */ 100 | 101 | .ace-monokai .ace_entity.ace_name.ace_function, 102 | .ace-monokai .ace_entity.ace_other, 103 | .ace-monokai .ace_entity.ace_other.ace_attribute-name, 104 | .ace-monokai .ace_variable { 105 | color: #5ad4e6; 106 | font-style: italic; 107 | } 108 | 109 | .ace-monokai .ace_variable.ace_parameter { 110 | font-style: italic; 111 | color: #FD971F 112 | } 113 | 114 | .ace-monokai .ace_string { 115 | color: #E6DB74 116 | } 117 | 118 | .ace-monokai .ace_comment { 119 | color: #75715E 120 | } 121 | 122 | /* .ace-monokai .ace_indent-guide { 123 | background: url("../monokai-1.png") right repeat-y 124 | } */ 125 | /* 126 | .ace-monokai .ace_indent-guide-active { 127 | background: url("../monokai-2.png") right repeat-y; 128 | } */ 129 | -------------------------------------------------------------------------------- /public/ace/src-min/ext-error_marker.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/ext/error_marker"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/ext-hardwrap.js: -------------------------------------------------------------------------------- 1 | define("ace/ext/hardwrap",["require","exports","module","ace/range","ace/editor","ace/config"],function(e,t,n){"use strict";function i(e,t){function m(e,t,n){if(e.lengthn)return{start:o.index,end:o.index+o[2].length};if(s&&s[2])return u=t+s[2].length,{start:u,end:u+s[3].length}}var n=t.column||e.getOption("printMarginColumn"),i=t.allowMerge!=0,s=Math.min(t.startRow,t.endRow),o=Math.max(t.startRow,t.endRow),u=e.session;while(s<=o){var a=u.getLine(s);if(a.length>n){var f=m(a,n,5);if(f){var l=/^\s*/.exec(a)[0];u.replace(new r(s,f.start,s,f.end),"\n"+l)}o++}else if(i&&/\S/.test(a)&&s!=o){var c=u.getLine(s+1);if(c&&/\S/.test(c)){var h=a.replace(/\s+$/,""),p=c.replace(/^\s+/,""),d=h+" "+p,f=m(d,n,5);if(f&&f.start>h.length||d.length0?t.getSelection().moveCursorTo(n.row-1,t.session.getLine(n.row-1).length):t.getSelection().isEmpty()?n.column+=1:n.setPosition(n.row,n.column+1))}function o(e){e.editor.session.$bidiHandler.isMoveLeftOperation=/gotoleft|selectleft|backspace|removewordleft/.test(e.command.name)}function u(e,t){var n=t.session;n.$bidiHandler.currentRow=null;if(n.$bidiHandler.isRtlLine(e.start.row)&&e.action==="insert"&&e.lines.length>1)for(var r=e.start.row;r|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]}};r.inherits(s,i),t.AdaHighlightRules=s}),define("ace/mode/ada",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/ada_highlight_rules","ace/range"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./ada_highlight_rules").AdaHighlightRules,o=e("../range").Range,u=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(u,i),function(){this.lineCommentStart="--",this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t),i=this.getTokenizer().getLineTokens(t,e),s=i.tokens;if(s.length&&s[s.length-1].type=="comment")return r;if(e=="start"){var o=t.match(/^.*(begin|loop|then|is|do)\s*$/);o&&(r+=n)}return r},this.checkOutdent=function(e,t,n){var r=t+n;return r.match(/^\s*(begin|end)$/)?!0:!1},this.autoOutdent=function(e,t,n){var r=t.getLine(n),i=t.getLine(n-1),s=this.$getIndent(i).length,u=this.$getIndent(r).length;if(u<=s)return;t.outdentRows(new o(n,0,n+2,0))},this.$id="ace/mode/ada"}.call(u.prototype),t.Mode=u}); (function() { 2 | window.require(["ace/mode/ada"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/mode-cobol.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/cobol_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="ACCEPT|MERGE|SUM|ADD||MESSAGE|TABLE|ADVANCING|MODE|TAPE|AFTER|MULTIPLY|TEST|ALL|NEGATIVE|TEXT|ALPHABET|NEXT|THAN|ALSO|NO|THEN|ALTERNATE|NOT|THROUGH|AND|NUMBER|THRU|ANY|OCCURS|TIME|ARE|OF|TO|AREA|OFF|TOP||ASCENDING|OMITTED|TRUE|ASSIGN|ON|TYPE|AT|OPEN|UNIT|AUTHOR|OR|UNTIL|BEFORE|OTHER|UP|BLANK|OUTPUT|USE|BLOCK|PAGE|USING|BOTTOM|PERFORM|VALUE|BY|PIC|VALUES|CALL|PICTURE|WHEN|CANCEL|PLUS|WITH|CD|POINTER|WRITE|CHARACTER|POSITION||ZERO|CLOSE|POSITIVE|ZEROS|COLUMN|PROCEDURE|ZEROES|COMMA|PROGRAM|COMMON|PROGRAM-ID|COMMUNICATION|QUOTE|COMP|RANDOM|COMPUTE|READ|CONTAINS|RECEIVE|CONFIGURATION|RECORD|CONTINUE|REDEFINES|CONTROL|REFERENCE|COPY|REMAINDER|COUNT|REPLACE|DATA|REPORT|DATE|RESERVE|DAY|RESET|DELETE|RETURN|DESTINATION|REWIND|DISABLE|REWRITE|DISPLAY|RIGHT|DIVIDE|RUN|DOWN|SAME|ELSE|SEARCH|ENABLE|SECTION|END|SELECT|ENVIRONMENT|SENTENCE|EQUAL|SET|ERROR|SIGN|EXIT|SEQUENTIAL|EXTERNAL|SIZE|FLASE|SORT|FILE|SOURCE|LENGTH|SPACE|LESS|STANDARD|LIMIT|START|LINE|STOP|LOCK|STRING|LOW-VALUE|SUBTRACT",t="true|false|null",n="count|min|max|avg|sum|rank|now|coalesce|main",r=this.createKeywordMapper({"support.function":n,keyword:e,"constant.language":t},"identifier",!0);this.$rules={start:[{token:"comment",regex:"\\*.*$"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:r,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]}};r.inherits(s,i),t.CobolHighlightRules=s}),define("ace/mode/cobol",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/cobol_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./cobol_highlight_rules").CobolHighlightRules,o=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(o,i),function(){this.lineCommentStart="*",this.$id="ace/mode/cobol"}.call(o.prototype),t.Mode=o}); (function() { 2 | window.require(["ace/mode/cobol"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/mode-csp.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/csp_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e=this.createKeywordMapper({"constant.language":"child-src|connect-src|default-src|font-src|frame-src|img-src|manifest-src|media-src|object-src|script-src|style-src|worker-src|base-uri|plugin-types|sandbox|disown-opener|form-action|frame-ancestors|report-uri|report-to|upgrade-insecure-requests|block-all-mixed-content|require-sri-for|reflected-xss|referrer|policy-uri",variable:"'none'|'self'|'unsafe-inline'|'unsafe-eval'|'strict-dynamic'|'unsafe-hashed-attributes'"},"identifier",!0);this.$rules={start:[{token:"string.link",regex:/https?:[^;\s]*/},{token:"operator.punctuation",regex:/;/},{token:e,regex:/[^\s;]+/}]}};r.inherits(s,i),t.CspHighlightRules=s}),define("ace/mode/csp",["require","exports","module","ace/mode/text","ace/mode/csp_highlight_rules","ace/lib/oop"],function(e,t,n){"use strict";var r=e("./text").Mode,i=e("./csp_highlight_rules").CspHighlightRules,s=e("../lib/oop"),o=function(){this.HighlightRules=i};s.inherits(o,r),function(){this.$id="ace/mode/csp"}.call(o.prototype),t.Mode=o}); (function() { 2 | window.require(["ace/mode/csp"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/mode-diff.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/diff_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{regex:"^(?:\\*{15}|={67}|-{3}|\\+{3})$",token:"punctuation.definition.separator.diff",name:"keyword"},{regex:"^(@@)(\\s*.+?\\s*)(@@)(.*)$",token:["constant","constant.numeric","constant","comment.doc.tag"]},{regex:"^(\\d+)([,\\d]+)(a|d|c)(\\d+)([,\\d]+)(.*)$",token:["constant.numeric","punctuation.definition.range.diff","constant.function","constant.numeric","punctuation.definition.range.diff","invalid"],name:"meta."},{regex:"^(\\-{3}|\\+{3}|\\*{3})( .+)$",token:["constant.numeric","meta.tag"]},{regex:"^([!+>])(.*?)(\\s*)$",token:["support.constant","text","invalid"]},{regex:"^([<\\-])(.*?)(\\s*)$",token:["support.function","string","invalid"]},{regex:"^(diff)(\\s+--\\w+)?(.+?)( .+)?$",token:["variable","variable","keyword","variable"]},{regex:"^Index.+$",token:"variable"},{regex:"^\\s+$",token:"text"},{regex:"\\s*$",token:"invalid"},{defaultToken:"invisible",caseInsensitive:!0}]}};r.inherits(s,i),t.DiffHighlightRules=s}),define("ace/mode/folding/diff",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("./fold_mode").FoldMode,s=e("../../range").Range,o=t.FoldMode=function(e,t){this.regExpList=e,this.flag=t,this.foldingStartMarker=RegExp("^("+e.join("|")+")",this.flag)};r.inherits(o,i),function(){this.getFoldWidgetRange=function(e,t,n){var r=e.getLine(n),i={row:n,column:r.length},o=this.regExpList;for(var u=1;u<=o.length;u++){var a=RegExp("^("+o.slice(0,u).join("|")+")",this.flag);if(a.test(r))break}for(var f=e.getLength();++n]+>"},{token:"comment",regex:"\\|(?=.)",next:"table-item"},{token:"comment",regex:"\\|$",next:"start"}],qqstring3:[{token:"constant.language.escape",regex:s},{token:"string",regex:'"{3}',next:"start"},{defaultToken:"string"}],qqstring:[{token:"constant.language.escape",regex:s},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],"table-item":[{token:"comment",regex:/$/,next:"start"},{token:"comment",regex:/\|/},{token:"string",regex:/\\./},{defaultToken:"string"}]},this.normalizeRules()};r.inherits(o,i),t.GherkinHighlightRules=o}),define("ace/mode/gherkin",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gherkin_highlight_rules"],function(e,t,n){var r=e("../lib/oop"),i=e("./text").Mode,s=e("./gherkin_highlight_rules").GherkinHighlightRules,o=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(o,i),function(){this.lineCommentStart="#",this.$id="ace/mode/gherkin",this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t),i=" ",s=this.getTokenizer().getLineTokens(t,e),o=s.tokens;return t.match("[ ]*\\|")&&(r+="| "),o.length&&o[o.length-1].type=="comment"?r:(e=="start"&&(t.match("Scenario:|Feature:|Scenario Outline:|Background:")?r+=i:t.match("(Given|Then).+(:)$|Examples:")?r+=i:t.match("\\*.+")&&(r+="* ")),r)}}.call(o.prototype),t.Mode=o}); (function() { 2 | window.require(["ace/mode/gherkin"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/mode-gitignore.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/gitignore_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"comment",regex:/^\s*#.*$/},{token:"keyword",regex:/^\s*!.*$/}]},this.normalizeRules()};s.metaData={fileTypes:["gitignore"],name:"Gitignore"},r.inherits(s,i),t.GitignoreHighlightRules=s}),define("ace/mode/gitignore",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gitignore_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./gitignore_highlight_rules").GitignoreHighlightRules,o=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(o,i),function(){this.lineCommentStart="#",this.$id="ace/mode/gitignore"}.call(o.prototype),t.Mode=o}); (function() { 2 | window.require(["ace/mode/gitignore"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/mode-haskell_cabal.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/haskell_cabal_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"comment",regex:"^\\s*--.*$"},{token:["keyword"],regex:/^(\s*\w.*?)(:(?:\s+|$))/},{token:"constant.numeric",regex:/[\d_]+(?:(?:[\.\d_]*)?)/},{token:"constant.language.boolean",regex:"(?:true|false|TRUE|FALSE|True|False|yes|no)\\b"},{token:"markup.heading",regex:/^(\w.*)$/}]}};r.inherits(s,i),t.CabalHighlightRules=s}),define("ace/mode/folding/haskell_cabal",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("./fold_mode").FoldMode,s=e("../../range").Range,o=t.FoldMode=function(){};r.inherits(o,i),function(){this.isHeading=function(e,t){var n="markup.heading",r=e.getTokens(t)[0];return t==0||r&&r.type.lastIndexOf(n,0)===0},this.getFoldWidget=function(e,t,n){if(this.isHeading(e,n))return"start";if(t==="markbeginend"&&!/^\s*$/.test(e.getLine(n))){var r=e.getLength();while(++nu)while(a>u&&/^\s*$/.test(e.getLine(a)))a--;if(a>u){var f=e.getLine(a).length;return new s(u,i,a,f)}}else if(this.getFoldWidget(e,t,n)==="end"){var a=n,f=e.getLine(a).length;while(--n>=0)if(this.isHeading(e,n))break;var r=e.getLine(n),i=r.length;return new s(n,i,a,f)}}}.call(o.prototype)}),define("ace/mode/haskell_cabal",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/haskell_cabal_highlight_rules","ace/mode/folding/haskell_cabal"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./haskell_cabal_highlight_rules").CabalHighlightRules,o=e("./folding/haskell_cabal").FoldMode,u=function(){this.HighlightRules=s,this.foldingRules=new o,this.$behaviour=this.$defaultBehaviour};r.inherits(u,i),function(){this.lineCommentStart="--",this.blockComment=null,this.$id="ace/mode/haskell_cabal"}.call(u.prototype),t.Mode=u}); (function() { 2 | window.require(["ace/mode/haskell_cabal"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/mode-ini.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/ini_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s="\\\\(?:[\\\\0abtrn;#=:]|x[a-fA-F\\d]{4})",o=function(){this.$rules={start:[{token:"punctuation.definition.comment.ini",regex:"#.*",push_:[{token:"comment.line.number-sign.ini",regex:"$|^",next:"pop"},{defaultToken:"comment.line.number-sign.ini"}]},{token:"punctuation.definition.comment.ini",regex:";.*",push_:[{token:"comment.line.semicolon.ini",regex:"$|^",next:"pop"},{defaultToken:"comment.line.semicolon.ini"}]},{token:["keyword.other.definition.ini","text","punctuation.separator.key-value.ini"],regex:"\\b([a-zA-Z0-9_.-]+)\\b(\\s*)(=)"},{token:["punctuation.definition.entity.ini","constant.section.group-title.ini","punctuation.definition.entity.ini"],regex:"^(\\[)(.*?)(\\])"},{token:"punctuation.definition.string.begin.ini",regex:"'",push:[{token:"punctuation.definition.string.end.ini",regex:"'",next:"pop"},{token:"constant.language.escape",regex:s},{defaultToken:"string.quoted.single.ini"}]},{token:"punctuation.definition.string.begin.ini",regex:'"',push:[{token:"constant.language.escape",regex:s},{token:"punctuation.definition.string.end.ini",regex:'"',next:"pop"},{defaultToken:"string.quoted.double.ini"}]}]},this.normalizeRules()};o.metaData={fileTypes:["ini","conf"],keyEquivalent:"^~I",name:"Ini",scopeName:"source.ini"},r.inherits(o,i),t.IniHighlightRules=o}),define("ace/mode/folding/ini",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,s=e("./fold_mode").FoldMode,o=t.FoldMode=function(){};r.inherits(o,s),function(){this.foldingStartMarker=/^\s*\[([^\])]*)]\s*(?:$|[;#])/,this.getFoldWidgetRange=function(e,t,n){var r=this.foldingStartMarker,s=e.getLine(n),o=s.match(r);if(!o)return;var u=o[1]+".",a=s.length,f=e.getLength(),l=n,c=n;while(++nl){var h=e.getLine(c).length;return new i(l,a,c,h)}}}.call(o.prototype)}),define("ace/mode/ini",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/ini_highlight_rules","ace/mode/folding/ini"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./ini_highlight_rules").IniHighlightRules,o=e("./folding/ini").FoldMode,u=function(){this.HighlightRules=s,this.foldingRules=new o,this.$behaviour=this.$defaultBehaviour};r.inherits(u,i),function(){this.lineCommentStart=";",this.blockComment=null,this.$id="ace/mode/ini"}.call(u.prototype),t.Mode=u}); (function() { 2 | window.require(["ace/mode/ini"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/mode-lisp.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/lisp_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="case|do|let|loop|if|else|when",t="eq|neq|and|or",n="null|nil",r="cons|car|cdr|cond|lambda|format|setq|setf|quote|eval|append|list|listp|memberp|t|load|progn",i=this.createKeywordMapper({"keyword.control":e,"keyword.operator":t,"constant.language":n,"support.function":r},"identifier",!0);this.$rules={start:[{token:"comment",regex:";.*$"},{token:["storage.type.function-type.lisp","text","entity.name.function.lisp"],regex:"(?:\\b(?:(defun|defmethod|defmacro))\\b)(\\s+)((?:\\w|\\-|\\!|\\?)*)"},{token:["punctuation.definition.constant.character.lisp","constant.character.lisp"],regex:"(#)((?:\\w|[\\\\+-=<>'\"&#])+)"},{token:["punctuation.definition.variable.lisp","variable.other.global.lisp","punctuation.definition.variable.lisp"],regex:"(\\*)(\\S*)(\\*)"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+(?:L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?(?:L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:i,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"string",regex:'"(?=.)',next:"qqstring"}],qqstring:[{token:"constant.character.escape.lisp",regex:"\\\\."},{token:"string",regex:'[^"\\\\]+'},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"start"}]}};r.inherits(s,i),t.LispHighlightRules=s}),define("ace/mode/lisp",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/lisp_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./lisp_highlight_rules").LispHighlightRules,o=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(o,i),function(){this.lineCommentStart=";",this.$id="ace/mode/lisp"}.call(o.prototype),t.Mode=o}); (function() { 2 | window.require(["ace/mode/lisp"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/mode-lucene.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/lucene_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"constant.language.escape",regex:/\\[\-+&|!(){}\[\]^"~*?:\\]/},{token:"constant.character.negation",regex:"\\-"},{token:"constant.character.interro",regex:"\\?"},{token:"constant.character.required",regex:"\\+"},{token:"constant.character.asterisk",regex:"\\*"},{token:"constant.character.proximity",regex:"~(?:0\\.[0-9]+|[0-9]+)?"},{token:"keyword.operator",regex:"(AND|OR|NOT|TO)\\b"},{token:"paren.lparen",regex:"[\\(\\{\\[]"},{token:"paren.rparen",regex:"[\\)\\}\\]]"},{token:"keyword.operator",regex:/[><=^]/},{token:"constant.numeric",regex:/\d[\d.-]*/},{token:"string",regex:/"(?:\\"|[^"])*"/},{token:"keyword",regex:/(?:\\.|[^\s\-+&|!(){}\[\]^"~*?:\\])+:/,next:"maybeRegex"},{token:"term",regex:/\w+/},{token:"text",regex:/\s+/}],maybeRegex:[{token:"text",regex:/\s+/},{token:"string.regexp.start",regex:"/",next:"regex"},{regex:"",next:"start"}],regex:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"string.regexp.end",regex:"/[sxngimy]*",next:"no_regex"},{token:"invalid",regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:"constant.language.escape",regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:"constant.language.escape",regex:"|[~&@]"},{token:"constant.language.delimiter",regex:/\|/},{token:"constant.language.escape",regex:/\[\^?/,next:"regex_character_class"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp"}],regex_character_class:[{token:"regexp.charclass.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"constant.language.escape",regex:"]",next:"regex"},{token:"constant.language.escape",regex:"-"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp.charachterclass"}]}};r.inherits(s,i),t.LuceneHighlightRules=s}),define("ace/mode/lucene",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/lucene_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./lucene_highlight_rules").LuceneHighlightRules,o=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(o,i),function(){this.$id="ace/mode/lucene"}.call(o.prototype),t.Mode=o}); (function() { 2 | window.require(["ace/mode/lucene"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/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(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./text_highlight_rules").TextHighlightRules,o=e("./behaviour").Behaviour,u=function(){this.HighlightRules=s,this.$behaviour=new o};r.inherits(u,i),function(){this.type="text",this.getNextLineIndent=function(e,t,n){return""},this.$id="ace/mode/plain_text"}.call(u.prototype),t.Mode=u}); (function() { 2 | window.require(["ace/mode/plain_text"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/mode-properties.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/properties_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e=/\\u[0-9a-fA-F]{4}|\\/;this.$rules={start:[{token:"comment",regex:/[!#].*$/},{token:"keyword",regex:/[=:]$/},{token:"keyword",regex:/[=:]/,next:"value"},{token:"constant.language.escape",regex:e},{defaultToken:"variable"}],value:[{regex:/\\$/,token:"string",next:"value"},{regex:/$/,token:"string",next:"start"},{token:"constant.language.escape",regex:e},{defaultToken:"string"}]}};r.inherits(s,i),t.PropertiesHighlightRules=s}),define("ace/mode/properties",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/properties_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./properties_highlight_rules").PropertiesHighlightRules,o=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(o,i),function(){this.$id="ace/mode/properties"}.call(o.prototype),t.Mode=o}); (function() { 2 | window.require(["ace/mode/properties"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/mode-space.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("./fold_mode").FoldMode,s=e("../../range").Range,o=t.FoldMode=function(){};r.inherits(o,i),function(){this.getFoldWidgetRange=function(e,t,n){var r=this.indentationBlock(e,n);if(r)return r;var i=/\S/,o=e.getLine(n),u=o.search(i);if(u==-1||o[u]!="#")return;var a=o.length,f=e.getLength(),l=n,c=n;while(++nl){var p=e.getLine(c).length;return new s(l,a,c,p)}},this.getFoldWidget=function(e,t,n){var r=e.getLine(n),i=r.search(/\S/),s=e.getLine(n+1),o=e.getLine(n-1),u=o.search(/\S/),a=s.search(/\S/);if(i==-1)return e.foldWidgets[n-1]=u!=-1&&ul){var h=e.getLine(c).length;return new i(l,a,c,h)}}}.call(o.prototype)}),define("ace/mode/toml",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/toml_highlight_rules","ace/mode/folding/ini"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./toml_highlight_rules").TomlHighlightRules,o=e("./folding/ini").FoldMode,u=function(){this.HighlightRules=s,this.foldingRules=new o,this.$behaviour=this.$defaultBehaviour};r.inherits(u,i),function(){this.lineCommentStart="#",this.$id="ace/mode/toml"}.call(u.prototype),t.Mode=u}); (function() { 2 | window.require(["ace/mode/toml"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/mode-vhdl.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/vhdl_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="access|after|alias|all|architecture|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|context|disconnect|downto|else|elsif|end|entity|exit|file|for|force|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|of|on|or|open|others|out|package|parameter|port|postponed|procedure|process|protected|pure|range|record|register|reject|release|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with",t="bit|bit_vector|boolean|character|integer|line|natural|positive|real|register|signed|std_logic|std_logic_vector|string||text|time|unsigned",n="array|constant",r="abs|and|mod|nand|nor|not|rem|rol|ror|sla|sll|srasrl|xnor|xor",i="true|false|null",s=this.createKeywordMapper({"keyword.operator":r,keyword:e,"constant.language":i,"storage.modifier":n,"storage.type":t},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"keyword",regex:"\\s*(?:library|package|use)\\b"},{token:s,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"&|\\*|\\+|\\-|\\/|<|=|>|\\||=>|\\*\\*|:=|\\/=|>=|<=|<>"},{token:"punctuation.operator",regex:"\\'|\\:|\\,|\\;|\\."},{token:"paren.lparen",regex:"[[(]"},{token:"paren.rparen",regex:"[\\])]"},{token:"text",regex:"\\s+"}]}};r.inherits(s,i),t.VHDLHighlightRules=s}),define("ace/mode/vhdl",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/vhdl_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./vhdl_highlight_rules").VHDLHighlightRules,o=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(o,i),function(){this.lineCommentStart="--",this.$id="ace/mode/vhdl"}.call(o.prototype),t.Mode=o}); (function() { 2 | window.require(["ace/mode/vhdl"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/abap.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/abap"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/abc.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/abc.snippets",["require","exports","module"],function(e,t,n){n.exports='\nsnippet zupfnoter.print\n %%%%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\nsnippet zupfnoter.note\n %%%%hn.note {"pos": [${1:pos_x},${2:pos_y}], "text": "${3:text}", "style": "${4:style}"}\n\nsnippet zupfnoter.annotation\n %%%%hn.annotation {"id": "${1:id}", "pos": [${2:pos}], "text": "${3:text}"}\n\nsnippet zupfnoter.lyrics\n %%%%hn.lyrics {"pos": [${1:x_pos},${2:y_pos}]}\n\nsnippet zupfnoter.legend\n %%%%hn.legend {"pos": [${1:x_pos},${2:y_pos}]}\n\n\n\nsnippet zupfnoter.target\n "^:${1:target}"\n\nsnippet zupfnoter.goto\n "^@${1:target}@${2:distance}"\n\nsnippet zupfnoter.annotationref\n "^#${1:target}"\n\nsnippet zupfnoter.annotation\n "^!${1:text}@${2:x_offset},${3:y_offset}"\n\n\n'}),define("ace/snippets/abc",["require","exports","module","ace/snippets/abc.snippets"],function(e,t,n){"use strict";t.snippetText=e("./abc.snippets"),t.scope="abc"}); (function() { 2 | window.require(["ace/snippets/abc"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/ada.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/ada"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/alda.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/alda"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/apache_conf.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/apache_conf"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/apex.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/apex"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/applescript.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/applescript"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/aql.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/aql"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/asciidoc.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/asciidoc"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/asl.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/asl"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/assembly_x86.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/assembly_x86"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/autohotkey.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/autohotkey"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/batchfile.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/batchfile"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/bibtex.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/bibtex"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/c9search.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/c9search"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/c_cpp.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/c_cpp.snippets",["require","exports","module"],function(e,t,n){n.exports="## STL Collections\n# std::array\nsnippet array\n std::array<${1:T}, ${2:N}> ${3};${4}\n# std::vector\nsnippet vector\n std::vector<${1:T}> ${2};${3}\n# std::deque\nsnippet deque\n std::deque<${1:T}> ${2};${3}\n# std::forward_list\nsnippet flist\n std::forward_list<${1:T}> ${2};${3}\n# std::list\nsnippet list\n std::list<${1:T}> ${2};${3}\n# std::set\nsnippet set\n std::set<${1:T}> ${2};${3}\n# std::map\nsnippet map\n std::map<${1:Key}, ${2:T}> ${3};${4}\n# std::multiset\nsnippet mset\n std::multiset<${1:T}> ${2};${3}\n# std::multimap\nsnippet mmap\n std::multimap<${1:Key}, ${2:T}> ${3};${4}\n# std::unordered_set\nsnippet uset\n std::unordered_set<${1:T}> ${2};${3}\n# std::unordered_map\nsnippet umap\n std::unordered_map<${1:Key}, ${2:T}> ${3};${4}\n# std::unordered_multiset\nsnippet umset\n std::unordered_multiset<${1:T}> ${2};${3}\n# std::unordered_multimap\nsnippet ummap\n std::unordered_multimap<${1:Key}, ${2:T}> ${3};${4}\n# std::stack\nsnippet stack\n std::stack<${1:T}> ${2};${3}\n# std::queue\nsnippet queue\n std::queue<${1:T}> ${2};${3}\n# std::priority_queue\nsnippet pqueue\n std::priority_queue<${1:T}> ${2};${3}\n##\n## Access Modifiers\n# private\nsnippet pri\n private\n# protected\nsnippet pro\n protected\n# public\nsnippet pub\n public\n# friend\nsnippet fr\n friend\n# mutable\nsnippet mu\n mutable\n## \n## Class\n# class\nsnippet cl\n class ${1:`Filename('$1', 'name')`} \n {\n public:\n $1(${2});\n ~$1();\n\n private:\n ${3:/* data */}\n };\n# member function implementation\nsnippet mfun\n ${4:void} ${1:`Filename('$1', 'ClassName')`}::${2:memberFunction}(${3}) {\n ${5:/* code */}\n }\n# namespace\nsnippet ns\n namespace ${1:`Filename('', 'my')`} {\n ${2}\n } /* namespace $1 */\n##\n## Input/Output\n# std::cout\nsnippet cout\n std::cout << ${1} << std::endl;${2}\n# std::cin\nsnippet cin\n std::cin >> ${1};${2}\n##\n## Iteration\n# for i \nsnippet fori\n for (int ${2:i} = 0; $2 < ${1:count}; $2${3:++}) {\n ${4:/* code */}\n }${5}\n\n# foreach\nsnippet fore\n for (${1:auto} ${2:i} : ${3:container}) {\n ${4:/* code */}\n }${5}\n# iterator\nsnippet iter\n for (${1:std::vector}<${2:type}>::${3:const_iterator} ${4:i} = ${5:container}.begin(); $4 != $5.end(); ++$4) {\n ${6}\n }${7}\n\n# auto iterator\nsnippet itera\n for (auto ${1:i} = $1.begin(); $1 != $1.end(); ++$1) {\n ${2:std::cout << *$1 << std::endl;}\n }${3}\n##\n## Lambdas\n# lamda (one line)\nsnippet ld\n [${1}](${2}){${3:/* code */}}${4}\n# lambda (multi-line)\nsnippet lld\n [${1}](${2}){\n ${3:/* code */}\n }${4}\n"}),define("ace/snippets/c_cpp",["require","exports","module","ace/snippets/c_cpp.snippets"],function(e,t,n){"use strict";t.snippetText=e("./c_cpp.snippets"),t.scope="c_cpp"}); (function() { 2 | window.require(["ace/snippets/c_cpp"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/cirru.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/cirru"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/clojure.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/clojure.snippets",["require","exports","module"],function(e,t,n){n.exports='snippet comm\n (comment\n ${1}\n )\nsnippet condp\n (condp ${1:pred} ${2:expr}\n ${3})\nsnippet def\n (def ${1})\nsnippet defm\n (defmethod ${1:multifn} "${2:doc-string}" ${3:dispatch-val} [${4:args}]\n ${5})\nsnippet defmm\n (defmulti ${1:name} "${2:doc-string}" ${3:dispatch-fn})\nsnippet defma\n (defmacro ${1:name} "${2:doc-string}" ${3:dispatch-fn})\nsnippet defn\n (defn ${1:name} "${2:doc-string}" [${3:arg-list}]\n ${4})\nsnippet defp\n (defprotocol ${1:name}\n ${2})\nsnippet defr\n (defrecord ${1:name} [${2:fields}]\n ${3:protocol}\n ${4})\nsnippet deft\n (deftest ${1:name}\n (is (= ${2:assertion})))\n ${3})\nsnippet is\n (is (= ${1} ${2}))\nsnippet defty\n (deftype ${1:Name} [${2:fields}]\n ${3:Protocol}\n ${4})\nsnippet doseq\n (doseq [${1:elem} ${2:coll}]\n ${3})\nsnippet fn\n (fn [${1:arg-list}] ${2})\nsnippet if\n (if ${1:test-expr}\n ${2:then-expr}\n ${3:else-expr})\nsnippet if-let \n (if-let [${1:result} ${2:test-expr}]\n (${3:then-expr} $1)\n (${4:else-expr}))\nsnippet imp\n (:import [${1:package}])\n & {:keys [${1:keys}] :or {${2:defaults}}}\nsnippet let\n (let [${1:name} ${2:expr}]\n ${3})\nsnippet letfn\n (letfn [(${1:name) [${2:args}]\n ${3})])\nsnippet map\n (map ${1:func} ${2:coll})\nsnippet mapl\n (map #(${1:lambda}) ${2:coll})\nsnippet met\n (${1:name} [${2:this} ${3:args}]\n ${4})\nsnippet ns\n (ns ${1:name}\n ${2})\nsnippet dotimes\n (dotimes [_ 10]\n (time\n (dotimes [_ ${1:times}]\n ${2})))\nsnippet pmethod\n (${1:name} [${2:this} ${3:args}])\nsnippet refer\n (:refer-clojure :exclude [${1}])\nsnippet require\n (:require [${1:namespace} :as [${2}]])\nsnippet use\n (:use [${1:namespace} :only [${2}]])\nsnippet print\n (println ${1})\nsnippet reduce\n (reduce ${1:(fn [p n] ${3})} ${2})\nsnippet when\n (when ${1:test} ${2:body})\nsnippet when-let\n (when-let [${1:result} ${2:test}]\n ${3:body})\n'}),define("ace/snippets/clojure",["require","exports","module","ace/snippets/clojure.snippets"],function(e,t,n){"use strict";t.snippetText=e("./clojure.snippets"),t.scope="clojure"}); (function() { 2 | window.require(["ace/snippets/clojure"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/cobol.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/cobol"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/coffee.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/coffee.snippets",["require","exports","module"],function(e,t,n){n.exports="# Closure loop\nsnippet forindo\n for ${1:name} in ${2:array}\n do ($1) ->\n ${3:// body}\n# Array comprehension\nsnippet fora\n for ${1:name} in ${2:array}\n ${3:// body...}\n# Object comprehension\nsnippet foro\n for ${1:key}, ${2:value} of ${3:object}\n ${4:// body...}\n# Range comprehension (inclusive)\nsnippet forr\n for ${1:name} in [${2:start}..${3:finish}]\n ${4:// body...}\nsnippet forrb\n for ${1:name} in [${2:start}..${3:finish}] by ${4:step}\n ${5:// body...}\n# Range comprehension (exclusive)\nsnippet forrex\n for ${1:name} in [${2:start}...${3:finish}]\n ${4:// body...}\nsnippet forrexb\n for ${1:name} in [${2:start}...${3:finish}] by ${4:step}\n ${5:// body...}\n# Function\nsnippet fun\n (${1:args}) ->\n ${2:// body...}\n# Function (bound)\nsnippet bfun\n (${1:args}) =>\n ${2:// body...}\n# Class\nsnippet cla class ..\n class ${1:`substitute(Filename(), '\\(_\\|^\\)\\(.\\)', '\\u\\2', 'g')`}\n ${2}\nsnippet cla class .. constructor: ..\n class ${1:`substitute(Filename(), '\\(_\\|^\\)\\(.\\)', '\\u\\2', 'g')`}\n constructor: (${2:args}) ->\n ${3}\n\n ${4}\nsnippet cla class .. extends ..\n class ${1:`substitute(Filename(), '\\(_\\|^\\)\\(.\\)', '\\u\\2', 'g')`} extends ${2:ParentClass}\n ${3}\nsnippet cla class .. extends .. constructor: ..\n class ${1:`substitute(Filename(), '\\(_\\|^\\)\\(.\\)', '\\u\\2', 'g')`} extends ${2:ParentClass}\n constructor: (${3:args}) ->\n ${4}\n\n ${5}\n# If\nsnippet if\n if ${1:condition}\n ${2:// body...}\n# If __ Else\nsnippet ife\n if ${1:condition}\n ${2:// body...}\n else\n ${3:// body...}\n# Else if\nsnippet elif\n else if ${1:condition}\n ${2:// body...}\n# Ternary If\nsnippet ifte\n if ${1:condition} then ${2:value} else ${3:other}\n# Unless\nsnippet unl\n ${1:action} unless ${2:condition}\n# Switch\nsnippet swi\n switch ${1:object}\n when ${2:value}\n ${3:// body...}\n\n# Log\nsnippet log\n console.log ${1}\n# Try __ Catch\nsnippet try\n try\n ${1}\n catch ${2:error}\n ${3}\n# Require\nsnippet req\n ${2:$1} = require '${1:sys}'${3}\n# Export\nsnippet exp\n ${1:root} = exports ? this\n"}),define("ace/snippets/coffee",["require","exports","module","ace/snippets/coffee.snippets"],function(e,t,n){"use strict";t.snippetText=e("./coffee.snippets"),t.scope="coffee"}); (function() { 2 | window.require(["ace/snippets/coffee"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/coldfusion.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/coldfusion"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/crystal.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/crystal"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/csharp.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/csharp"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/csound_document.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/csound_document.snippets",["require","exports","module"],function(e,t,n){n.exports="# \nsnippet synth\n \n \n ${1}\n \n \n e\n \n \n"}),define("ace/snippets/csound_document",["require","exports","module","ace/snippets/csound_document.snippets"],function(e,t,n){"use strict";t.snippetText=e("./csound_document.snippets"),t.scope="csound_document"}); (function() { 2 | window.require(["ace/snippets/csound_document"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/csound_orchestra.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/csound_orchestra.snippets",["require","exports","module"],function(e,t,n){n.exports="# else\nsnippet else\n else\n ${1:/* statements */}\n# elseif\nsnippet elseif\n elseif ${1:/* condition */} then\n ${2:/* statements */}\n# if\nsnippet if\n if ${1:/* condition */} then\n ${2:/* statements */}\n endif\n# instrument block\nsnippet instr\n instr ${1:name}\n ${2:/* statements */}\n endin\n# i-time while loop\nsnippet iwhile\n i${1:Index} = ${2:0}\n while i${1:Index} < ${3:/* count */} do\n ${4:/* statements */}\n i${1:Index} += 1\n od\n# k-rate while loop\nsnippet kwhile\n k${1:Index} = ${2:0}\n while k${1:Index} < ${3:/* count */} do\n ${4:/* statements */}\n k${1:Index} += 1\n od\n# opcode\nsnippet opcode\n opcode ${1:name}, ${2:/* output types */ 0}, ${3:/* input types */ 0}\n ${4:/* statements */}\n endop\n# until loop\nsnippet until\n until ${1:/* condition */} do\n ${2:/* statements */}\n od\n# while loop\nsnippet while\n while ${1:/* condition */} do\n ${2:/* statements */}\n od\n"}),define("ace/snippets/csound_orchestra",["require","exports","module","ace/snippets/csound_orchestra.snippets"],function(e,t,n){"use strict";t.snippetText=e("./csound_orchestra.snippets"),t.scope="csound_orchestra"}); (function() { 2 | window.require(["ace/snippets/csound_orchestra"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/csound_score.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/csound_score"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/csp.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/csp"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/curly.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/curly"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/d.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/d"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/dart.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/dart.snippets",["require","exports","module"],function(e,t,n){n.exports="snippet lib\n library ${1};\n ${2}\nsnippet im\n import '${1}';\n ${2}\nsnippet pa\n part '${1}';\n ${2}\nsnippet pao\n part of ${1};\n ${2}\nsnippet main\n void main() {\n ${1:/* code */}\n }\nsnippet st\n static ${1}\nsnippet fi\n final ${1}\nsnippet re\n return ${1}\nsnippet br\n break;\nsnippet th\n throw ${1}\nsnippet cl\n class ${1:`Filename(\"\", \"untitled\")`} ${2}\nsnippet imp\n implements ${1}\nsnippet ext\n extends ${1}\nsnippet if\n if (${1:true}) {\n ${2}\n }\nsnippet ife\n if (${1:true}) {\n ${2}\n } else {\n ${3}\n }\nsnippet el\n else\nsnippet sw\n switch (${1}) {\n ${2}\n }\nsnippet cs\n case ${1}:\n ${2}\nsnippet de\n default:\n ${1}\nsnippet for\n for (var ${2:i} = 0, len = ${1:things}.length; $2 < len; ${3:++}$2) {\n ${4:$1[$2]}\n }\nsnippet fore\n for (final ${2:item} in ${1:itemList}) {\n ${3:/* code */}\n }\nsnippet wh\n while (${1:/* condition */}) {\n ${2:/* code */}\n }\nsnippet dowh\n do {\n ${2:/* code */}\n } while (${1:/* condition */});\nsnippet as\n assert(${1:/* condition */});\nsnippet try\n try {\n ${2}\n } catch (${1:Exception e}) {\n }\nsnippet tryf\n try {\n ${2}\n } catch (${1:Exception e}) {\n } finally {\n }\n"}),define("ace/snippets/dart",["require","exports","module","ace/snippets/dart.snippets"],function(e,t,n){"use strict";t.snippetText=e("./dart.snippets"),t.scope="dart"}); (function() { 2 | window.require(["ace/snippets/dart"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/diff.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/diff.snippets",["require","exports","module"],function(e,t,n){n.exports='# DEP-3 (http://dep.debian.net/deps/dep3/) style patch header\nsnippet header DEP-3 style header\n Description: ${1}\n Origin: ${2:vendor|upstream|other}, ${3:url of the original patch}\n Bug: ${4:url in upstream bugtracker}\n Forwarded: ${5:no|not-needed|url}\n Author: ${6:`g:snips_author`}\n Reviewed-by: ${7:name and email}\n Last-Update: ${8:`strftime("%Y-%m-%d")`}\n Applied-Upstream: ${9:upstream version|url|commit}\n\n'}),define("ace/snippets/diff",["require","exports","module","ace/snippets/diff.snippets"],function(e,t,n){"use strict";t.snippetText=e("./diff.snippets"),t.scope="diff"}); (function() { 2 | window.require(["ace/snippets/diff"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/dockerfile.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/dockerfile"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/dot.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/dot"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/drools.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/drools.snippets",["require","exports","module"],function(e,t,n){n.exports='\nsnippet rule\n rule "${1?:rule_name}"\n when\n ${2:// when...} \n then\n ${3:// then...}\n end\n\nsnippet query\n query ${1?:query_name}\n ${2:// find} \n end\n \nsnippet declare\n declare ${1?:type_name}\n ${2:// attributes} \n end\n\n'}),define("ace/snippets/drools",["require","exports","module","ace/snippets/drools.snippets"],function(e,t,n){"use strict";t.snippetText=e("./drools.snippets"),t.scope="drools"}); (function() { 2 | window.require(["ace/snippets/drools"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/eiffel.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/eiffel"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/ejs.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/ejs"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/elixir.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/elixir"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/elm.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/elm"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/forth.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/forth"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/fortran.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/fortran"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/fsharp.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/fsharp"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/fsl.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/fsl.snippets",["require","exports","module"],function(e,t,n){n.exports='snippet header\n machine_name : "";\n machine_author : "";\n machine_license : MIT;\n machine_comment : "";\n machine_language : en;\n machine_version : 1.0.0;\n fsl_version : 1.0.0;\n start_states : [];\n'}),define("ace/snippets/fsl",["require","exports","module","ace/snippets/fsl.snippets"],function(e,t,n){"use strict";t.snippetText=e("./fsl.snippets"),t.scope="fsl"}); (function() { 2 | window.require(["ace/snippets/fsl"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/ftl.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/ftl"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/gcode.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/gcode"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/gherkin.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/gherkin"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/gitignore.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/gitignore"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/glsl.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/glsl"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/golang.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/golang"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/graphqlschema.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/graphqlschema.snippets",["require","exports","module"],function(e,t,n){n.exports="# Type Snippet\ntrigger type\nsnippet type\n type ${1:type_name} {\n ${2:type_siblings}\n }\n\n# Input Snippet\ntrigger input\nsnippet input\n input ${1:input_name} {\n ${2:input_siblings}\n }\n\n# Interface Snippet\ntrigger interface\nsnippet interface\n interface ${1:interface_name} {\n ${2:interface_siblings}\n }\n\n# Interface Snippet\ntrigger union\nsnippet union\n union ${1:union_name} = ${2:type} | ${3: type}\n\n# Enum Snippet\ntrigger enum\nsnippet enum\n enum ${1:enum_name} {\n ${2:enum_siblings}\n }\n"}),define("ace/snippets/graphqlschema",["require","exports","module","ace/snippets/graphqlschema.snippets"],function(e,t,n){"use strict";t.snippetText=e("./graphqlschema.snippets"),t.scope="graphqlschema"}); (function() { 2 | window.require(["ace/snippets/graphqlschema"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/groovy.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/groovy"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/haml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/haml.snippets",["require","exports","module"],function(e,t,n){n.exports="snippet t\n %table\n %tr\n %th\n ${1:headers}\n %tr\n %td\n ${2:headers}\nsnippet ul\n %ul\n %li\n ${1:item}\n %li\nsnippet =rp\n = render :partial => '${1:partial}'\nsnippet =rpl\n = render :partial => '${1:partial}', :locals => {}\nsnippet =rpc\n = render :partial => '${1:partial}', :collection => @$1\n\n"}),define("ace/snippets/haml",["require","exports","module","ace/snippets/haml.snippets"],function(e,t,n){"use strict";t.snippetText=e("./haml.snippets"),t.scope="haml"}); (function() { 2 | window.require(["ace/snippets/haml"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/handlebars.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/handlebars"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/haskell.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/haskell.snippets",["require","exports","module"],function(e,t,n){n.exports="snippet lang\n {-# LANGUAGE ${1:OverloadedStrings} #-}\nsnippet info\n -- |\n -- Module : ${1:Module.Namespace}\n -- Copyright : ${2:Author} ${3:2011-2012}\n -- License : ${4:BSD3}\n --\n -- Maintainer : ${5:email@something.com}\n -- Stability : ${6:experimental}\n -- Portability : ${7:unknown}\n --\n -- ${8:Description}\n --\nsnippet import\n import ${1:Data.Text}\nsnippet import2\n import ${1:Data.Text} (${2:head})\nsnippet importq\n import qualified ${1:Data.Text} as ${2:T}\nsnippet inst\n instance ${1:Monoid} ${2:Type} where\n ${3}\nsnippet type\n type ${1:Type} = ${2:Type}\nsnippet data\n data ${1:Type} = ${2:$1} ${3:Int}\nsnippet newtype\n newtype ${1:Type} = ${2:$1} ${3:Int}\nsnippet class\n class ${1:Class} a where\n ${2}\nsnippet module\n module `substitute(substitute(expand('%:r'), '[/\\\\]','.','g'),'^\\%(\\l*\\.\\)\\?','','')` (\n ) where\n `expand('%') =~ 'Main' ? \"\\n\\nmain = do\\n print \\\"hello world\\\"\" : \"\"`\n\nsnippet const\n ${1:name} :: ${2:a}\n $1 = ${3:undefined}\nsnippet fn\n ${1:fn} :: ${2:a} -> ${3:a}\n $1 ${4} = ${5:undefined}\nsnippet fn2\n ${1:fn} :: ${2:a} -> ${3:a} -> ${4:a}\n $1 ${5} = ${6:undefined}\nsnippet ap\n ${1:map} ${2:fn} ${3:list}\nsnippet do\n do\n \nsnippet \u03bb\n \\${1:x} -> ${2}\nsnippet \\\n \\${1:x} -> ${2}\nsnippet <-\n ${1:a} <- ${2:m a}\nsnippet \u2190\n ${1:a} <- ${2:m a}\nsnippet ->\n ${1:m a} -> ${2:a}\nsnippet \u2192\n ${1:m a} -> ${2:a}\nsnippet tup\n (${1:a}, ${2:b})\nsnippet tup2\n (${1:a}, ${2:b}, ${3:c})\nsnippet tup3\n (${1:a}, ${2:b}, ${3:c}, ${4:d})\nsnippet rec\n ${1:Record} { ${2:recFieldA} = ${3:undefined}\n , ${4:recFieldB} = ${5:undefined}\n }\nsnippet case\n case ${1:something} of\n ${2} -> ${3}\nsnippet let\n let ${1} = ${2}\n in ${3}\nsnippet where\n where\n ${1:fn} = ${2:undefined}\n"}),define("ace/snippets/haskell",["require","exports","module","ace/snippets/haskell.snippets"],function(e,t,n){"use strict";t.snippetText=e("./haskell.snippets"),t.scope="haskell"}); (function() { 2 | window.require(["ace/snippets/haskell"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/haskell_cabal.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/haskell_cabal"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/haxe.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/haxe"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/hjson.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/hjson"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/html_elixir.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/html_elixir"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/html_ruby.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/html_ruby"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/ini.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/ini"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/io.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/io",["require","exports","module"],function(e,t,n){"use strict";t.snippets=[{content:"assertEquals(${1:expected}, ${2:expr})",name:"assertEquals",scope:"io",tabTrigger:"ae"},{content:"${1:${2:newValue} := ${3:Object} }clone do(\n $0\n)",name:"clone do",scope:"io",tabTrigger:"cdo"},{content:'docSlot("${1:slotName}", "${2:documentation}")',name:"docSlot",scope:"io",tabTrigger:"ds"},{content:"(${1:header,}\n ${2:body}\n)$0",keyEquivalent:"@(",name:"Indented Bracketed Line",scope:"io",tabTrigger:"("},{content:"\n $0\n",keyEquivalent:"\r",name:"Special: Return Inside Empty Parenthesis",scope:"io meta.empty-parenthesis.io, io meta.comma-parenthesis.io"},{content:"${1:methodName} := method(${2:args,}\n $0\n)",name:"method",scope:"io",tabTrigger:"m"},{content:'newSlot("${1:slotName}", ${2:defaultValue}, "${3:docString}")$0',name:"newSlot",scope:"io",tabTrigger:"ns"},{content:"${1:name} := Object clone do(\n $0\n)",name:"Object clone do",scope:"io",tabTrigger:"ocdo"},{content:"test${1:SomeFeature} := method(\n $0\n)",name:"testMethod",scope:"io",tabTrigger:"ts"},{content:"${1:Something}Test := ${2:UnitTest} clone do(\n $0\n)",name:"UnitTest",scope:"io",tabTrigger:"ut"}],t.scope="io"}); (function() { 2 | window.require(["ace/snippets/io"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/ion.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/ion"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/jack.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/jack"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/jade.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/jade"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/jexl.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/jexl"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/json.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/json"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/json5.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/json5"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/jsoniq.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/jsoniq.snippets",["require","exports","module"],function(e,t,n){n.exports='snippet for\n for $${1:item} in ${2:expr}\nsnippet return\n return ${1:expr}\nsnippet import\n import module namespace ${1:ns} = "${2:http://www.example.com/}";\nsnippet some\n some $${1:varname} in ${2:expr} satisfies ${3:expr}\nsnippet every\n every $${1:varname} in ${2:expr} satisfies ${3:expr}\nsnippet if\n if(${1:true}) then ${2:expr} else ${3:true}\nsnippet switch\n switch(${1:"foo"})\n case ${2:"foo"}\n return ${3:true}\n default return ${4:false}\nsnippet try\n try { ${1:expr} } catch ${2:*} { ${3:expr} }\nsnippet tumbling\n for tumbling window $${1:varname} in ${2:expr}\n start at $${3:start} when ${4:expr}\n end at $${5:end} when ${6:expr}\n return ${7:expr}\nsnippet sliding\n for sliding window $${1:varname} in ${2:expr}\n start at $${3:start} when ${4:expr}\n end at $${5:end} when ${6:expr}\n return ${7:expr}\nsnippet let\n let $${1:varname} := ${2:expr}\nsnippet group\n group by $${1:varname} := ${2:expr}\nsnippet order\n order by ${1:expr} ${2:descending}\nsnippet stable\n stable order by ${1:expr}\nsnippet count\n count $${1:varname}\nsnippet ordered\n ordered { ${1:expr} }\nsnippet unordered\n unordered { ${1:expr} }\nsnippet treat \n treat as ${1:expr}\nsnippet castable\n castable as ${1:atomicType}\nsnippet cast\n cast as ${1:atomicType}\nsnippet typeswitch\n typeswitch(${1:expr})\n case ${2:type} return ${3:expr}\n default return ${4:expr}\nsnippet var\n declare variable $${1:varname} := ${2:expr};\nsnippet fn\n declare function ${1:ns}:${2:name}(){\n ${3:expr}\n };\nsnippet module\n module namespace ${1:ns} = "${2:http://www.example.com}";\n'}),define("ace/snippets/jsoniq",["require","exports","module","ace/snippets/jsoniq.snippets"],function(e,t,n){"use strict";t.snippetText=e("./jsoniq.snippets"),t.scope="jsoniq"}); (function() { 2 | window.require(["ace/snippets/jsoniq"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/jssm.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/jssm"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/jsx.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/jsx"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/julia.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/julia"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/kotlin.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/kotlin"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/latex.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/latex"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/latte.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/latte"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/less.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/less"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/lisp.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/lisp"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/livescript.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/livescript"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/logiql.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/logiql"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/logtalk.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/logtalk"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/lua.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/lua.snippets",["require","exports","module"],function(e,t,n){n.exports="snippet #!\n #!/usr/bin/env lua\n $1\nsnippet local\n local ${1:x} = ${2:1}\nsnippet fun\n function ${1:fname}(${2:...})\n ${3:-- body}\n end\nsnippet for\n for ${1:i}=${2:1},${3:10} do\n ${4:print(i)}\n end\nsnippet forp\n for ${1:i},${2:v} in pairs(${3:table_name}) do\n ${4:-- body}\n end\nsnippet fori\n for ${1:i},${2:v} in ipairs(${3:table_name}) do\n ${4:-- body}\n end\n"}),define("ace/snippets/lua",["require","exports","module","ace/snippets/lua.snippets"],function(e,t,n){"use strict";t.snippetText=e("./lua.snippets"),t.scope="lua"}); (function() { 2 | window.require(["ace/snippets/lua"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/luapage.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/luapage"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/lucene.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/lucene"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/makefile.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/makefile.snippets",["require","exports","module"],function(e,t,n){n.exports="snippet ifeq\n ifeq (${1:cond0},${2:cond1})\n ${3:code}\n endif\n"}),define("ace/snippets/makefile",["require","exports","module","ace/snippets/makefile.snippets"],function(e,t,n){"use strict";t.snippetText=e("./makefile.snippets"),t.scope="makefile"}); (function() { 2 | window.require(["ace/snippets/makefile"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/markdown.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/markdown.snippets",["require","exports","module"],function(e,t,n){n.exports='# Markdown\n\n# Includes octopress (http://octopress.org/) snippets\n\nsnippet [\n [${1:text}](http://${2:address} "${3:title}")\nsnippet [*\n [${1:link}](${2:`@*`} "${3:title}")${4}\n\nsnippet [:\n [${1:id}]: http://${2:url} "${3:title}"\nsnippet [:*\n [${1:id}]: ${2:`@*`} "${3:title}"\n\nsnippet ![\n ![${1:alttext}](${2:/images/image.jpg} "${3:title}")\nsnippet ![*\n ![${1:alt}](${2:`@*`} "${3:title}")${4}\n\nsnippet ![:\n ![${1:id}]: ${2:url} "${3:title}"\nsnippet ![:*\n ![${1:id}]: ${2:`@*`} "${3:title}"\n\nsnippet ===\nregex /^/=+/=*//\n ${PREV_LINE/./=/g}\n \n ${0}\nsnippet ---\nregex /^/-+/-*//\n ${PREV_LINE/./-/g}\n \n ${0}\nsnippet blockquote\n {% blockquote %}\n ${1:quote}\n {% endblockquote %}\n\nsnippet blockquote-author\n {% blockquote ${1:author}, ${2:title} %}\n ${3:quote}\n {% endblockquote %}\n\nsnippet blockquote-link\n {% blockquote ${1:author} ${2:URL} ${3:link_text} %}\n ${4:quote}\n {% endblockquote %}\n\nsnippet bt-codeblock-short\n ```\n ${1:code_snippet}\n ```\n\nsnippet bt-codeblock-full\n ``` ${1:language} ${2:title} ${3:URL} ${4:link_text}\n ${5:code_snippet}\n ```\n\nsnippet codeblock-short\n {% codeblock %}\n ${1:code_snippet}\n {% endcodeblock %}\n\nsnippet codeblock-full\n {% codeblock ${1:title} lang:${2:language} ${3:URL} ${4:link_text} %}\n ${5:code_snippet}\n {% endcodeblock %}\n\nsnippet gist-full\n {% gist ${1:gist_id} ${2:filename} %}\n\nsnippet gist-short\n {% gist ${1:gist_id} %}\n\nsnippet img\n {% img ${1:class} ${2:URL} ${3:width} ${4:height} ${5:title_text} ${6:alt_text} %}\n\nsnippet youtube\n {% youtube ${1:video_id} %}\n\n# The quote should appear only once in the text. It is inherently part of it.\n# See http://octopress.org/docs/plugins/pullquote/ for more info.\n\nsnippet pullquote\n {% pullquote %}\n ${1:text} {" ${2:quote} "} ${3:text}\n {% endpullquote %}\n'}),define("ace/snippets/markdown",["require","exports","module","ace/snippets/markdown.snippets"],function(e,t,n){"use strict";t.snippetText=e("./markdown.snippets"),t.scope="markdown"}); (function() { 2 | window.require(["ace/snippets/markdown"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/mask.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/mask"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/matlab.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/matlab"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/maze.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/maze.snippets",["require","exports","module"],function(e,t,n){n.exports="snippet >\ndescription assignment\nscope maze\n -> ${1}= ${2}\n\nsnippet >\ndescription if\nscope maze\n -> IF ${2:**} THEN %${3:L} ELSE %${4:R}\n"}),define("ace/snippets/maze",["require","exports","module","ace/snippets/maze.snippets"],function(e,t,n){"use strict";t.snippetText=e("./maze.snippets"),t.scope="maze"}); (function() { 2 | window.require(["ace/snippets/maze"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/mediawiki.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/mediawiki"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/mel.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/mel"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/mips.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/mips"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/mixal.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/mixal"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/mushcode.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/mushcode"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/mysql.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/mysql"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/nginx.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/nginx"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/nim.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/nim"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/nix.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/nix"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/nsis.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/nsis"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/nunjucks.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/nunjucks"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/objectivec.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/objectivec"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/ocaml.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/ocaml"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/partiql.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/partiql"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/pascal.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/pascal"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/pgsql.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/pgsql"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/php_laravel_blade.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/php_laravel_blade"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/pig.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/pig"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/plain_text.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/plain_text"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/powershell.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/powershell"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/praat.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/praat"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/prisma.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/prisma"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/prolog.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/prolog"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/properties.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/properties"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/protobuf.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/protobuf"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/puppet.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/puppet"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/qml.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/qml"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/r.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/r.snippets",["require","exports","module"],function(e,t,n){n.exports='snippet #!\n #!/usr/bin/env Rscript\n\n# includes\nsnippet lib\n library(${1:package})\nsnippet req\n require(${1:package})\nsnippet source\n source(\'${1:file}\')\n\n# conditionals\nsnippet if\n if (${1:condition}) {\n ${2:code}\n }\nsnippet el\n else {\n ${1:code}\n }\nsnippet ei\n else if (${1:condition}) {\n ${2:code}\n }\n\n# functions\nsnippet fun\n ${1:name} = function (${2:variables}) {\n ${3:code}\n }\nsnippet ret\n return(${1:code})\n\n# dataframes, lists, etc\nsnippet df\n ${1:name}[${2:rows}, ${3:cols}]\nsnippet c\n c(${1:items})\nsnippet li\n list(${1:items})\nsnippet mat\n matrix(${1:data}, nrow=${2:rows}, ncol=${3:cols})\n\n# apply functions\nsnippet apply\n apply(${1:array}, ${2:margin}, ${3:function})\nsnippet lapply\n lapply(${1:list}, ${2:function})\nsnippet sapply\n sapply(${1:list}, ${2:function})\nsnippet vapply\n vapply(${1:list}, ${2:function}, ${3:type})\nsnippet mapply\n mapply(${1:function}, ${2:...})\nsnippet tapply\n tapply(${1:vector}, ${2:index}, ${3:function})\nsnippet rapply\n rapply(${1:list}, ${2:function})\n\n# plyr functions\nsnippet dd\n ddply(${1:frame}, ${2:variables}, ${3:function})\nsnippet dl\n dlply(${1:frame}, ${2:variables}, ${3:function})\nsnippet da\n daply(${1:frame}, ${2:variables}, ${3:function})\nsnippet d_\n d_ply(${1:frame}, ${2:variables}, ${3:function})\n\nsnippet ad\n adply(${1:array}, ${2:margin}, ${3:function})\nsnippet al\n alply(${1:array}, ${2:margin}, ${3:function})\nsnippet aa\n aaply(${1:array}, ${2:margin}, ${3:function})\nsnippet a_\n a_ply(${1:array}, ${2:margin}, ${3:function})\n\nsnippet ld\n ldply(${1:list}, ${2:function})\nsnippet ll\n llply(${1:list}, ${2:function})\nsnippet la\n laply(${1:list}, ${2:function})\nsnippet l_\n l_ply(${1:list}, ${2:function})\n\nsnippet md\n mdply(${1:matrix}, ${2:function})\nsnippet ml\n mlply(${1:matrix}, ${2:function})\nsnippet ma\n maply(${1:matrix}, ${2:function})\nsnippet m_\n m_ply(${1:matrix}, ${2:function})\n\n# plot functions\nsnippet pl\n plot(${1:x}, ${2:y})\nsnippet ggp\n ggplot(${1:data}, aes(${2:aesthetics}))\nsnippet img\n ${1:(jpeg,bmp,png,tiff)}(filename="${2:filename}", width=${3}, height=${4}, unit="${5}")\n ${6:plot}\n dev.off()\n\n# statistical test functions\nsnippet fis\n fisher.test(${1:x}, ${2:y})\nsnippet chi\n chisq.test(${1:x}, ${2:y})\nsnippet tt\n t.test(${1:x}, ${2:y})\nsnippet wil\n wilcox.test(${1:x}, ${2:y})\nsnippet cor\n cor.test(${1:x}, ${2:y})\nsnippet fte\n var.test(${1:x}, ${2:y})\nsnippet kvt \n kv.test(${1:x}, ${2:y})\n'}),define("ace/snippets/r",["require","exports","module","ace/snippets/r.snippets"],function(e,t,n){"use strict";t.snippetText=e("./r.snippets"),t.scope="r"}); (function() { 2 | window.require(["ace/snippets/r"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/raku.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/raku"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/razor.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/razor.snippets",["require","exports","module"],function(e,t,n){n.exports="snippet if\n(${1} == ${2}) {\n ${3}\n}"}),define("ace/snippets/razor",["require","exports","module","ace/snippets/razor.snippets"],function(e,t,n){"use strict";t.snippetText=e("./razor.snippets"),t.scope="razor"}); (function() { 2 | window.require(["ace/snippets/razor"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/rdoc.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/rdoc"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/red.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/red"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/redshift.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/redshift"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/rhtml.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/rhtml"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/robot.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/robot.snippets",["require","exports","module"],function(e,t,n){n.exports="# scope: robot\n### Sections\nsnippet settingssection\ndescription *** Settings *** section\n *** Settings ***\n Library ${1}\n\nsnippet keywordssection\ndescription *** Keywords *** section\n *** Keywords ***\n ${1:Keyword Name}\n [Arguments] \\${${2:Example Arg 1}}\n \nsnippet testcasessection\ndescription *** Test Cases *** section\n *** Test Cases ***\n ${1:First Test Case}\n ${2:Log Example Arg}\n\nsnippet variablessection\ndescription *** Variables *** section\n *** Variables ***\n \\${${1:Variable Name}}= ${2:Variable Value}\n\n### Helpful keywords\nsnippet testcase\ndescription A test case\n ${1:Test Case Name}\n ${2:Log Example log message}\n \nsnippet keyword\ndescription A keyword\n ${1:Example Keyword}\n [Arguments] \\${${2:Example Arg 1}}\n\n### Built Ins\nsnippet forinr\ndescription For In Range Loop\n FOR \\${${1:Index}} IN RANGE \\${${2:10}}\n Log \\${${1:Index}}\n END\n\nsnippet forin\ndescription For In Loop\n FOR \\${${1:Item}} IN @{${2:List Variable}}\n Log \\${${1:Item}}\n END\n\nsnippet if\ndescription If Statement\n IF ${1:condition}\n ${2:Do something}\n END\n\nsnippet else\ndescription If Statement\n IF ${1:Condition}\n ${2:Do something}\n ELSE\n ${3:Otherwise do this}\n END\n\nsnippet elif\ndescription Else-If Statement\n IF ${1:Condition 1}\n ${2:Do something}\n ELSE IF ${3:Condition 2}\n ${4:Do something else}\n END\n"}),define("ace/snippets/robot",["require","exports","module","ace/snippets/robot.snippets"],function(e,t,n){"use strict";t.snippetText=e("./robot.snippets"),t.scope="robot"}); (function() { 2 | window.require(["ace/snippets/robot"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/rst.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/rst.snippets",["require","exports","module"],function(e,t,n){n.exports="# rst\n\nsnippet :\n :${1:field name}: ${2:field body}\nsnippet *\n *${1:Emphasis}*\nsnippet **\n **${1:Strong emphasis}**\nsnippet _\n \\`${1:hyperlink-name}\\`_\n .. _\\`$1\\`: ${2:link-block}\nsnippet =\n ${1:Title}\n =====${2:=}\n ${3}\nsnippet -\n ${1:Title}\n -----${2:-}\n ${3}\nsnippet cont:\n .. contents::\n \n"}),define("ace/snippets/rst",["require","exports","module","ace/snippets/rst.snippets"],function(e,t,n){"use strict";t.snippetText=e("./rst.snippets"),t.scope="rst"}); (function() { 2 | window.require(["ace/snippets/rst"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/rust.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/rust"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/sac.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/sac"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/sass.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/sass"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/scad.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/scad"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/scala.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/scala"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/scheme.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/scheme"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/scrypt.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/scrypt"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/scss.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/scss"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/sh.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/sh.snippets",["require","exports","module"],function(e,t,n){n.exports='# Shebang. Executing bash via /usr/bin/env makes scripts more portable.\nsnippet #!\n #!/usr/bin/env bash\n \nsnippet if\n if [[ ${1:condition} ]]; then\n ${2:#statements}\n fi\nsnippet elif\n elif [[ ${1:condition} ]]; then\n ${2:#statements}\nsnippet for\n for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do\n ${3:#statements}\n done\nsnippet fori\n for ${1:needle} in ${2:haystack} ; do\n ${3:#statements}\n done\nsnippet wh\n while [[ ${1:condition} ]]; do\n ${2:#statements}\n done\nsnippet until\n until [[ ${1:condition} ]]; do\n ${2:#statements}\n done\nsnippet case\n case ${1:word} in\n ${2:pattern})\n ${3};;\n esac\nsnippet go \n while getopts \'${1:o}\' ${2:opts} \n do \n case $$2 in\n ${3:o0})\n ${4:#staments};;\n esac\n done\n# Set SCRIPT_DIR variable to directory script is located.\nsnippet sdir\n SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"\n# getopt\nsnippet getopt\n __ScriptVersion="${1:version}"\n\n #=== FUNCTION ================================================================\n # NAME: usage\n # DESCRIPTION: Display usage information.\n #===============================================================================\n function usage ()\n {\n cat <<- EOT\n\n Usage : $${0:0} [options] [--] \n\n Options: \n -h|help Display this message\n -v|version Display script version\n\n EOT\n } # ---------- end of function usage ----------\n\n #-----------------------------------------------------------------------\n # Handle command line arguments\n #-----------------------------------------------------------------------\n\n while getopts ":hv" opt\n do\n case $opt in\n\n h|help ) usage; exit 0 ;;\n\n v|version ) echo "$${0:0} -- Version $__ScriptVersion"; exit 0 ;;\n\n \\? ) echo -e "\\n Option does not exist : $OPTARG\\n"\n usage; exit 1 ;;\n\n esac # --- end of case ---\n done\n shift $(($OPTIND-1))\n\n'}),define("ace/snippets/sh",["require","exports","module","ace/snippets/sh.snippets"],function(e,t,n){"use strict";t.snippetText=e("./sh.snippets"),t.scope="sh"}); (function() { 2 | window.require(["ace/snippets/sh"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/sjs.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/sjs"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/slim.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/slim"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/smarty.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/smarty"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/smithy.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/smithy"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/snippets.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/snippets.snippets",["require","exports","module"],function(e,t,n){n.exports="# snippets for making snippets :)\nsnippet snip\n snippet ${1:trigger}\n ${2}\nsnippet msnip\n snippet ${1:trigger} ${2:description}\n ${3}\nsnippet v\n {VISUAL}\n"}),define("ace/snippets/snippets",["require","exports","module","ace/snippets/snippets.snippets"],function(e,t,n){"use strict";t.snippetText=e("./snippets.snippets"),t.scope="snippets"}); (function() { 2 | window.require(["ace/snippets/snippets"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/soy_template.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/soy_template"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/space.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/space"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/sparql.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/sparql"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/sql.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/sql.snippets",["require","exports","module"],function(e,t,n){n.exports="snippet tbl\n create table ${1:table} (\n ${2:columns}\n );\nsnippet col\n ${1:name} ${2:type} ${3:default ''} ${4:not null}\nsnippet ccol\n ${1:name} varchar2(${2:size}) ${3:default ''} ${4:not null}\nsnippet ncol\n ${1:name} number ${3:default 0} ${4:not null}\nsnippet dcol\n ${1:name} date ${3:default sysdate} ${4:not null}\nsnippet ind\n create index ${3:$1_$2} on ${1:table}(${2:column});\nsnippet uind\n create unique index ${1:name} on ${2:table}(${3:column});\nsnippet tblcom\n comment on table ${1:table} is '${2:comment}';\nsnippet colcom\n comment on column ${1:table}.${2:column} is '${3:comment}';\nsnippet addcol\n alter table ${1:table} add (${2:column} ${3:type});\nsnippet seq\n create sequence ${1:name} start with ${2:1} increment by ${3:1} minvalue ${4:1};\nsnippet s*\n select * from ${1:table}\n"}),define("ace/snippets/sql",["require","exports","module","ace/snippets/sql.snippets"],function(e,t,n){"use strict";t.snippetText=e("./sql.snippets"),t.scope="sql"}); (function() { 2 | window.require(["ace/snippets/sql"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/sqlserver.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/sqlserver.snippets",["require","exports","module"],function(e,t,n){n.exports="# ISNULL\nsnippet isnull\n ISNULL(${1:check_expression}, ${2:replacement_value})\n# FORMAT\nsnippet format\n FORMAT(${1:value}, ${2:format})\n# CAST\nsnippet cast\n CAST(${1:expression} AS ${2:data_type})\n# CONVERT\nsnippet convert\n CONVERT(${1:data_type}, ${2:expression})\n# DATEPART\nsnippet datepart\n DATEPART(${1:datepart}, ${2:date})\n# DATEDIFF\nsnippet datediff\n DATEDIFF(${1:datepart}, ${2:startdate}, ${3:enddate})\n# DATEADD\nsnippet dateadd\n DATEADD(${1:datepart}, ${2:number}, ${3:date})\n# DATEFROMPARTS \nsnippet datefromparts\n DATEFROMPARTS(${1:year}, ${2:month}, ${3:day})\n# OBJECT_DEFINITION\nsnippet objectdef\n SELECT OBJECT_DEFINITION(OBJECT_ID('${1:sys.server_permissions /*object name*/}'))\n# STUFF XML\nsnippet stuffxml\n STUFF((SELECT ', ' + ${1:ColumnName}\n FROM ${2:TableName}\n WHERE ${3:WhereClause}\n FOR XML PATH('')), 1, 1, '') AS ${4:Alias}\n ${5:/*https://msdn.microsoft.com/en-us/library/ms188043.aspx*/}\n# Create Procedure\nsnippet createproc\n -- =============================================\n -- Author: ${1:Author}\n -- Create date: ${2:Date}\n -- Description: ${3:Description}\n -- =============================================\n CREATE PROCEDURE ${4:Procedure_Name}\n ${5:/*Add the parameters for the stored procedure here*/}\n AS\n BEGIN\n -- SET NOCOUNT ON added to prevent extra result sets from interfering with SELECT statements.\n SET NOCOUNT ON;\n \n ${6:/*Add the T-SQL statements to compute the return value here*/}\n \n END\n GO\n# Create Scalar Function\nsnippet createfn\n -- =============================================\n -- Author: ${1:Author}\n -- Create date: ${2:Date}\n -- Description: ${3:Description}\n -- =============================================\n CREATE FUNCTION ${4:Scalar_Function_Name}\n -- Add the parameters for the function here\n RETURNS ${5:Function_Data_Type}\n AS\n BEGIN\n DECLARE @Result ${5:Function_Data_Type}\n \n ${6:/*Add the T-SQL statements to compute the return value here*/}\n \n END\n GO"}),define("ace/snippets/sqlserver",["require","exports","module","ace/snippets/sqlserver.snippets"],function(e,t,n){"use strict";t.snippetText=e("./sqlserver.snippets"),t.scope="sqlserver"}); (function() { 2 | window.require(["ace/snippets/sqlserver"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/stylus.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/stylus"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/svg.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/svg"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/swift.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/swift"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/tcl.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/tcl.snippets",["require","exports","module"],function(e,t,n){n.exports="# #!/usr/bin/env tclsh\nsnippet #!\n #!/usr/bin/env tclsh\n \n# Process\nsnippet pro\n proc ${1:function_name} {${2:args}} {\n ${3:#body ...}\n }\n#xif\nsnippet xif\n ${1:expr}? ${2:true} : ${3:false}\n# Conditional\nsnippet if\n if {${1}} {\n ${2:# body...}\n }\n# Conditional if..else\nsnippet ife\n if {${1}} {\n ${2:# body...}\n } else {\n ${3:# else...}\n }\n# Conditional if..elsif..else\nsnippet ifee\n if {${1}} {\n ${2:# body...}\n } elseif {${3}} {\n ${4:# elsif...}\n } else {\n ${5:# else...}\n }\n# If catch then\nsnippet ifc\n if { [catch {${1:#do something...}} ${2:err}] } {\n ${3:# handle failure...}\n }\n# Catch\nsnippet catch\n catch {${1}} ${2:err} ${3:options}\n# While Loop\nsnippet wh\n while {${1}} {\n ${2:# body...}\n }\n# For Loop\nsnippet for\n for {set ${2:var} 0} {$$2 < ${1:count}} {${3:incr} $2} {\n ${4:# body...}\n }\n# Foreach Loop\nsnippet fore\n foreach ${1:x} {${2:#list}} {\n ${3:# body...}\n }\n# after ms script...\nsnippet af\n after ${1:ms} ${2:#do something}\n# after cancel id\nsnippet afc\n after cancel ${1:id or script}\n# after idle\nsnippet afi\n after idle ${1:script}\n# after info id\nsnippet afin\n after info ${1:id}\n# Expr\nsnippet exp\n expr {${1:#expression here}}\n# Switch\nsnippet sw\n switch ${1:var} {\n ${3:pattern 1} {\n ${4:#do something}\n }\n default {\n ${2:#do something}\n }\n }\n# Case\nsnippet ca\n ${1:pattern} {\n ${2:#do something}\n }${3}\n# Namespace eval\nsnippet ns\n namespace eval ${1:path} {${2:#script...}}\n# Namespace current\nsnippet nsc\n namespace current\n"}),define("ace/snippets/tcl",["require","exports","module","ace/snippets/tcl.snippets"],function(e,t,n){"use strict";t.snippetText=e("./tcl.snippets"),t.scope="tcl"}); (function() { 2 | window.require(["ace/snippets/tcl"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/terraform.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/terraform"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/text.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/text"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/textile.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/textile.snippets",["require","exports","module"],function(e,t,n){n.exports='# Jekyll post header\nsnippet header\n ---\n title: ${1:title}\n layout: post\n date: ${2:date} ${3:hour:minute:second} -05:00\n ---\n\n# Image\nsnippet img\n !${1:url}(${2:title}):${3:link}!\n\n# Table\nsnippet |\n |${1}|${2}\n\n# Link\nsnippet link\n "${1:link text}":${2:url}\n\n# Acronym\nsnippet (\n (${1:Expand acronym})${2}\n\n# Footnote\nsnippet fn\n [${1:ref number}] ${3}\n\n fn$1. ${2:footnote}\n \n'}),define("ace/snippets/textile",["require","exports","module","ace/snippets/textile.snippets"],function(e,t,n){"use strict";t.snippetText=e("./textile.snippets"),t.scope="textile"}); (function() { 2 | window.require(["ace/snippets/textile"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/toml.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/toml"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/tsx.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/tsx"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/turtle.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/turtle"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/twig.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/twig"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/typescript.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/typescript"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/vbscript.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/vbscript"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/velocity.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/velocity.snippets",["require","exports","module"],function(e,t,n){n.exports='# macro\nsnippet #macro\n #macro ( ${1:macroName} ${2:\\$var1, [\\$var2, ...]} )\n ${3:## macro code}\n #end\n# foreach\nsnippet #foreach\n #foreach ( ${1:\\$item} in ${2:\\$collection} )\n ${3:## foreach code}\n #end\n# if\nsnippet #if\n #if ( ${1:true} )\n ${0}\n #end\n# if ... else\nsnippet #ife\n #if ( ${1:true} )\n ${2}\n #else\n ${0}\n #end\n#import\nsnippet #import\n #import ( "${1:path/to/velocity/format}" )\n# set\nsnippet #set\n #set ( $${1:var} = ${0} )\n'}),define("ace/snippets/velocity",["require","exports","module","ace/snippets/velocity.snippets"],function(e,t,n){"use strict";t.snippetText=e("./velocity.snippets"),t.scope="velocity",t.includeScopes=["html","javascript","css"]}); (function() { 2 | window.require(["ace/snippets/velocity"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/verilog.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/verilog"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/vhdl.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/vhdl"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/visualforce.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/visualforce"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/wollok.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/wollok.snippets",["require","exports","module"],function(e,t,n){n.exports='##\n## Basic Java packages and import\nsnippet im\n import\nsnippet w.l\n wollok.lang\nsnippet w.i\n wollok.lib\n\n## Class and object\nsnippet cl\n class ${1:`Filename("", "untitled")`} ${2}\nsnippet obj\n object ${1:`Filename("", "untitled")`} ${2:inherits Parent}${3}\nsnippet te\n test ${1:`Filename("", "untitled")`}\n\n##\n## Enhancements\nsnippet inh\n inherits\n\n##\n## Comments\nsnippet /*\n /*\n * ${1}\n */\n\n##\n## Control Statements\nsnippet el\n else\nsnippet if\n if (${1}) ${2}\n\n##\n## Create a Method\nsnippet m\n method ${1:method}(${2}) ${5}\n\n## \n## Tests\nsnippet as\n assert.equals(${1:expected}, ${2:actual})\n\n##\n## Exceptions\nsnippet ca\n catch ${1:e} : (${2:Exception} ) ${3}\nsnippet thr\n throw\nsnippet try\n try {\n ${3}\n } catch ${1:e} : ${2:Exception} {\n }\n\n##\n## Javadocs\nsnippet /**\n /**\n * ${1}\n */\n\n##\n## Print Methods\nsnippet print\n console.println("${1:Message}")\n\n##\n## Setter and Getter Methods\nsnippet set\n method set${1:}(${2:}) {\n $1 = $2\n }\nsnippet get\n method get${1:}() {\n return ${1:};\n }\n\n##\n## Terminate Methods or Loops\nsnippet re\n return'}),define("ace/snippets/wollok",["require","exports","module","ace/snippets/wollok.snippets"],function(e,t,n){"use strict";t.snippetText=e("./wollok.snippets"),t.scope="wollok"}); (function() { 2 | window.require(["ace/snippets/wollok"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/xml.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/xml"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/xquery.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/xquery.snippets",["require","exports","module"],function(e,t,n){n.exports='snippet for\n for $${1:item} in ${2:expr}\nsnippet return\n return ${1:expr}\nsnippet import\n import module namespace ${1:ns} = "${2:http://www.example.com/}";\nsnippet some\n some $${1:varname} in ${2:expr} satisfies ${3:expr}\nsnippet every\n every $${1:varname} in ${2:expr} satisfies ${3:expr}\nsnippet if\n if(${1:true}) then ${2:expr} else ${3:true}\nsnippet switch\n switch(${1:"foo"})\n case ${2:"foo"}\n return ${3:true}\n default return ${4:false}\nsnippet try\n try { ${1:expr} } catch ${2:*} { ${3:expr} }\nsnippet tumbling\n for tumbling window $${1:varname} in ${2:expr}\n start at $${3:start} when ${4:expr}\n end at $${5:end} when ${6:expr}\n return ${7:expr}\nsnippet sliding\n for sliding window $${1:varname} in ${2:expr}\n start at $${3:start} when ${4:expr}\n end at $${5:end} when ${6:expr}\n return ${7:expr}\nsnippet let\n let $${1:varname} := ${2:expr}\nsnippet group\n group by $${1:varname} := ${2:expr}\nsnippet order\n order by ${1:expr} ${2:descending}\nsnippet stable\n stable order by ${1:expr}\nsnippet count\n count $${1:varname}\nsnippet ordered\n ordered { ${1:expr} }\nsnippet unordered\n unordered { ${1:expr} }\nsnippet treat \n treat as ${1:expr}\nsnippet castable\n castable as ${1:atomicType}\nsnippet cast\n cast as ${1:atomicType}\nsnippet typeswitch\n typeswitch(${1:expr})\n case ${2:type} return ${3:expr}\n default return ${4:expr}\nsnippet var\n declare variable $${1:varname} := ${2:expr};\nsnippet fn\n declare function ${1:ns}:${2:name}(){\n ${3:expr}\n };\nsnippet module\n module namespace ${1:ns} = "${2:http://www.example.com}";\n'}),define("ace/snippets/xquery",["require","exports","module","ace/snippets/xquery.snippets"],function(e,t,n){"use strict";t.snippetText=e("./xquery.snippets"),t.scope="xquery"}); (function() { 2 | window.require(["ace/snippets/xquery"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/yaml.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/yaml"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/ace/src-min/snippets/zeek.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/zeek"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /public/buymeacoffee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lassebomh/htmx-playground/e282636dee4ed80a937daabb57cdea6977cc4e34/public/buymeacoffee.png -------------------------------------------------------------------------------- /public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lassebomh/htmx-playground/e282636dee4ed80a937daabb57cdea6977cc4e34/public/favicon.png -------------------------------------------------------------------------------- /public/logo_full.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lassebomh/htmx-playground/e282636dee4ed80a937daabb57cdea6977cc4e34/public/logo_full.png -------------------------------------------------------------------------------- /public/logo_transparent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lassebomh/htmx-playground/e282636dee4ed80a937daabb57cdea6977cc4e34/public/logo_transparent.png -------------------------------------------------------------------------------- /public/logo_transparent_96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lassebomh/htmx-playground/e282636dee4ed80a937daabb57cdea6977cc4e34/public/logo_transparent_96.png -------------------------------------------------------------------------------- /public/playgrounds/activesearch/.playground.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Active Search", 3 | "method": "url", 4 | "files": [ 5 | { 6 | "location": "./playgrounds/activesearch/server.js", 7 | "filename": "server.js", 8 | "builtin": true 9 | }, 10 | { 11 | "location": "./playgrounds/activesearch/.playground.json", 12 | "filename": ".playground.json", 13 | "builtin": true 14 | }, 15 | { 16 | "location": "./playgrounds/.loader.html", 17 | "filename": ".loader.html", 18 | "builtin": true 19 | }, 20 | { 21 | "location": "./playgrounds/activesearch/index.html", 22 | "filename": "index.html" 23 | }, 24 | { 25 | "location": "./playgrounds/activesearch/results.html", 26 | "filename": "results.html" 27 | } 28 | ] 29 | } -------------------------------------------------------------------------------- /public/playgrounds/activesearch/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

Active Search Searching...

9 | 10 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
DistanceFirst NameLast Name
27 | 28 | 29 | -------------------------------------------------------------------------------- /public/playgrounds/activesearch/results.html: -------------------------------------------------------------------------------- 1 | {% for result in results %} 2 | 3 | {{ result.score|round(2) }} 4 | {{ result.item.firstName }} 5 | {{ result.item.lastName }} 6 | 7 | {% endfor %} -------------------------------------------------------------------------------- /public/playgrounds/activesearch/server.js: -------------------------------------------------------------------------------- 1 | import { faker } from 'https://cdn.skypack.dev/@faker-js/faker@v7.4.0'; 2 | import Fuse from 'https://cdn.jsdelivr.net/npm/fuse.js@7.0.0/dist/fuse.mjs' 3 | 4 | faker.seed(42) 5 | 6 | let contacts = [] 7 | 8 | for (let i = 0; i < 300; i++) { 9 | contacts.push({ 10 | firstName: faker.name.firstName(), 11 | lastName: faker.name.lastName(), 12 | }) 13 | } 14 | 15 | const fuse = new Fuse(contacts, { 16 | keys: ['firstName', 'lastName'], 17 | includeScore: true 18 | }) 19 | 20 | on.get("/", (request) => { 21 | return render(request, 'index.html', { 22 | results: [] 23 | }) 24 | }) 25 | 26 | on.post("/search", async (request) => { 27 | let formData = await request.formData() 28 | let query = formData.get('search') 29 | 30 | let results = fuse.search(query) 31 | 32 | await sleep(500); 33 | 34 | return render(request, 'results.html', { 35 | results: results.slice(0, 8) 36 | }) 37 | }) 38 | -------------------------------------------------------------------------------- /public/playgrounds/boostrapmodaldialog/.playground.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Modal Dialog in Bootstrap", 3 | "method": "url", 4 | "files": [ 5 | { 6 | "location": "./playgrounds/boostrapmodaldialog/server.js", 7 | "filename": "server.js", 8 | "builtin": true 9 | }, 10 | { 11 | "location": "./playgrounds/boostrapmodaldialog/.playground.json", 12 | "filename": ".playground.json", 13 | "builtin": true 14 | }, 15 | { 16 | "location": "./playgrounds/.loader.html", 17 | "filename": ".loader.html", 18 | "builtin": true 19 | }, 20 | { 21 | "location": "./playgrounds/boostrapmodaldialog/index.html", 22 | "filename": "index.html" 23 | }, 24 | { 25 | "location": "./playgrounds/boostrapmodaldialog/modal.html", 26 | "filename": "modal.html" 27 | } 28 | ] 29 | } -------------------------------------------------------------------------------- /public/playgrounds/boostrapmodaldialog/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 |

Modal Dialog in Bootstrap

11 | 12 | 19 | 20 | 29 | 30 |
31 | 32 | -------------------------------------------------------------------------------- /public/playgrounds/boostrapmodaldialog/modal.html: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /public/playgrounds/boostrapmodaldialog/server.js: -------------------------------------------------------------------------------- 1 | 2 | on.get("/", (request) => { 3 | return render(request, 'index.html') 4 | }) 5 | 6 | on.get("/modal", (request) => { 7 | return render(request, 'modal.html') 8 | }) 9 | -------------------------------------------------------------------------------- /public/playgrounds/clicktoedit/.playground.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Click to Edit", 3 | "method": "url", 4 | "files": [ 5 | { 6 | "location": "./playgrounds/clicktoedit/server.js", 7 | "filename": "server.js", 8 | "builtin": true 9 | }, 10 | { 11 | "location": "./playgrounds/clicktoedit/.playground.json", 12 | "filename": ".playground.json", 13 | "builtin": true 14 | }, 15 | { 16 | "location": "./playgrounds/.loader.html", 17 | "filename": ".loader.html", 18 | "builtin": true 19 | }, 20 | { 21 | "location": "./playgrounds/clicktoedit/index.html", 22 | "filename": "index.html" 23 | }, 24 | { 25 | "location": "./playgrounds/clicktoedit/contact.html", 26 | "filename": "contact.html" 27 | }, 28 | { 29 | "location": "./playgrounds/clicktoedit/contact-edit.html", 30 | "filename": "contact-edit.html" 31 | } 32 | ] 33 | } -------------------------------------------------------------------------------- /public/playgrounds/clicktoedit/contact-edit.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 | 8 | 9 |
10 |
11 | 12 | 13 |
14 | 15 | 16 |
-------------------------------------------------------------------------------- /public/playgrounds/clicktoedit/contact.html: -------------------------------------------------------------------------------- 1 |
2 | 3 |
: {{ firstName }}
4 |
: {{ lastName }}
5 |
: {{ email }}
6 | 7 | 10 | 11 |
-------------------------------------------------------------------------------- /public/playgrounds/clicktoedit/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

Click to Edit

9 | 10 | {% include 'contact.html' %} 11 | 12 | -------------------------------------------------------------------------------- /public/playgrounds/clicktoedit/server.js: -------------------------------------------------------------------------------- 1 | 2 | let contact = { 3 | firstName: 'John', 4 | lastName: 'Doe', 5 | email: 'john@doe.com', 6 | } 7 | 8 | on.get("/", (request) => { 9 | return render(request, 'index.html', contact) 10 | }) 11 | 12 | on.get("/contact", (request) => { 13 | return render(request, 'contact.html', contact) 14 | }) 15 | 16 | on.get("/contact/edit", (request) => { 17 | return render(request, 'contact-edit.html', contact) 18 | }) 19 | 20 | on.put("/contact", async (request) => { 21 | let formData = await request.formData() 22 | 23 | contact.firstName = formData.get('firstName') 24 | contact.lastName = formData.get('lastName') 25 | contact.email = formData.get('email') 26 | 27 | return render(request, 'contact.html', contact) 28 | }) -------------------------------------------------------------------------------- /public/playgrounds/clicktoload/.playground.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Click to Load", 3 | "method": "url", 4 | "files": [ 5 | { 6 | "location": "./playgrounds/clicktoload/server.js", 7 | "filename": "server.js", 8 | "builtin": true 9 | }, 10 | { 11 | "location": "./playgrounds/clicktoload/.playground.json", 12 | "filename": ".playground.json", 13 | "builtin": true 14 | }, 15 | { 16 | "location": "./playgrounds/.loader.html", 17 | "filename": ".loader.html", 18 | "builtin": true 19 | }, 20 | { 21 | "location": "./playgrounds/clicktoload/index.html", 22 | "filename": "index.html" 23 | }, 24 | { 25 | "location": "./playgrounds/clicktoload/loadmore.html", 26 | "filename": "loadmore.html" 27 | } 28 | ] 29 | } -------------------------------------------------------------------------------- /public/playgrounds/clicktoload/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |

Click to Load

8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | {% include 'loadmore.html' %} 17 | 18 |
NamePhone Number
19 | 20 | -------------------------------------------------------------------------------- /public/playgrounds/clicktoload/loadmore.html: -------------------------------------------------------------------------------- 1 | 2 | {% for contact in contacts %} 3 | 4 | {{ contact.name }} 5 | {{ contact.phoneNr }} 6 | 7 | {% endfor %} 8 | 9 | 10 | 11 | 16 | 17 | -------------------------------------------------------------------------------- /public/playgrounds/clicktoload/server.js: -------------------------------------------------------------------------------- 1 | 2 | import { faker } from 'https://cdn.skypack.dev/@faker-js/faker@v7.4.0'; 3 | 4 | function getContacts(page) { 5 | faker.seed(page) 6 | 7 | let contacts = [] 8 | 9 | for (let i = 0; i < 6; i++) { 10 | contacts.push({ 11 | name: faker.name.fullName(), 12 | phoneNr: faker.phone.number(), 13 | }) 14 | } 15 | 16 | return contacts 17 | } 18 | 19 | on.get("/", (request) => { 20 | 21 | let context = { 22 | contacts: getContacts(1), 23 | nextPage: 2 24 | } 25 | 26 | return render(request, 'index.html', context) 27 | }) 28 | 29 | on.get("/contacts", (request, page) => { 30 | 31 | page = parseInt(page) 32 | 33 | let context = { 34 | contacts: getContacts(page), 35 | nextPage: page+1, 36 | } 37 | 38 | return render(request, 'loadmore.html', context) 39 | }) 40 | -------------------------------------------------------------------------------- /public/playgrounds/infinitescroll/.playground.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Infinite Scroll", 3 | "method": "url", 4 | "files": [ 5 | { 6 | "location": "./playgrounds/infinitescroll/server.js", 7 | "filename": "server.js", 8 | "builtin": true 9 | }, 10 | { 11 | "location": "./playgrounds/infinitescroll/.playground.json", 12 | "filename": ".playground.json", 13 | "builtin": true 14 | }, 15 | { 16 | "location": "./playgrounds/.loader.html", 17 | "filename": ".loader.html", 18 | "builtin": true 19 | }, 20 | { 21 | "location": "./playgrounds/infinitescroll/index.html", 22 | "filename": "index.html" 23 | }, 24 | { 25 | "location": "./playgrounds/infinitescroll/loadmore.html", 26 | "filename": "loadmore.html" 27 | } 28 | ] 29 | } -------------------------------------------------------------------------------- /public/playgrounds/infinitescroll/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 21 | 22 | 23 |

Infinite Scroll

24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | {% include 'loadmore.html' %} 33 | 34 |
NamePhone Number
35 | 36 |
Loading more...
37 | 38 | -------------------------------------------------------------------------------- /public/playgrounds/infinitescroll/loadmore.html: -------------------------------------------------------------------------------- 1 | {% for contact in contacts %} 2 | {% if loop.last %} 3 | 7 | 8 | {{ contact.name }} 9 | {{ contact.phoneNr }} 10 | 11 | {% else %} 12 | 13 | {{ contact.name }} 14 | {{ contact.phoneNr }} 15 | 16 | {% endif %} 17 | {% endfor %} -------------------------------------------------------------------------------- /public/playgrounds/infinitescroll/server.js: -------------------------------------------------------------------------------- 1 | 2 | import { faker } from 'https://cdn.skypack.dev/@faker-js/faker@v7.4.0'; 3 | 4 | function getContacts(page) { 5 | faker.seed(page) 6 | 7 | let contacts = [] 8 | 9 | for (let i = 0; i < 5; i++) { 10 | contacts.push({ 11 | name: faker.name.fullName(), 12 | phoneNr: faker.phone.number(), 13 | }) 14 | } 15 | 16 | return contacts 17 | } 18 | 19 | on.get("/", (request) => { 20 | 21 | let context = { 22 | contacts: getContacts(1), 23 | nextPage: 2 24 | } 25 | 26 | return render(request, 'index.html', context) 27 | }) 28 | 29 | on.get("/contacts", async (request, page) => { 30 | 31 | page = parseInt(page) 32 | 33 | let context = { 34 | contacts: getContacts(page), 35 | nextPage: page+1, 36 | } 37 | 38 | await sleep(500); 39 | 40 | return render(request, 'loadmore.html', context) 41 | }) 42 | -------------------------------------------------------------------------------- /public/playgrounds/welcome/.playground.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Welcome!", 3 | "method": "url", 4 | "files": [ 5 | { 6 | "location": "./playgrounds/welcome/server.js", 7 | "filename": "server.js", 8 | "builtin": true 9 | }, 10 | { 11 | "location": "./playgrounds/welcome/.playground.json", 12 | "filename": ".playground.json", 13 | "builtin": true 14 | }, 15 | { 16 | "location": "./playgrounds/.loader.html", 17 | "filename": ".loader.html", 18 | "builtin": true 19 | }, 20 | { 21 | "location": "./playgrounds/welcome/index.html", 22 | "filename": "index.html" 23 | }, 24 | { 25 | "location": "./playgrounds/welcome/button.html", 26 | "filename": "button.html" 27 | } 28 | ] 29 | } -------------------------------------------------------------------------------- /public/playgrounds/welcome/button.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/playgrounds/welcome/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

Basic example

9 | 10 | {% include 'button.html' %} 11 | 12 |

13 | Reload with Ctrl+B. There is also a network viewer down there ↓ 14 |

15 |

16 | If you want to help out a fellow student, then you are very welcome to buy me a coffee ❤️. 17 |

18 |

19 | ...or a pizza: BTC 38UyMvitNqKPqfmKMCj4wgTQLemT7z44LP 20 |

21 | 22 | -------------------------------------------------------------------------------- /public/playgrounds/welcome/server.js: -------------------------------------------------------------------------------- 1 | 2 | let genres = [ 3 | "Rock", 4 | "Electronic", 5 | "Country", 6 | "Heavy metal", 7 | "Hip hop", 8 | "Jazz", 9 | "Classical", 10 | "Soul", 11 | "Folk", 12 | "Reggae", 13 | "Techno", 14 | "Disco" 15 | ] 16 | 17 | on.get("/", (request) => { 18 | 19 | let context = { 20 | text: "Click for a random music genre" 21 | } 22 | 23 | return render(request, 'index.html', context) 24 | }) 25 | 26 | on.post("/random-genre", (request) => { 27 | 28 | let genre = genres[Math.floor(Math.random() * genres.length)] 29 | 30 | let context = { 31 | text: genre 32 | } 33 | 34 | return render(request, 'button.html', context) 35 | }) 36 | -------------------------------------------------------------------------------- /src/assets/app.css: -------------------------------------------------------------------------------- 1 | #app { 2 | margin: 0; 3 | padding: 0; 4 | width: 100vw; 5 | height: 100vh; 6 | } 7 | 8 | button { 9 | background-color: transparent; 10 | border: none; 11 | color: inherit; 12 | display: flex; 13 | justify-content: center; 14 | align-items: center; 15 | gap: 4px; 16 | cursor: pointer; 17 | box-sizing: border-box; 18 | padding: 0; 19 | } 20 | 21 | .hide { 22 | display: none; 23 | } 24 | 25 | pre > code { 26 | white-space: initial; 27 | } 28 | -------------------------------------------------------------------------------- /src/components/Ace.svelte: -------------------------------------------------------------------------------- 1 | 67 | 68 |
69 | 70 | -------------------------------------------------------------------------------- /src/components/LogView.svelte: -------------------------------------------------------------------------------- 1 | 24 | 25 |
26 |
27 |

Request

28 |
{@html requestCodeHTML}
29 |
30 |
31 |

Response

32 |
{@html responseCodeHTML}
33 |
34 |
35 | 36 | -------------------------------------------------------------------------------- /src/components/Monaco.svelte: -------------------------------------------------------------------------------- 1 | 40 | 41 |
42 | 43 | -------------------------------------------------------------------------------- /src/components/Resizer.svelte: -------------------------------------------------------------------------------- 1 | 38 | 39 | {#if $$slots.end && $$slots.start} 40 |
41 |
42 | 43 |
44 |
45 |
46 | 47 |
48 |
49 | {:else} 50 |
51 |
52 | {#if $$slots.start} 53 | 54 | {:else} 55 | 56 | {/if} 57 |
58 |
59 | {/if} 60 | 61 | -------------------------------------------------------------------------------- /src/components/layout/Sandbox.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 | 7 |
8 | 9 | 23 | -------------------------------------------------------------------------------- /src/components/layout/Sidebar.svelte: -------------------------------------------------------------------------------- 1 | 49 | 50 |
51 | 52 | {#if parse_error_message != ""} 53 |
{parse_error_message}
54 | {/if} 55 |
56 | 57 | -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- 1 | 2 | // export default app 3 | 4 | async function loadAssets() { 5 | await import('/public/ace/src-min/ace.js'); 6 | ace.config.set('basePath', './ace/src-min/'); 7 | 8 | const App = (await import('./App.svelte')).default 9 | 10 | import('./assets/app.css') 11 | import('highlight.js/styles/github-dark.css') 12 | 13 | new App({ 14 | target: document.getElementById("app") 15 | }) 16 | } 17 | 18 | if (localStorage.getItem('popup-shown') == 'true') { 19 | loadAssets() 20 | } 21 | 22 | window.closePopup = () => { 23 | document.body.classList.add('hide-popup') 24 | 25 | if (localStorage.getItem('popup-shown') !== 'true') { 26 | localStorage.setItem('popup-shown', 'true') 27 | loadAssets(); 28 | } 29 | } -------------------------------------------------------------------------------- /src/playground.ts: -------------------------------------------------------------------------------- 1 | import { writable } from 'svelte/store' 2 | 3 | export let playground = writable(null) 4 | export let openFile = writable(null); 5 | export let activeFileIndex = writable(null); 6 | export let srcdoc = writable(null) 7 | -------------------------------------------------------------------------------- /src/session.ts: -------------------------------------------------------------------------------- 1 | import { writable } from "svelte/store"; 2 | 3 | export let showHiddenFiles = writable(false); -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// -------------------------------------------------------------------------------- /svelte.config.js: -------------------------------------------------------------------------------- 1 | import sveltePreprocess from 'svelte-preprocess' 2 | 3 | export default { 4 | // Consult https://github.com/sveltejs/svelte-preprocess 5 | // for more information about preprocessors 6 | preprocess: sveltePreprocess() 7 | } 8 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@tsconfig/svelte/tsconfig.json", 3 | "compilerOptions": { 4 | "target": "ESNext", 5 | "useDefineForClassFields": true, 6 | "module": "ESNext", 7 | "resolveJsonModule": true, 8 | /** 9 | * Typecheck JS in `.svelte` and `.js` files by default. 10 | * Disable checkJs if you'd like to use dynamic types in JS. 11 | * Note that setting allowJs false does not prevent the use 12 | * of JS in `.svelte` files. 13 | */ 14 | "allowJs": true, 15 | "checkJs": true, 16 | "isolatedModules": true 17 | }, 18 | "include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte"], 19 | "references": [{ "path": "./tsconfig.node.json" }] 20 | } 21 | -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "module": "ESNext", 5 | "moduleResolution": "Node" 6 | }, 7 | "include": ["vite.config.ts"] 8 | } 9 | -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import { svelte } from '@sveltejs/vite-plugin-svelte' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [svelte()], 7 | build: { 8 | outDir: "./dist", 9 | emptyOutDir: true, 10 | rollupOptions: { 11 | output: { 12 | entryFileNames: `assets/[name].js`, 13 | chunkFileNames: `assets/[name].js`, 14 | assetFileNames: `assets/[name].[ext]` 15 | } 16 | } 17 | }, 18 | base: "/htmx-playground/" 19 | }) 20 | --------------------------------------------------------------------------------