├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── amcharts ├── amcharts.js ├── exporting │ ├── amexport.js │ ├── canvg.js │ ├── filesaver.js │ ├── jspdf.js │ ├── jspdf.plugin.addimage.js │ └── rgbcolor.js ├── funnel.js ├── gauge.js ├── images │ ├── dragIcon.gif │ ├── dragIconBlack.gif │ ├── dragIconH.gif │ ├── dragIconHBlack.gif │ ├── export.png │ ├── exportWhite.png │ ├── lens.png │ └── lensWhite.png ├── lang │ ├── az.js │ ├── bg.js │ ├── de.js │ ├── es.js │ ├── fi.js │ ├── fo.js │ ├── fr.js │ ├── hr.js │ ├── hu.js │ ├── id.js │ ├── is.js │ ├── it.js │ ├── lt.js │ ├── lv.js │ ├── mk.js │ ├── mn.js │ ├── mt.js │ ├── nl.js │ ├── no.js │ ├── pl.js │ ├── pt.js │ ├── ro.js │ ├── ru.js │ ├── rw.js │ ├── sk.js │ ├── so.js │ ├── th.js │ └── tr.js ├── patterns │ ├── black │ │ ├── pattern1.png │ │ ├── pattern10.png │ │ ├── pattern11.png │ │ ├── pattern12.png │ │ ├── pattern13.png │ │ ├── pattern14.png │ │ ├── pattern15.png │ │ ├── pattern16.png │ │ ├── pattern17.png │ │ ├── pattern18.png │ │ ├── pattern19.png │ │ ├── pattern2.png │ │ ├── pattern20.png │ │ ├── pattern21.png │ │ ├── pattern3.png │ │ ├── pattern4.png │ │ ├── pattern5.png │ │ ├── pattern6.png │ │ ├── pattern7.png │ │ ├── pattern8.png │ │ └── pattern9.png │ ├── chalk │ │ ├── pattern1.jpg │ │ ├── pattern1r.jpg │ │ ├── pattern2.jpg │ │ ├── pattern3.jpg │ │ ├── pattern4.jpg │ │ ├── pattern5.jpg │ │ └── pattern6.jpg │ └── white │ │ ├── pattern1.png │ │ ├── pattern10.png │ │ ├── pattern11.png │ │ ├── pattern12.png │ │ ├── pattern13.png │ │ ├── pattern14.png │ │ ├── pattern15.png │ │ ├── pattern16.png │ │ ├── pattern17.png │ │ ├── pattern18.png │ │ ├── pattern19.png │ │ ├── pattern2.png │ │ ├── pattern20.png │ │ ├── pattern21.png │ │ ├── pattern3.png │ │ ├── pattern4.png │ │ ├── pattern5.png │ │ ├── pattern6.png │ │ ├── pattern7.png │ │ ├── pattern8.png │ │ └── pattern9.png ├── pie.js ├── radar.js ├── serial.js ├── themes │ ├── black.js │ ├── chalk.js │ ├── dark.js │ ├── light.js │ └── patterns.js └── xy.js ├── css ├── bootstrap.min.css └── main.css ├── img └── .gitignore ├── index.html ├── js ├── ace │ └── src-noconflict │ │ ├── ace.js │ │ ├── ext-beautify.js │ │ ├── ext-chromevox.js │ │ ├── ext-elastic_tabstops_lite.js │ │ ├── ext-emmet.js │ │ ├── ext-error_marker.js │ │ ├── ext-keybinding_menu.js │ │ ├── ext-language_tools.js │ │ ├── ext-linking.js │ │ ├── ext-modelist.js │ │ ├── ext-old_ie.js │ │ ├── ext-searchbox.js │ │ ├── ext-settings_menu.js │ │ ├── ext-spellcheck.js │ │ ├── ext-split.js │ │ ├── ext-static_highlight.js │ │ ├── ext-statusbar.js │ │ ├── ext-textarea.js │ │ ├── ext-themelist.js │ │ ├── ext-whitespace.js │ │ ├── keybinding-emacs.js │ │ ├── keybinding-vim.js │ │ ├── mode-abap.js │ │ ├── mode-actionscript.js │ │ ├── mode-ada.js │ │ ├── mode-apache_conf.js │ │ ├── mode-applescript.js │ │ ├── mode-asciidoc.js │ │ ├── mode-assembly_x86.js │ │ ├── mode-autohotkey.js │ │ ├── mode-batchfile.js │ │ ├── mode-c9search.js │ │ ├── mode-c_cpp.js │ │ ├── mode-cirru.js │ │ ├── mode-clojure.js │ │ ├── mode-cobol.js │ │ ├── mode-coffee.js │ │ ├── mode-coldfusion.js │ │ ├── mode-csharp.js │ │ ├── mode-css.js │ │ ├── mode-curly.js │ │ ├── mode-d.js │ │ ├── mode-dart.js │ │ ├── mode-diff.js │ │ ├── mode-django.js │ │ ├── mode-dockerfile.js │ │ ├── mode-dot.js │ │ ├── mode-eiffel.js │ │ ├── mode-ejs.js │ │ ├── mode-elixir.js │ │ ├── mode-elm.js │ │ ├── mode-erlang.js │ │ ├── mode-forth.js │ │ ├── mode-ftl.js │ │ ├── mode-gcode.js │ │ ├── mode-gherkin.js │ │ ├── mode-gitignore.js │ │ ├── mode-glsl.js │ │ ├── mode-golang.js │ │ ├── mode-groovy.js │ │ ├── mode-haml.js │ │ ├── mode-handlebars.js │ │ ├── mode-haskell.js │ │ ├── mode-haxe.js │ │ ├── mode-html.js │ │ ├── mode-html_ruby.js │ │ ├── mode-ini.js │ │ ├── mode-io.js │ │ ├── mode-jack.js │ │ ├── mode-jade.js │ │ ├── mode-java.js │ │ ├── mode-javascript.js │ │ ├── mode-json.js │ │ ├── mode-jsoniq.js │ │ ├── mode-jsp.js │ │ ├── mode-jsx.js │ │ ├── mode-julia.js │ │ ├── mode-latex.js │ │ ├── mode-less.js │ │ ├── mode-liquid.js │ │ ├── mode-lisp.js │ │ ├── mode-livescript.js │ │ ├── mode-logiql.js │ │ ├── mode-lsl.js │ │ ├── mode-lua.js │ │ ├── mode-luapage.js │ │ ├── mode-lucene.js │ │ ├── mode-makefile.js │ │ ├── mode-markdown.js │ │ ├── mode-matlab.js │ │ ├── mode-mel.js │ │ ├── mode-mushcode.js │ │ ├── mode-mysql.js │ │ ├── mode-nix.js │ │ ├── mode-objectivec.js │ │ ├── mode-ocaml.js │ │ ├── mode-pascal.js │ │ ├── mode-perl.js │ │ ├── mode-pgsql.js │ │ ├── mode-php.js │ │ ├── mode-plain_text.js │ │ ├── mode-powershell.js │ │ ├── mode-praat.js │ │ ├── mode-prolog.js │ │ ├── mode-properties.js │ │ ├── mode-protobuf.js │ │ ├── mode-python.js │ │ ├── mode-r.js │ │ ├── mode-rdoc.js │ │ ├── mode-rhtml.js │ │ ├── mode-ruby.js │ │ ├── mode-rust.js │ │ ├── mode-sass.js │ │ ├── mode-scad.js │ │ ├── mode-scala.js │ │ ├── mode-scheme.js │ │ ├── mode-scss.js │ │ ├── mode-sh.js │ │ ├── mode-sjs.js │ │ ├── mode-smarty.js │ │ ├── mode-snippets.js │ │ ├── mode-soy_template.js │ │ ├── mode-space.js │ │ ├── mode-sql.js │ │ ├── mode-stylus.js │ │ ├── mode-svg.js │ │ ├── mode-tcl.js │ │ ├── mode-tex.js │ │ ├── mode-text.js │ │ ├── mode-textile.js │ │ ├── mode-toml.js │ │ ├── mode-twig.js │ │ ├── mode-typescript.js │ │ ├── mode-vala.js │ │ ├── mode-vbscript.js │ │ ├── mode-velocity.js │ │ ├── mode-verilog.js │ │ ├── mode-vhdl.js │ │ ├── mode-xml.js │ │ ├── mode-xquery.js │ │ ├── mode-yaml.js │ │ ├── snippets │ │ ├── abap.js │ │ ├── actionscript.js │ │ ├── ada.js │ │ ├── apache_conf.js │ │ ├── applescript.js │ │ ├── asciidoc.js │ │ ├── assembly_x86.js │ │ ├── autohotkey.js │ │ ├── batchfile.js │ │ ├── c9search.js │ │ ├── c_cpp.js │ │ ├── cirru.js │ │ ├── clojure.js │ │ ├── cobol.js │ │ ├── coffee.js │ │ ├── coldfusion.js │ │ ├── csharp.js │ │ ├── css.js │ │ ├── curly.js │ │ ├── d.js │ │ ├── dart.js │ │ ├── diff.js │ │ ├── django.js │ │ ├── dockerfile.js │ │ ├── dot.js │ │ ├── eiffel.js │ │ ├── ejs.js │ │ ├── elixir.js │ │ ├── elm.js │ │ ├── erlang.js │ │ ├── forth.js │ │ ├── ftl.js │ │ ├── gcode.js │ │ ├── gherkin.js │ │ ├── gitignore.js │ │ ├── glsl.js │ │ ├── golang.js │ │ ├── groovy.js │ │ ├── haml.js │ │ ├── handlebars.js │ │ ├── haskell.js │ │ ├── haxe.js │ │ ├── html.js │ │ ├── html_ruby.js │ │ ├── ini.js │ │ ├── io.js │ │ ├── jack.js │ │ ├── jade.js │ │ ├── java.js │ │ ├── javascript.js │ │ ├── json.js │ │ ├── jsoniq.js │ │ ├── jsp.js │ │ ├── jsx.js │ │ ├── julia.js │ │ ├── latex.js │ │ ├── less.js │ │ ├── liquid.js │ │ ├── lisp.js │ │ ├── livescript.js │ │ ├── logiql.js │ │ ├── lsl.js │ │ ├── lua.js │ │ ├── luapage.js │ │ ├── lucene.js │ │ ├── makefile.js │ │ ├── markdown.js │ │ ├── matlab.js │ │ ├── mel.js │ │ ├── mushcode.js │ │ ├── mysql.js │ │ ├── nix.js │ │ ├── objectivec.js │ │ ├── ocaml.js │ │ ├── pascal.js │ │ ├── perl.js │ │ ├── pgsql.js │ │ ├── php.js │ │ ├── plain_text.js │ │ ├── powershell.js │ │ ├── praat.js │ │ ├── prolog.js │ │ ├── properties.js │ │ ├── protobuf.js │ │ ├── python.js │ │ ├── r.js │ │ ├── rdoc.js │ │ ├── rhtml.js │ │ ├── ruby.js │ │ ├── rust.js │ │ ├── sass.js │ │ ├── scad.js │ │ ├── scala.js │ │ ├── scheme.js │ │ ├── scss.js │ │ ├── sh.js │ │ ├── sjs.js │ │ ├── smarty.js │ │ ├── snippets.js │ │ ├── soy_template.js │ │ ├── space.js │ │ ├── sql.js │ │ ├── stylus.js │ │ ├── svg.js │ │ ├── tcl.js │ │ ├── tex.js │ │ ├── text.js │ │ ├── textile.js │ │ ├── toml.js │ │ ├── twig.js │ │ ├── typescript.js │ │ ├── vala.js │ │ ├── vbscript.js │ │ ├── velocity.js │ │ ├── verilog.js │ │ ├── vhdl.js │ │ ├── xml.js │ │ ├── xquery.js │ │ └── yaml.js │ │ ├── theme-ambiance.js │ │ ├── theme-chaos.js │ │ ├── theme-chrome.js │ │ ├── theme-clouds.js │ │ ├── theme-clouds_midnight.js │ │ ├── theme-cobalt.js │ │ ├── theme-crimson_editor.js │ │ ├── theme-dawn.js │ │ ├── theme-dreamweaver.js │ │ ├── theme-eclipse.js │ │ ├── theme-github.js │ │ ├── theme-idle_fingers.js │ │ ├── theme-katzenmilch.js │ │ ├── theme-kr_theme.js │ │ ├── theme-kuroir.js │ │ ├── theme-merbivore.js │ │ ├── theme-merbivore_soft.js │ │ ├── theme-mono_industrial.js │ │ ├── theme-monokai.js │ │ ├── theme-pastel_on_dark.js │ │ ├── theme-solarized_dark.js │ │ ├── theme-solarized_light.js │ │ ├── theme-terminal.js │ │ ├── theme-textmate.js │ │ ├── theme-tomorrow.js │ │ ├── theme-tomorrow_night.js │ │ ├── theme-tomorrow_night_blue.js │ │ ├── theme-tomorrow_night_bright.js │ │ ├── theme-tomorrow_night_eighties.js │ │ ├── theme-twilight.js │ │ ├── theme-vibrant_ink.js │ │ ├── theme-xcode.js │ │ ├── worker-coffee.js │ │ ├── worker-css.js │ │ ├── worker-html.js │ │ ├── worker-javascript.js │ │ ├── worker-json.js │ │ ├── worker-lua.js │ │ ├── worker-php.js │ │ └── worker-xquery.js ├── chart.coffee ├── common.coffee ├── compile.sh ├── compiled │ └── deps.js ├── controlpanel.coffee ├── data.coffee ├── jquery-1.11.1.js ├── main.coffee ├── main.js ├── observer.coffee └── watch-compile.sh └── modifiers ├── default.coffee └── smooth.coffee /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Include your project-specific ignores in this file 2 | # Read about how to use .gitignore: https://help.github.com/articles/ignoring-files 3 | 4 | .idea 5 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014, Blind Motion Project 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | 7 | * Redistributions of source code must retain the above copyright notice, this 8 | list of conditions and the following disclaimer. 9 | 10 | * Redistributions in binary form must reproduce the above copyright notice, 11 | this list of conditions and the following disclaimer in the documentation 12 | and/or other materials provided with the distribution. 13 | 14 | * Neither the name of Blind Motion Project nor the names of its 15 | contributors may be used to endorse or promote products derived from 16 | this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 19 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 22 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 24 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 25 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 26 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | 29 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | To better understand what's going on we need a convenient tool to view both videos and telemetry data. It contains video view and line charts with data. 2 | 3 | ![](https://github.com/blindmotion/docs/blob/master/pics/dashboard.png) 4 | 5 | At first you need to select a csv data file in the format specified in the [wiki](//github.com/blindmotion/docs/wiki/Csv-file-format) page. We create this csv file with the [Sensor Recording](https://play.google.com/store/apps/details?id=net.braun_home.sensorrecording.pro) program for android. 6 | 7 | The data is loaded and will be kept in memory until you upload other csv file. 8 | 9 | The chart will show data as soon as you upload srt (Subtitles file) for the video. It will only display the data for the period of video. To show video itself, upload video file that corresponds to the srt file uploaded. 10 | 11 | Once everything is set up you can now view video and data for it. Double clicking on chart will play video at the very same moment, where the chart was clicked. You can zoom and scroll chart as you wish. 12 | 13 | Additionaly you are able to create a preprocessor for the data if you wish to display say moving average of the gyroscope sensor. You cannot modify the number of axes displayes: x,y,z for accelerometer and gyroscope and one axis for speed, but you can change the values of those axis. 14 | The preprocessor will get only data for the interval selected. It is programmed in [CoffeeScript](http://coffeescript.org/). 15 | 16 | A preprocessor example (multiplies all accelerometer values by 1.5 and gyro by 1.2): 17 | 18 | ``` coffeescript 19 | window.dataPreprocessor = (data) => 20 | for el in data 21 | 22 | switch el[0] 23 | when 1 #accelerometer 24 | el[3] = el[3] * 1.5 #x 25 | el[4] = el[4] * 1.5 #y 26 | el[5] = el[5] * 1.5 #z 27 | when 4 #gyroscope 28 | el[3] = el[3] * 1.2 #x 29 | el[4] = el[4] * 1.2 #y 30 | el[5] = el[5] * 1.2 #z 31 | when 'geo' #geodata 32 | el[9] = el[9] / 2 #speed 33 | 34 | return data 35 | ``` 36 | 37 | Dashboard should work in any modern browser, however we recommend to use browser on the base of Chromium because it works faster. -------------------------------------------------------------------------------- /amcharts/images/dragIcon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/images/dragIcon.gif -------------------------------------------------------------------------------- /amcharts/images/dragIconBlack.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/images/dragIconBlack.gif -------------------------------------------------------------------------------- /amcharts/images/dragIconH.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/images/dragIconH.gif -------------------------------------------------------------------------------- /amcharts/images/dragIconHBlack.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/images/dragIconHBlack.gif -------------------------------------------------------------------------------- /amcharts/images/export.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/images/export.png -------------------------------------------------------------------------------- /amcharts/images/exportWhite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/images/exportWhite.png -------------------------------------------------------------------------------- /amcharts/images/lens.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/images/lens.png -------------------------------------------------------------------------------- /amcharts/images/lensWhite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/images/lensWhite.png -------------------------------------------------------------------------------- /amcharts/lang/az.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.az = {"monthNames":["Yanvar","Fevral","Mart","Aprel","May","Iyun","Iyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],"shortMonthNames":["Yan","Fev","Mar","Apr","May","Iyn","Iyl","Avq","Sen","Okt","Noy","Dek"],"dayNames":["Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə","Bazar günü"],"shortDayNames":["Ber","Çax","Çər","Cax","Cüm","Şnb","Baz"],"zoomOutText":"Bütün göstər"} -------------------------------------------------------------------------------- /amcharts/lang/bg.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.bg = {"monthNames":["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],"shortMonthNames":["Яну","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","Окт","Ное","Дек"],"dayNames":["Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота","Неделя"],"shortDayNames":["Пн","Вт","Ср","Чт","Пт","Сб","Нд"],"zoomOutText":"Покажи всички"} -------------------------------------------------------------------------------- /amcharts/lang/de.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.de = { 2 | "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], 3 | "shortMonthNames": ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], 4 | "dayNames": ["Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"], 5 | "shortDayNames": ["Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"], 6 | "zoomOutText": "Alle anzeigen", 7 | "fromText": "Von:", 8 | "toText":"Bis:", 9 | "periodsText":"Ansicht:", 10 | "selectText":"Auswahl:", 11 | "comboBoxSelectText":"Auswahl...", 12 | "compareText":"Vergleichen mit:" 13 | } -------------------------------------------------------------------------------- /amcharts/lang/es.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.es = {"monthNames":["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],"shortMonthNames":["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],"dayNames":["Lunes","Martes","Miércoles","Jueves","Viernes","Sábado","Domingo"],"shortDayNames":["Lun","Mar","Mié","Jue","Vie","Sáb","Dom"],"zoomOutText":"Mostrar todos"} -------------------------------------------------------------------------------- /amcharts/lang/fi.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.fi = {"monthNames":["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],"shortMonthNames":["Tammi ","Helmi ","Maalis","Huhti ","Touko ","Kesä  ","Heinä ","Elo   ","Syys  ","Loka  ","Marras","Joulu "],"dayNames":["Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai","Sunnuntai"],"shortDayNames":["Ma","Ti","Ke","To","Pe","La","Su"],"zoomOutText":"Näytä kaikki"} -------------------------------------------------------------------------------- /amcharts/lang/fo.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.fo = {"monthNames":["Januar","Februar","Mars","Apríl","Mai","Juni","Juli","August","September","Oktober","November","Desember"],"shortMonthNames":["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],"dayNames":["Mánadagur","Týsdagur","Mikudagur","Hósdagur","Fríggjadagur","Leygardagur","Sunnudagur"],"shortDayNames":["Mán","Týs","Mik","Hós","Frí","Ley","Sun"],"zoomOutText":"Show all"} -------------------------------------------------------------------------------- /amcharts/lang/fr.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.fr = {"monthNames":["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],"shortMonthNames":["Janv.","Févr.","Mars","Avril","Mai","Juin","Juil.","Août","Sept.","Oct.","Nov.","Déc."],"dayNames":["Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"],"shortDayNames":["Lun.","Mar.","Mer.","Jeu.","Ven.","Sam.","Dim."],"zoomOutText":"Voir tous"} -------------------------------------------------------------------------------- /amcharts/lang/hr.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.hr = {"monthNames":["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],"shortMonthNames":["Sij","Vel","Ožu","Tra","Svi","Lip","Srp","Kol","Ruj","Lis","Stu","Pro"],"dayNames":["Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota","Nedjelja"],"shortDayNames":["Pon","Uto","Sri","Čet","Pet","Sub","Ned"],"zoomOutText":"Prikaži sve"} -------------------------------------------------------------------------------- /amcharts/lang/hu.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.hu = {"monthNames":["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],"shortMonthNames":["Jan","Febr","Márc","Ápr","Máj","Jún","Júl","Aug","Szept","Okt","Nov","Dec"],"dayNames":["Hétfő","Kedd","Szerda","Csütörtök","Péntek","Szombat","Vasárnap"],"shortDayNames":["H","K","Sze","Cs","P","Szo","V"],"zoomOutText":"Összes"} -------------------------------------------------------------------------------- /amcharts/lang/id.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.id = {"monthNames":["Januari","Pebruari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"shortMonthNames":["Jan","Peb","Mar","Apr","Mei","Jun","Jul","Agu","Sep","Okt","Nov","Des"],"dayNames":["Senin","Selasa","Rabu","Kamis","Jumat","Sabtu","Minggu"],"shortDayNames":["Sen","Sel","Rab","Kam","Jum","Sab","Min"],"zoomOutText":"Tampilkan semua"} -------------------------------------------------------------------------------- /amcharts/lang/is.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.is = {"monthNames":["Janúar","Febrúar","Mars","Apríl","Maí","Júní","Júlí","Ágúst","September","Október","Nóvember","Desember"],"shortMonthNames":["Jan","Feb","Mar","Apr","Maí","Jún","Júl","Ágú","Sep","Okt","Nóv","Des"],"dayNames":["Mánudagur","Þriðjudagur","Miðvikudagur","Fimmtudagur","Föstudagur","Laugardagur","Sunnudagur"],"shortDayNames":["Mán","Þri","Mið","Fim","Fös","Lau","Sun"],"zoomOutText":"Sýna allt"} -------------------------------------------------------------------------------- /amcharts/lang/it.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.it = {"monthNames":["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],"shortMonthNames":["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],"dayNames":["Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato","Domenica"],"shortDayNames":["Lun","Mar","Mer","Gio","Ven","Sab","Dom"],"zoomOutText":"Mostra tutti"} -------------------------------------------------------------------------------- /amcharts/lang/lt.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.lt = {"monthNames":["Sausio","Vasario","Kovo","Balandžio","Gegužės","Birželio","Liepos","Rugpjūčio","Rugsėjo","Spalio","Lapkričio","Gruodžio"],"shortMonthNames":["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spa","Lap","Grd"],"dayNames":["Pirmadienis","Antradienis","Trečiadienis","Ketvirtadienis","Penktadienis","Šeštadienis","Sekmadienis"],"shortDayNames":["Pr","An","Tr","Kt","Pn","Št","Sk"],"zoomOutText":"Rodyti viską"} -------------------------------------------------------------------------------- /amcharts/lang/lv.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.lv = {"monthNames":["Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],"shortMonthNames":["Jan","Feb","Mar","Apr","Mai","Jūn","Jūl","Aug","Sep","Okt","Nov","Dec"],"dayNames":["Pirmdiena","Otrdiena","Trešdiena","Ceturtdiena","Piektdiena","Sestdiena","Svētdiena"],"shortDayNames":["P ","O ","T ","C ","Pk","S ","Sv"],"zoomOutText":"Parādīt visu"} -------------------------------------------------------------------------------- /amcharts/lang/mk.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.mk = {"monthNames":["Јануари","Февруари","Март","Април","Мај","Јуни","Јули","Август","Септември","Октомври","Ноември","Декември"],"shortMonthNames":["Јан","Фев","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Ное","Дек"],"dayNames":["Понеделник","Вторник","Среда","Четврток","Петок","Сабота","Недела"],"shortDayNames":["Пон","Вто","Сре","Чет","Пет","Саб","Нед"],"zoomOutText":"Прикажи ги сите"} -------------------------------------------------------------------------------- /amcharts/lang/mn.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.mn = {"monthNames":["Хулгана сарын","Үхэр сарын","Бар сарын","Туулай сарын","Луу сарын","Могой сарын","Морь сарын","Хонь сарын","Бич сарын","Тахиа сарын","Нохой сарын","Гахай сарын"],"shortMonthNames":["Хул","Үхэ","Бар","Туу","Луу","Мог","Мор","Хон","Бич","Тах","Нох","Гах"],"dayNames":["Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба","Ням"],"shortDayNames":["Да","Мя","Лх","Пү","Ба","Бя","Ня"],"zoomOutText":"Бүх харуулах"} -------------------------------------------------------------------------------- /amcharts/lang/mt.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.mt = {"monthNames":["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awwissu","Settembru","Ottubru","Novembru","Diċembru "],"shortMonthNames":["Jan","Fra","Mar","Apr","Mej","Ġun","Lul","Aww","Set","Ott","Nov","Diċ"],"dayNames":["It-tnejn","It-tlieta","L-erbgħa","Il-ħamis","Il-ġimgħa","Is-sibt","Il-ħadd"],"shortDayNames":["Tne","Tli","Erb","Ħam","Ġim","Sib","Ħad"],"zoomOutText":"Turi kollha"} -------------------------------------------------------------------------------- /amcharts/lang/nl.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.nl = {"monthNames":["Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December"],"shortMonthNames":["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],"dayNames":["Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag","Zondag"],"shortDayNames":["Ma","Di","Wo","Do","Vr","Za","Zo"],"zoomOutText":"Alles weergeven"} -------------------------------------------------------------------------------- /amcharts/lang/no.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.no = {"monthNames":["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],"shortMonthNames":["Jan.","Feb.","Mars","April","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Des."],"dayNames":["Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag","Søndag"],"shortDayNames":["Ma.","Ti.","On.","To.","Fr.","Lø.","Sø."],"zoomOutText":"Vis alle"} -------------------------------------------------------------------------------- /amcharts/lang/pl.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.pl = {"monthNames":["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],"shortMonthNames":["Sty","Lut","Mar","Kwi","Maj","Cze","Lip","Sie","Wrz","Paź","Lis","Gru"],"dayNames":["Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota","Niedziela"],"shortDayNames":["Pon","Wto","Śro","Czw","Pią","Sob","Nie"],"zoomOutText":"Pokaż wszystko"} -------------------------------------------------------------------------------- /amcharts/lang/pt.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.pt = {"monthNames":["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],"shortMonthNames":["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],"dayNames":["Segunda","Terça","Quarta","Quinta","Sexta","Sábado","Domingo"],"shortDayNames":["Seg","Ter","Qua","Qui","Sex","Sáb","Dom"],"zoomOutText":"Mostrar todos"} -------------------------------------------------------------------------------- /amcharts/lang/ro.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.ro = {"monthNames":["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],"shortMonthNames":["Ian","Feb","Mar","Apr","Mai","Iun","Iul","Aug","Sep","Oct","Nov","Dec"],"dayNames":["Luni","Marţi","Miercuri","Joi","Vineri","Sâmbătă","Duminică"],"shortDayNames":["Lu","Ma","Mi","Jo","Vi","Sb","Du"],"zoomOutText":"Arată tot"} -------------------------------------------------------------------------------- /amcharts/lang/ru.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.ru = {"monthNames":["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],"shortMonthNames":["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],"dayNames":["Понедельник","Вторник","Среда","Четверг","Пятница","Суббота","Воскресенье"],"shortDayNames":["Пнд","Втр","Срд","Чтв","Птн","Сбт","Вск"],"zoomOutText":"Показать все"} -------------------------------------------------------------------------------- /amcharts/lang/rw.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.rw = {"monthNames":["Mutarama","Gashyantare","Werurwe","Mata","Gicuransi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza"],"shortMonthNames":["Mut","Gas","Wer","Mat","Gic","Kam","Nya","Kan","Nze","Ukw","Ugu","Uku"],"dayNames":["Kuwa mbere","Kuwa kabiri","Kuwa gatatu","Kuwa kane","Kuwa gatanu","Kuwa gatandatu","Ku cyumweru"],"shortDayNames":["Mbe","Kab","Gtu","Kan","Gnu","Gnd","Mwe"],"zoomOutText":"Show all"} -------------------------------------------------------------------------------- /amcharts/lang/sk.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.sk = {"monthNames":["Január","Február","Marec","Apríl","Máj","Jún","Júl","August","September","Október","November","December"],"shortMonthNames":["Jan","Feb","Mar","Apr","Máj","Jún","Júl","Aug","Sep","Okt","Nov","Dec"],"dayNames":["Pondelok","Utorok","Streda","Štvrtok","Piatok","Sobota","Nedeľa"],"shortDayNames":["Po","Ut","St","Št","Pi","So","Ne"],"zoomOutText":"Zobraziť všetky"} -------------------------------------------------------------------------------- /amcharts/lang/so.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.so = {"monthNames":["Bisha koobaad","Bisha labaad","Bisha saddexaad","Bisha afraad","Bisha shanaad","Bisha lixaad","Bisha todobaad","Bisha sideedaad","Bisha sagaalaad","Bisha tobnaad","Bisha kow iyo tobnaad","Bisha laba iyo tobnaad"],"shortMonthNames":["Kob","Lab","Sad","Afr","Sha","Lix","Tod","Sid","Sag","Tob","Kit","Lit"],"dayNames":["Isniin","Salaaso","Arbaco","Khamiis","Jimco","Sabti","Axad"],"shortDayNames":["Isn","Sal","Arb","Kha","Jim","Sab","Axa"],"zoomOutText":"Tus dhammaan"} -------------------------------------------------------------------------------- /amcharts/lang/th.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.th = {"monthNames":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"shortMonthNames":["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],"dayNames":["จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์","อาทิตย์"],"shortDayNames":["จ.","อ.","พ.","พฤ.","ศ.","ส.","อา."],"zoomOutText":"แสดงทั้งหมด"} -------------------------------------------------------------------------------- /amcharts/lang/tr.js: -------------------------------------------------------------------------------- 1 | AmCharts.translations.tr = {"monthNames":["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],"shortMonthNames":["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],"dayNames":["Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi","Pazar"],"shortDayNames":["Pzt","Sal","Çrş","Prş","Cum","Cts","Paz"],"zoomOutText":"Tümünü göster"} -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern1.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern10.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern11.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern12.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern13.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern14.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern15.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern16.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern17.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern18.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern19.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern2.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern20.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern21.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern3.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern4.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern5.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern6.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern7.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern8.png -------------------------------------------------------------------------------- /amcharts/patterns/black/pattern9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/black/pattern9.png -------------------------------------------------------------------------------- /amcharts/patterns/chalk/pattern1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/chalk/pattern1.jpg -------------------------------------------------------------------------------- /amcharts/patterns/chalk/pattern1r.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/chalk/pattern1r.jpg -------------------------------------------------------------------------------- /amcharts/patterns/chalk/pattern2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/chalk/pattern2.jpg -------------------------------------------------------------------------------- /amcharts/patterns/chalk/pattern3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/chalk/pattern3.jpg -------------------------------------------------------------------------------- /amcharts/patterns/chalk/pattern4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/chalk/pattern4.jpg -------------------------------------------------------------------------------- /amcharts/patterns/chalk/pattern5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/chalk/pattern5.jpg -------------------------------------------------------------------------------- /amcharts/patterns/chalk/pattern6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/chalk/pattern6.jpg -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern1.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern10.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern11.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern12.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern13.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern14.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern15.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern16.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern17.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern18.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern19.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern2.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern20.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern21.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern3.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern4.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern5.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern6.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern7.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern8.png -------------------------------------------------------------------------------- /amcharts/patterns/white/pattern9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/amcharts/patterns/white/pattern9.png -------------------------------------------------------------------------------- /css/main.css: -------------------------------------------------------------------------------- 1 | input { 2 | display: block; 3 | } 4 | 5 | video { 6 | display: block; 7 | background-color: black; 8 | margin: 5px 0 0 0; 9 | } 10 | 11 | body { 12 | 13 | } 14 | 15 | .menuItem { 16 | display: inline-block; 17 | } 18 | 19 | #speedOutput { 20 | width: 30px; 21 | } 22 | 23 | .chartItem { 24 | display: inline; 25 | } 26 | 27 | .btn-file { 28 | position: relative; 29 | overflow: hidden; 30 | } 31 | 32 | .btn-file input[type=file] { 33 | position: absolute; 34 | top: 0; 35 | right: 0; 36 | min-width: 100%; 37 | min-height: 100%; 38 | font-size: 100px; 39 | text-align: right; 40 | filter: alpha(opacity=0); 41 | opacity: 0; 42 | outline: none; 43 | background: white; 44 | cursor: inherit; 45 | display: block; 46 | } 47 | 48 | .chart { 49 | background: #3f3f4f; 50 | color:#ffffff; 51 | border: 1px solid #ccc; 52 | height: 500px; 53 | width: 96%; 54 | margin: 0 0 10px 0; 55 | } 56 | 57 | .well { 58 | background-color: rgba(199, 199, 199, 0.15) !important; 59 | border: none !important; 60 | -webkit-box-shadow: none !important; 61 | box-shadow: none !important; 62 | } 63 | 64 | #code-editor { 65 | height: 400px; 66 | width: 96%; 67 | } 68 | 69 | #placeholder { 70 | height: 20px; 71 | } 72 | 73 | #button-save { 74 | margin: 10px 0 0 20px; 75 | } 76 | -------------------------------------------------------------------------------- /img/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blindmotion/dashboard/95de6b6ba8186be43760c12843c976abe3cd1b69/img/.gitignore -------------------------------------------------------------------------------- /js/ace/src-noconflict/ext-error_marker.js: -------------------------------------------------------------------------------- 1 | 2 | ; 3 | (function() { 4 | ace.require(["ace/ext/error_marker"], function() {}); 5 | })(); 6 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/ext-linking.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/ext/linking",["require","exports","module","ace/editor","ace/config"], function(require, exports, module) { 2 | 3 | var Editor = require("ace/editor").Editor; 4 | 5 | require("../config").defineOptions(Editor.prototype, "editor", { 6 | enableLinking: { 7 | set: function(val) { 8 | if (val) { 9 | this.on("click", onClick); 10 | this.on("mousemove", onMouseMove); 11 | } else { 12 | this.off("click", onClick); 13 | this.off("mousemove", onMouseMove); 14 | } 15 | }, 16 | value: false 17 | } 18 | }) 19 | 20 | function onMouseMove(e) { 21 | var editor = e.editor; 22 | var ctrl = e.getAccelKey(); 23 | 24 | if (ctrl) { 25 | var editor = e.editor; 26 | var docPos = e.getDocumentPosition(); 27 | var session = editor.session; 28 | var token = session.getTokenAt(docPos.row, docPos.column); 29 | 30 | editor._emit("linkHover", {position: docPos, token: token}); 31 | } 32 | } 33 | 34 | function onClick(e) { 35 | var ctrl = e.getAccelKey(); 36 | var button = e.getButton(); 37 | 38 | if (button == 0 && ctrl) { 39 | var editor = e.editor; 40 | var docPos = e.getDocumentPosition(); 41 | var session = editor.session; 42 | var token = session.getTokenAt(docPos.row, docPos.column); 43 | 44 | editor._emit("linkClick", {position: docPos, token: token}); 45 | } 46 | } 47 | 48 | }); 49 | (function() { 50 | ace.require(["ace/ext/linking"], function() {}); 51 | })(); 52 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/ext-spellcheck.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/ext/spellcheck",["require","exports","module","ace/lib/event","ace/editor","ace/config"], function(require, exports, module) { 2 | "use strict"; 3 | var event = require("../lib/event"); 4 | 5 | exports.contextMenuHandler = function(e){ 6 | var host = e.target; 7 | var text = host.textInput.getElement(); 8 | if (!host.selection.isEmpty()) 9 | return; 10 | var c = host.getCursorPosition(); 11 | var r = host.session.getWordRange(c.row, c.column); 12 | var w = host.session.getTextRange(r); 13 | 14 | host.session.tokenRe.lastIndex = 0; 15 | if (!host.session.tokenRe.test(w)) 16 | return; 17 | var PLACEHOLDER = "\x01\x01"; 18 | var value = w + " " + PLACEHOLDER; 19 | text.value = value; 20 | text.setSelectionRange(w.length, w.length + 1); 21 | text.setSelectionRange(0, 0); 22 | text.setSelectionRange(0, w.length); 23 | 24 | var afterKeydown = false; 25 | event.addListener(text, "keydown", function onKeydown() { 26 | event.removeListener(text, "keydown", onKeydown); 27 | afterKeydown = true; 28 | }); 29 | 30 | host.textInput.setInputHandler(function(newVal) { 31 | console.log(newVal , value, text.selectionStart, text.selectionEnd) 32 | if (newVal == value) 33 | return ''; 34 | if (newVal.lastIndexOf(value, 0) === 0) 35 | return newVal.slice(value.length); 36 | if (newVal.substr(text.selectionEnd) == value) 37 | return newVal.slice(0, -value.length); 38 | if (newVal.slice(-2) == PLACEHOLDER) { 39 | var val = newVal.slice(0, -2); 40 | if (val.slice(-1) == " ") { 41 | if (afterKeydown) 42 | return val.substring(0, text.selectionEnd); 43 | val = val.slice(0, -1); 44 | host.session.replace(r, val); 45 | return ""; 46 | } 47 | } 48 | 49 | return newVal; 50 | }); 51 | }; 52 | var Editor = require("../editor").Editor; 53 | require("../config").defineOptions(Editor.prototype, "editor", { 54 | spellcheck: { 55 | set: function(val) { 56 | var text = this.textInput.getElement(); 57 | text.spellcheck = !!val; 58 | if (!val) 59 | this.removeListener("nativecontextmenu", exports.contextMenuHandler); 60 | else 61 | this.on("nativecontextmenu", exports.contextMenuHandler); 62 | }, 63 | value: true 64 | } 65 | }); 66 | 67 | }); 68 | (function() { 69 | ace.require(["ace/ext/spellcheck"], function() {}); 70 | })(); 71 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/ext-statusbar.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/ext/statusbar",["require","exports","module","ace/lib/dom","ace/lib/lang"], function(require, exports, module) { 2 | "use strict"; 3 | var dom = require("ace/lib/dom"); 4 | var lang = require("ace/lib/lang"); 5 | 6 | var StatusBar = function(editor, parentNode) { 7 | this.element = dom.createElement("div"); 8 | this.element.className = "ace_status-indicator"; 9 | this.element.style.cssText = "display: inline-block;"; 10 | parentNode.appendChild(this.element); 11 | 12 | var statusUpdate = lang.delayedCall(function(){ 13 | this.updateStatus(editor) 14 | }.bind(this)); 15 | editor.on("changeStatus", function() { 16 | statusUpdate.schedule(100); 17 | }); 18 | editor.on("changeSelection", function() { 19 | statusUpdate.schedule(100); 20 | }); 21 | }; 22 | 23 | (function(){ 24 | this.updateStatus = function(editor) { 25 | var status = []; 26 | function add(str, separator) { 27 | str && status.push(str, separator || "|"); 28 | } 29 | 30 | add(editor.keyBinding.getStatusText(editor)); 31 | if (editor.commands.recording) 32 | add("REC"); 33 | 34 | var c = editor.selection.lead; 35 | add(c.row + ":" + c.column, " "); 36 | if (!editor.selection.isEmpty()) { 37 | var r = editor.getSelectionRange(); 38 | add("(" + (r.end.row - r.start.row) + ":" +(r.end.column - r.start.column) + ")"); 39 | } 40 | status.pop(); 41 | this.element.textContent = status.join(""); 42 | }; 43 | }).call(StatusBar.prototype); 44 | 45 | exports.StatusBar = StatusBar; 46 | 47 | }); 48 | (function() { 49 | ace.require(["ace/ext/statusbar"], function() {}); 50 | })(); 51 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/ext-themelist.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/ext/themelist",["require","exports","module","ace/lib/fixoldbrowsers"], function(require, exports, module) { 2 | "use strict"; 3 | require("ace/lib/fixoldbrowsers"); 4 | 5 | var themeData = [ 6 | ["Chrome" ], 7 | ["Clouds" ], 8 | ["Crimson Editor" ], 9 | ["Dawn" ], 10 | ["Dreamweaver" ], 11 | ["Eclipse" ], 12 | ["GitHub" ], 13 | ["Solarized Light"], 14 | ["TextMate" ], 15 | ["Tomorrow" ], 16 | ["XCode" ], 17 | ["Kuroir"], 18 | ["KatzenMilch"], 19 | ["Ambiance" ,"ambiance" , "dark"], 20 | ["Chaos" ,"chaos" , "dark"], 21 | ["Clouds Midnight" ,"clouds_midnight" , "dark"], 22 | ["Cobalt" ,"cobalt" , "dark"], 23 | ["idle Fingers" ,"idle_fingers" , "dark"], 24 | ["krTheme" ,"kr_theme" , "dark"], 25 | ["Merbivore" ,"merbivore" , "dark"], 26 | ["Merbivore Soft" ,"merbivore_soft" , "dark"], 27 | ["Mono Industrial" ,"mono_industrial" , "dark"], 28 | ["Monokai" ,"monokai" , "dark"], 29 | ["Pastel on dark" ,"pastel_on_dark" , "dark"], 30 | ["Solarized Dark" ,"solarized_dark" , "dark"], 31 | ["Terminal" ,"terminal" , "dark"], 32 | ["Tomorrow Night" ,"tomorrow_night" , "dark"], 33 | ["Tomorrow Night Blue" ,"tomorrow_night_blue" , "dark"], 34 | ["Tomorrow Night Bright","tomorrow_night_bright" , "dark"], 35 | ["Tomorrow Night 80s" ,"tomorrow_night_eighties" , "dark"], 36 | ["Twilight" ,"twilight" , "dark"], 37 | ["Vibrant Ink" ,"vibrant_ink" , "dark"] 38 | ]; 39 | 40 | 41 | exports.themesByName = {}; 42 | exports.themes = themeData.map(function(data) { 43 | var name = data[1] || data[0].replace(/ /g, "_").toLowerCase(); 44 | var theme = { 45 | caption: data[0], 46 | theme: "ace/theme/" + name, 47 | isDark: data[2] == "dark", 48 | name: name 49 | }; 50 | exports.themesByName[name] = theme; 51 | return theme; 52 | }); 53 | 54 | }); 55 | (function() { 56 | ace.require(["ace/ext/themelist"], function() {}); 57 | })(); 58 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/mode-ada.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/mode/ada_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | var oop = require("../lib/oop"); 5 | var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; 6 | 7 | var AdaHighlightRules = function() { 8 | var keywords = "abort|else|new|return|abs|elsif|not|reverse|abstract|end|null|accept|entry|select|" + 9 | "access|exception|of|separate|aliased|exit|or|some|all|others|subtype|and|for|out|synchronized|" + 10 | "array|function|overriding|at|tagged|generic|package|task|begin|goto|pragma|terminate|" + 11 | "body|private|then|if|procedure|type|case|in|protected|constant|interface|until|" + 12 | "|is|raise|use|declare|range|delay|limited|record|when|delta|loop|rem|while|digits|renames|with|do|mod|requeue|xor"; 13 | 14 | var builtinConstants = ( 15 | "true|false|null" 16 | ); 17 | 18 | var builtinFunctions = ( 19 | "count|min|max|avg|sum|rank|now|coalesce|main" 20 | ); 21 | 22 | var keywordMapper = this.createKeywordMapper({ 23 | "support.function": builtinFunctions, 24 | "keyword": keywords, 25 | "constant.language": builtinConstants 26 | }, "identifier", true); 27 | 28 | this.$rules = { 29 | "start" : [ { 30 | token : "comment", 31 | regex : "--.*$" 32 | }, { 33 | token : "string", // " string 34 | regex : '".*?"' 35 | }, { 36 | token : "string", // ' string 37 | regex : "'.*?'" 38 | }, { 39 | token : "constant.numeric", // float 40 | regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b" 41 | }, { 42 | token : keywordMapper, 43 | regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b" 44 | }, { 45 | token : "keyword.operator", 46 | regex : "\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|=" 47 | }, { 48 | token : "paren.lparen", 49 | regex : "[\\(]" 50 | }, { 51 | token : "paren.rparen", 52 | regex : "[\\)]" 53 | }, { 54 | token : "text", 55 | regex : "\\s+" 56 | } ] 57 | }; 58 | }; 59 | 60 | oop.inherits(AdaHighlightRules, TextHighlightRules); 61 | 62 | exports.AdaHighlightRules = AdaHighlightRules; 63 | }); 64 | 65 | ace.define("ace/mode/ada",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/ada_highlight_rules","ace/range"], function(require, exports, module) { 66 | "use strict"; 67 | 68 | var oop = require("../lib/oop"); 69 | var TextMode = require("./text").Mode; 70 | var AdaHighlightRules = require("./ada_highlight_rules").AdaHighlightRules; 71 | var Range = require("../range").Range; 72 | 73 | var Mode = function() { 74 | this.HighlightRules = AdaHighlightRules; 75 | }; 76 | oop.inherits(Mode, TextMode); 77 | 78 | (function() { 79 | 80 | this.lineCommentStart = "--"; 81 | 82 | this.$id = "ace/mode/ada"; 83 | }).call(Mode.prototype); 84 | 85 | exports.Mode = Mode; 86 | 87 | }); 88 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/mode-gcode.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/mode/gcode_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | var oop = require("../lib/oop"); 5 | var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; 6 | 7 | var GcodeHighlightRules = function() { 8 | 9 | var keywords = ( 10 | "IF|DO|WHILE|ENDWHILE|CALL|ENDIF|SUB|ENDSUB|GOTO|REPEAT|ENDREPEAT|CALL" 11 | ); 12 | 13 | var builtinConstants = ( 14 | "PI" 15 | ); 16 | 17 | var builtinFunctions = ( 18 | "ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN" 19 | ); 20 | var keywordMapper = this.createKeywordMapper({ 21 | "support.function": builtinFunctions, 22 | "keyword": keywords, 23 | "constant.language": builtinConstants 24 | }, "identifier", true); 25 | 26 | this.$rules = { 27 | "start" : [ { 28 | token : "comment", 29 | regex : "\\(.*\\)" 30 | }, { 31 | token : "comment", // block number 32 | regex : "([N])([0-9]+)" 33 | }, { 34 | token : "string", // " string 35 | regex : "([G])([0-9]+\\.?[0-9]?)" 36 | }, { 37 | token : "string", // ' string 38 | regex : "([M])([0-9]+\\.?[0-9]?)" 39 | }, { 40 | token : "constant.numeric", // float 41 | regex : "([-+]?([0-9]*\\.?[0-9]+\\.?))|(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)" 42 | }, { 43 | token : keywordMapper, 44 | regex : "[A-Z]" 45 | }, { 46 | token : "keyword.operator", 47 | regex : "EQ|LT|GT|NE|GE|LE|OR|XOR" 48 | }, { 49 | token : "paren.lparen", 50 | regex : "[\\[]" 51 | }, { 52 | token : "paren.rparen", 53 | regex : "[\\]]" 54 | }, { 55 | token : "text", 56 | regex : "\\s+" 57 | } ] 58 | }; 59 | }; 60 | 61 | oop.inherits(GcodeHighlightRules, TextHighlightRules); 62 | 63 | exports.GcodeHighlightRules = GcodeHighlightRules; 64 | }); 65 | 66 | ace.define("ace/mode/gcode",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gcode_highlight_rules","ace/range"], function(require, exports, module) { 67 | "use strict"; 68 | 69 | var oop = require("../lib/oop"); 70 | var TextMode = require("./text").Mode; 71 | var GcodeHighlightRules = require("./gcode_highlight_rules").GcodeHighlightRules; 72 | var Range = require("../range").Range; 73 | 74 | var Mode = function() { 75 | this.HighlightRules = GcodeHighlightRules; 76 | }; 77 | oop.inherits(Mode, TextMode); 78 | 79 | (function() { 80 | this.$id = "ace/mode/gcode"; 81 | }).call(Mode.prototype); 82 | 83 | exports.Mode = Mode; 84 | 85 | }); 86 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/mode-gitignore.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/mode/gitignore_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | var oop = require("../lib/oop"); 5 | var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; 6 | 7 | var GitignoreHighlightRules = function() { 8 | this.$rules = { 9 | "start" : [ 10 | { 11 | token : "comment", 12 | regex : /^\s*#.*$/ 13 | }, { 14 | token : "keyword", // negated patterns 15 | regex : /^\s*!.*$/ 16 | } 17 | ] 18 | }; 19 | 20 | this.normalizeRules(); 21 | }; 22 | 23 | GitignoreHighlightRules.metaData = { 24 | fileTypes: ['gitignore'], 25 | name: 'Gitignore' 26 | }; 27 | 28 | oop.inherits(GitignoreHighlightRules, TextHighlightRules); 29 | 30 | exports.GitignoreHighlightRules = GitignoreHighlightRules; 31 | }); 32 | 33 | ace.define("ace/mode/gitignore",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gitignore_highlight_rules"], function(require, exports, module) { 34 | "use strict"; 35 | 36 | var oop = require("../lib/oop"); 37 | var TextMode = require("./text").Mode; 38 | var GitignoreHighlightRules = require("./gitignore_highlight_rules").GitignoreHighlightRules; 39 | 40 | var Mode = function() { 41 | this.HighlightRules = GitignoreHighlightRules; 42 | }; 43 | oop.inherits(Mode, TextMode); 44 | 45 | (function() { 46 | this.lineCommentStart = "#"; 47 | this.$id = "ace/mode/gitignore"; 48 | }).call(Mode.prototype); 49 | 50 | exports.Mode = Mode; 51 | }); 52 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/mode-lucene.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/mode/lucene_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | var oop = require("../lib/oop"); 5 | var lang = require("../lib/lang"); 6 | var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; 7 | 8 | var LuceneHighlightRules = function() { 9 | this.$rules = { 10 | "start" : [ 11 | { 12 | token : "constant.character.negation", 13 | regex : "[\\-]" 14 | }, { 15 | token : "constant.character.interro", 16 | regex : "[\\?]" 17 | }, { 18 | token : "constant.character.asterisk", 19 | regex : "[\\*]" 20 | }, { 21 | token: 'constant.character.proximity', 22 | regex: '~[0-9]+\\b' 23 | }, { 24 | token : 'keyword.operator', 25 | regex: '(?:AND|OR|NOT)\\b' 26 | }, { 27 | token : "paren.lparen", 28 | regex : "[\\(]" 29 | }, { 30 | token : "paren.rparen", 31 | regex : "[\\)]" 32 | }, { 33 | token : "keyword", 34 | regex : "[\\S]+:" 35 | }, { 36 | token : "string", // " string 37 | regex : '".*?"' 38 | }, { 39 | token : "text", 40 | regex : "\\s+" 41 | } 42 | ] 43 | }; 44 | }; 45 | 46 | oop.inherits(LuceneHighlightRules, TextHighlightRules); 47 | 48 | exports.LuceneHighlightRules = LuceneHighlightRules; 49 | }); 50 | 51 | ace.define("ace/mode/lucene",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/lucene_highlight_rules"], function(require, exports, module) { 52 | 'use strict'; 53 | 54 | var oop = require("../lib/oop"); 55 | var TextMode = require("./text").Mode; 56 | var LuceneHighlightRules = require("./lucene_highlight_rules").LuceneHighlightRules; 57 | 58 | var Mode = function() { 59 | this.HighlightRules = LuceneHighlightRules; 60 | }; 61 | 62 | oop.inherits(Mode, TextMode); 63 | 64 | (function() { 65 | this.$id = "ace/mode/lucene"; 66 | }).call(Mode.prototype); 67 | 68 | exports.Mode = Mode; 69 | }); 70 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/mode-plain_text.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/mode/plain_text",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/text_highlight_rules","ace/mode/behaviour"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | var oop = require("../lib/oop"); 5 | var TextMode = require("./text").Mode; 6 | var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; 7 | var Behaviour = require("./behaviour").Behaviour; 8 | 9 | var Mode = function() { 10 | this.HighlightRules = TextHighlightRules; 11 | this.$behaviour = new Behaviour(); 12 | }; 13 | 14 | oop.inherits(Mode, TextMode); 15 | 16 | (function() { 17 | this.type = "text"; 18 | this.getNextLineIndent = function(state, line, tab) { 19 | return ''; 20 | }; 21 | this.$id = "ace/mode/plain_text"; 22 | }).call(Mode.prototype); 23 | 24 | exports.Mode = Mode; 25 | }); 26 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/mode-properties.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/mode/properties_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | var oop = require("../lib/oop"); 5 | var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; 6 | 7 | var PropertiesHighlightRules = function() { 8 | 9 | var escapeRe = /\\u[0-9a-fA-F]{4}|\\/; 10 | 11 | this.$rules = { 12 | "start" : [ 13 | { 14 | token : "comment", 15 | regex : /[!#].*$/ 16 | }, { 17 | token : "keyword", 18 | regex : /[=:]$/ 19 | }, { 20 | token : "keyword", 21 | regex : /[=:]/, 22 | next : "value" 23 | }, { 24 | token : "constant.language.escape", 25 | regex : escapeRe 26 | }, { 27 | defaultToken: "variable" 28 | } 29 | ], 30 | "value" : [ 31 | { 32 | regex : /\\$/, 33 | token : "string", 34 | next : "value" 35 | }, { 36 | regex : /$/, 37 | token : "string", 38 | next : "start" 39 | }, { 40 | token : "constant.language.escape", 41 | regex : escapeRe 42 | }, { 43 | defaultToken: "string" 44 | } 45 | ] 46 | }; 47 | 48 | }; 49 | 50 | oop.inherits(PropertiesHighlightRules, TextHighlightRules); 51 | 52 | exports.PropertiesHighlightRules = PropertiesHighlightRules; 53 | }); 54 | 55 | ace.define("ace/mode/properties",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/properties_highlight_rules"], function(require, exports, module) { 56 | "use strict"; 57 | 58 | var oop = require("../lib/oop"); 59 | var TextMode = require("./text").Mode; 60 | var PropertiesHighlightRules = require("./properties_highlight_rules").PropertiesHighlightRules; 61 | 62 | var Mode = function() { 63 | this.HighlightRules = PropertiesHighlightRules; 64 | }; 65 | oop.inherits(Mode, TextMode); 66 | 67 | (function() { 68 | this.$id = "ace/mode/properties"; 69 | }).call(Mode.prototype); 70 | 71 | exports.Mode = Mode; 72 | }); 73 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/mode-sql.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/mode/sql_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | var oop = require("../lib/oop"); 5 | var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; 6 | 7 | var SqlHighlightRules = function() { 8 | 9 | var keywords = ( 10 | "select|insert|update|delete|from|where|and|or|group|by|order|limit|offset|having|as|case|" + 11 | "when|else|end|type|left|right|join|on|outer|desc|asc|union" 12 | ); 13 | 14 | var builtinConstants = ( 15 | "true|false|null" 16 | ); 17 | 18 | var builtinFunctions = ( 19 | "count|min|max|avg|sum|rank|now|coalesce" 20 | ); 21 | 22 | var keywordMapper = this.createKeywordMapper({ 23 | "support.function": builtinFunctions, 24 | "keyword": keywords, 25 | "constant.language": builtinConstants 26 | }, "identifier", true); 27 | 28 | this.$rules = { 29 | "start" : [ { 30 | token : "comment", 31 | regex : "--.*$" 32 | }, { 33 | token : "comment", 34 | start : "/\\*", 35 | end : "\\*/" 36 | }, { 37 | token : "string", // " string 38 | regex : '".*?"' 39 | }, { 40 | token : "string", // ' string 41 | regex : "'.*?'" 42 | }, { 43 | token : "constant.numeric", // float 44 | regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b" 45 | }, { 46 | token : keywordMapper, 47 | regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b" 48 | }, { 49 | token : "keyword.operator", 50 | regex : "\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|=" 51 | }, { 52 | token : "paren.lparen", 53 | regex : "[\\(]" 54 | }, { 55 | token : "paren.rparen", 56 | regex : "[\\)]" 57 | }, { 58 | token : "text", 59 | regex : "\\s+" 60 | } ] 61 | }; 62 | this.normalizeRules(); 63 | }; 64 | 65 | oop.inherits(SqlHighlightRules, TextHighlightRules); 66 | 67 | exports.SqlHighlightRules = SqlHighlightRules; 68 | }); 69 | 70 | ace.define("ace/mode/sql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/sql_highlight_rules","ace/range"], function(require, exports, module) { 71 | "use strict"; 72 | 73 | var oop = require("../lib/oop"); 74 | var TextMode = require("./text").Mode; 75 | var SqlHighlightRules = require("./sql_highlight_rules").SqlHighlightRules; 76 | var Range = require("../range").Range; 77 | 78 | var Mode = function() { 79 | this.HighlightRules = SqlHighlightRules; 80 | }; 81 | oop.inherits(Mode, TextMode); 82 | 83 | (function() { 84 | 85 | this.lineCommentStart = "--"; 86 | 87 | this.$id = "ace/mode/sql"; 88 | }).call(Mode.prototype); 89 | 90 | exports.Mode = Mode; 91 | 92 | }); 93 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/mode-text.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/abap.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/abap",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "abap"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/ada.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/ada",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "ada"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/apache_conf.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/apache_conf",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "apache_conf"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/applescript.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/applescript",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "applescript"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/asciidoc.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/asciidoc",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "asciidoc"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/assembly_x86.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/assembly_x86",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "assembly_x86"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/autohotkey.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/autohotkey",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "autohotkey"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/batchfile.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/batchfile",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "batchfile"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/c9search.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/c9search",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "c9search"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/c_cpp.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/c_cpp",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "## STL Collections\n\ 5 | # std::array\n\ 6 | snippet array\n\ 7 | std::array<${1:T}, ${2:N}> ${3};${4}\n\ 8 | # std::vector\n\ 9 | snippet vector\n\ 10 | std::vector<${1:T}> ${2};${3}\n\ 11 | # std::deque\n\ 12 | snippet deque\n\ 13 | std::deque<${1:T}> ${2};${3}\n\ 14 | # std::forward_list\n\ 15 | snippet flist\n\ 16 | std::forward_list<${1:T}> ${2};${3}\n\ 17 | # std::list\n\ 18 | snippet list\n\ 19 | std::list<${1:T}> ${2};${3}\n\ 20 | # std::set\n\ 21 | snippet set\n\ 22 | std::set<${1:T}> ${2};${3}\n\ 23 | # std::map\n\ 24 | snippet map\n\ 25 | std::map<${1:Key}, ${2:T}> ${3};${4}\n\ 26 | # std::multiset\n\ 27 | snippet mset\n\ 28 | std::multiset<${1:T}> ${2};${3}\n\ 29 | # std::multimap\n\ 30 | snippet mmap\n\ 31 | std::multimap<${1:Key}, ${2:T}> ${3};${4}\n\ 32 | # std::unordered_set\n\ 33 | snippet uset\n\ 34 | std::unordered_set<${1:T}> ${2};${3}\n\ 35 | # std::unordered_map\n\ 36 | snippet umap\n\ 37 | std::unordered_map<${1:Key}, ${2:T}> ${3};${4}\n\ 38 | # std::unordered_multiset\n\ 39 | snippet umset\n\ 40 | std::unordered_multiset<${1:T}> ${2};${3}\n\ 41 | # std::unordered_multimap\n\ 42 | snippet ummap\n\ 43 | std::unordered_multimap<${1:Key}, ${2:T}> ${3};${4}\n\ 44 | # std::stack\n\ 45 | snippet stack\n\ 46 | std::stack<${1:T}> ${2};${3}\n\ 47 | # std::queue\n\ 48 | snippet queue\n\ 49 | std::queue<${1:T}> ${2};${3}\n\ 50 | # std::priority_queue\n\ 51 | snippet pqueue\n\ 52 | std::priority_queue<${1:T}> ${2};${3}\n\ 53 | ##\n\ 54 | ## Access Modifiers\n\ 55 | # private\n\ 56 | snippet pri\n\ 57 | private\n\ 58 | # protected\n\ 59 | snippet pro\n\ 60 | protected\n\ 61 | # public\n\ 62 | snippet pub\n\ 63 | public\n\ 64 | # friend\n\ 65 | snippet fr\n\ 66 | friend\n\ 67 | # mutable\n\ 68 | snippet mu\n\ 69 | mutable\n\ 70 | ## \n\ 71 | ## Class\n\ 72 | # class\n\ 73 | snippet cl\n\ 74 | class ${1:`Filename('$1', 'name')`} \n\ 75 | {\n\ 76 | public:\n\ 77 | $1(${2});\n\ 78 | ~$1();\n\ 79 | \n\ 80 | private:\n\ 81 | ${3:/* data */}\n\ 82 | };\n\ 83 | # member function implementation\n\ 84 | snippet mfun\n\ 85 | ${4:void} ${1:`Filename('$1', 'ClassName')`}::${2:memberFunction}(${3}) {\n\ 86 | ${5:/* code */}\n\ 87 | }\n\ 88 | # namespace\n\ 89 | snippet ns\n\ 90 | namespace ${1:`Filename('', 'my')`} {\n\ 91 | ${2}\n\ 92 | } /* namespace $1 */\n\ 93 | ##\n\ 94 | ## Input/Output\n\ 95 | # std::cout\n\ 96 | snippet cout\n\ 97 | std::cout << ${1} << std::endl;${2}\n\ 98 | # std::cin\n\ 99 | snippet cin\n\ 100 | std::cin >> ${1};${2}\n\ 101 | ##\n\ 102 | ## Iteration\n\ 103 | # for i \n\ 104 | snippet fori\n\ 105 | for (int ${2:i} = 0; $2 < ${1:count}; $2${3:++}) {\n\ 106 | ${4:/* code */}\n\ 107 | }${5}\n\ 108 | \n\ 109 | # foreach\n\ 110 | snippet fore\n\ 111 | for (${1:auto} ${2:i} : ${3:container}) {\n\ 112 | ${4:/* code */}\n\ 113 | }${5}\n\ 114 | # iterator\n\ 115 | snippet iter\n\ 116 | for (${1:std::vector}<${2:type}>::${3:const_iterator} ${4:i} = ${5:container}.begin(); $4 != $5.end(); ++$4) {\n\ 117 | ${6}\n\ 118 | }${7}\n\ 119 | \n\ 120 | # auto iterator\n\ 121 | snippet itera\n\ 122 | for (auto ${1:i} = $1.begin(); $1 != $1.end(); ++$1) {\n\ 123 | ${2:std::cout << *$1 << std::endl;}\n\ 124 | }${3}\n\ 125 | ##\n\ 126 | ## Lambdas\n\ 127 | # lamda (one line)\n\ 128 | snippet ld\n\ 129 | [${1}](${2}){${3:/* code */}}${4}\n\ 130 | # lambda (multi-line)\n\ 131 | snippet lld\n\ 132 | [${1}](${2}){\n\ 133 | ${3:/* code */}\n\ 134 | }${4}\n\ 135 | "; 136 | exports.scope = "c_cpp"; 137 | 138 | }); 139 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/cirru.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/cirru",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "cirru"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/clojure.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/clojure",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet comm\n\ 5 | (comment\n\ 6 | ${1}\n\ 7 | )\n\ 8 | snippet condp\n\ 9 | (condp ${1:pred} ${2:expr}\n\ 10 | ${3})\n\ 11 | snippet def\n\ 12 | (def ${1})\n\ 13 | snippet defm\n\ 14 | (defmethod ${1:multifn} \"${2:doc-string}\" ${3:dispatch-val} [${4:args}]\n\ 15 | ${5})\n\ 16 | snippet defmm\n\ 17 | (defmulti ${1:name} \"${2:doc-string}\" ${3:dispatch-fn})\n\ 18 | snippet defma\n\ 19 | (defmacro ${1:name} \"${2:doc-string}\" ${3:dispatch-fn})\n\ 20 | snippet defn\n\ 21 | (defn ${1:name} \"${2:doc-string}\" [${3:arg-list}]\n\ 22 | ${4})\n\ 23 | snippet defp\n\ 24 | (defprotocol ${1:name}\n\ 25 | ${2})\n\ 26 | snippet defr\n\ 27 | (defrecord ${1:name} [${2:fields}]\n\ 28 | ${3:protocol}\n\ 29 | ${4})\n\ 30 | snippet deft\n\ 31 | (deftest ${1:name}\n\ 32 | (is (= ${2:assertion})))\n\ 33 | ${3})\n\ 34 | snippet is\n\ 35 | (is (= ${1} ${2}))\n\ 36 | snippet defty\n\ 37 | (deftype ${1:Name} [${2:fields}]\n\ 38 | ${3:Protocol}\n\ 39 | ${4})\n\ 40 | snippet doseq\n\ 41 | (doseq [${1:elem} ${2:coll}]\n\ 42 | ${3})\n\ 43 | snippet fn\n\ 44 | (fn [${1:arg-list}] ${2})\n\ 45 | snippet if\n\ 46 | (if ${1:test-expr}\n\ 47 | ${2:then-expr}\n\ 48 | ${3:else-expr})\n\ 49 | snippet if-let \n\ 50 | (if-let [${1:result} ${2:test-expr}]\n\ 51 | (${3:then-expr} $1)\n\ 52 | (${4:else-expr}))\n\ 53 | snippet imp\n\ 54 | (:import [${1:package}])\n\ 55 | & {:keys [${1:keys}] :or {${2:defaults}}}\n\ 56 | snippet let\n\ 57 | (let [${1:name} ${2:expr}]\n\ 58 | ${3})\n\ 59 | snippet letfn\n\ 60 | (letfn [(${1:name) [${2:args}]\n\ 61 | ${3})])\n\ 62 | snippet map\n\ 63 | (map ${1:func} ${2:coll})\n\ 64 | snippet mapl\n\ 65 | (map #(${1:lambda}) ${2:coll})\n\ 66 | snippet met\n\ 67 | (${1:name} [${2:this} ${3:args}]\n\ 68 | ${4})\n\ 69 | snippet ns\n\ 70 | (ns ${1:name}\n\ 71 | ${2})\n\ 72 | snippet dotimes\n\ 73 | (dotimes [_ 10]\n\ 74 | (time\n\ 75 | (dotimes [_ ${1:times}]\n\ 76 | ${2})))\n\ 77 | snippet pmethod\n\ 78 | (${1:name} [${2:this} ${3:args}])\n\ 79 | snippet refer\n\ 80 | (:refer-clojure :exclude [${1}])\n\ 81 | snippet require\n\ 82 | (:require [${1:namespace} :as [${2}]])\n\ 83 | snippet use\n\ 84 | (:use [${1:namespace} :only [${2}]])\n\ 85 | snippet print\n\ 86 | (println ${1})\n\ 87 | snippet reduce\n\ 88 | (reduce ${1:(fn [p n] ${3})} ${2})\n\ 89 | snippet when\n\ 90 | (when ${1:test} ${2:body})\n\ 91 | snippet when-let\n\ 92 | (when-let [${1:result} ${2:test}]\n\ 93 | ${3:body})\n\ 94 | "; 95 | exports.scope = "clojure"; 96 | 97 | }); 98 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/cobol.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/cobol",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "cobol"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/coffee.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/coffee",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# Closure loop\n\ 5 | snippet forindo\n\ 6 | for ${1:name} in ${2:array}\n\ 7 | do ($1) ->\n\ 8 | ${3:// body}\n\ 9 | # Array comprehension\n\ 10 | snippet fora\n\ 11 | for ${1:name} in ${2:array}\n\ 12 | ${3:// body...}\n\ 13 | # Object comprehension\n\ 14 | snippet foro\n\ 15 | for ${1:key}, ${2:value} of ${3:object}\n\ 16 | ${4:// body...}\n\ 17 | # Range comprehension (inclusive)\n\ 18 | snippet forr\n\ 19 | for ${1:name} in [${2:start}..${3:finish}]\n\ 20 | ${4:// body...}\n\ 21 | snippet forrb\n\ 22 | for ${1:name} in [${2:start}..${3:finish}] by ${4:step}\n\ 23 | ${5:// body...}\n\ 24 | # Range comprehension (exclusive)\n\ 25 | snippet forrex\n\ 26 | for ${1:name} in [${2:start}...${3:finish}]\n\ 27 | ${4:// body...}\n\ 28 | snippet forrexb\n\ 29 | for ${1:name} in [${2:start}...${3:finish}] by ${4:step}\n\ 30 | ${5:// body...}\n\ 31 | # Function\n\ 32 | snippet fun\n\ 33 | (${1:args}) ->\n\ 34 | ${2:// body...}\n\ 35 | # Function (bound)\n\ 36 | snippet bfun\n\ 37 | (${1:args}) =>\n\ 38 | ${2:// body...}\n\ 39 | # Class\n\ 40 | snippet cla class ..\n\ 41 | class ${1:`substitute(Filename(), '\\(_\\|^\\)\\(.\\)', '\\u\\2', 'g')`}\n\ 42 | ${2}\n\ 43 | snippet cla class .. constructor: ..\n\ 44 | class ${1:`substitute(Filename(), '\\(_\\|^\\)\\(.\\)', '\\u\\2', 'g')`}\n\ 45 | constructor: (${2:args}) ->\n\ 46 | ${3}\n\ 47 | \n\ 48 | ${4}\n\ 49 | snippet cla class .. extends ..\n\ 50 | class ${1:`substitute(Filename(), '\\(_\\|^\\)\\(.\\)', '\\u\\2', 'g')`} extends ${2:ParentClass}\n\ 51 | ${3}\n\ 52 | snippet cla class .. extends .. constructor: ..\n\ 53 | class ${1:`substitute(Filename(), '\\(_\\|^\\)\\(.\\)', '\\u\\2', 'g')`} extends ${2:ParentClass}\n\ 54 | constructor: (${3:args}) ->\n\ 55 | ${4}\n\ 56 | \n\ 57 | ${5}\n\ 58 | # If\n\ 59 | snippet if\n\ 60 | if ${1:condition}\n\ 61 | ${2:// body...}\n\ 62 | # If __ Else\n\ 63 | snippet ife\n\ 64 | if ${1:condition}\n\ 65 | ${2:// body...}\n\ 66 | else\n\ 67 | ${3:// body...}\n\ 68 | # Else if\n\ 69 | snippet elif\n\ 70 | else if ${1:condition}\n\ 71 | ${2:// body...}\n\ 72 | # Ternary If\n\ 73 | snippet ifte\n\ 74 | if ${1:condition} then ${2:value} else ${3:other}\n\ 75 | # Unless\n\ 76 | snippet unl\n\ 77 | ${1:action} unless ${2:condition}\n\ 78 | # Switch\n\ 79 | snippet swi\n\ 80 | switch ${1:object}\n\ 81 | when ${2:value}\n\ 82 | ${3:// body...}\n\ 83 | \n\ 84 | # Log\n\ 85 | snippet log\n\ 86 | console.log ${1}\n\ 87 | # Try __ Catch\n\ 88 | snippet try\n\ 89 | try\n\ 90 | ${1}\n\ 91 | catch ${2:error}\n\ 92 | ${3}\n\ 93 | # Require\n\ 94 | snippet req\n\ 95 | ${2:$1} = require '${1:sys}'${3}\n\ 96 | # Export\n\ 97 | snippet exp\n\ 98 | ${1:root} = exports ? this\n\ 99 | "; 100 | exports.scope = "coffee"; 101 | 102 | }); 103 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/coldfusion.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/coldfusion",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "coldfusion"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/csharp.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/csharp",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "csharp"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/curly.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/curly",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "curly"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/d.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/d",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "d"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/dart.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/dart",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet lib\n\ 5 | library ${1};\n\ 6 | ${2}\n\ 7 | snippet im\n\ 8 | import '${1}';\n\ 9 | ${2}\n\ 10 | snippet pa\n\ 11 | part '${1}';\n\ 12 | ${2}\n\ 13 | snippet pao\n\ 14 | part of ${1};\n\ 15 | ${2}\n\ 16 | snippet main\n\ 17 | void main() {\n\ 18 | ${1:/* code */}\n\ 19 | }\n\ 20 | snippet st\n\ 21 | static ${1}\n\ 22 | snippet fi\n\ 23 | final ${1}\n\ 24 | snippet re\n\ 25 | return ${1}\n\ 26 | snippet br\n\ 27 | break;\n\ 28 | snippet th\n\ 29 | throw ${1}\n\ 30 | snippet cl\n\ 31 | class ${1:`Filename(\"\", \"untitled\")`} ${2}\n\ 32 | snippet imp\n\ 33 | implements ${1}\n\ 34 | snippet ext\n\ 35 | extends ${1}\n\ 36 | snippet if\n\ 37 | if (${1:true}) {\n\ 38 | ${2}\n\ 39 | }\n\ 40 | snippet ife\n\ 41 | if (${1:true}) {\n\ 42 | ${2}\n\ 43 | } else {\n\ 44 | ${3}\n\ 45 | }\n\ 46 | snippet el\n\ 47 | else\n\ 48 | snippet sw\n\ 49 | switch (${1}) {\n\ 50 | ${2}\n\ 51 | }\n\ 52 | snippet cs\n\ 53 | case ${1}:\n\ 54 | ${2}\n\ 55 | snippet de\n\ 56 | default:\n\ 57 | ${1}\n\ 58 | snippet for\n\ 59 | for (var ${2:i} = 0, len = ${1:things}.length; $2 < len; ${3:++}$2) {\n\ 60 | ${4:$1[$2]}\n\ 61 | }\n\ 62 | snippet fore\n\ 63 | for (final ${2:item} in ${1:itemList}) {\n\ 64 | ${3:/* code */}\n\ 65 | }\n\ 66 | snippet wh\n\ 67 | while (${1:/* condition */}) {\n\ 68 | ${2:/* code */}\n\ 69 | }\n\ 70 | snippet dowh\n\ 71 | do {\n\ 72 | ${2:/* code */}\n\ 73 | } while (${1:/* condition */});\n\ 74 | snippet as\n\ 75 | assert(${1:/* condition */});\n\ 76 | snippet try\n\ 77 | try {\n\ 78 | ${2}\n\ 79 | } catch (${1:Exception e}) {\n\ 80 | }\n\ 81 | snippet tryf\n\ 82 | try {\n\ 83 | ${2}\n\ 84 | } catch (${1:Exception e}) {\n\ 85 | } finally {\n\ 86 | }\n\ 87 | "; 88 | exports.scope = "dart"; 89 | 90 | }); 91 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/diff.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/diff",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# DEP-3 (http://dep.debian.net/deps/dep3/) style patch header\n\ 5 | snippet header DEP-3 style header\n\ 6 | Description: ${1}\n\ 7 | Origin: ${2:vendor|upstream|other}, ${3:url of the original patch}\n\ 8 | Bug: ${4:url in upstream bugtracker}\n\ 9 | Forwarded: ${5:no|not-needed|url}\n\ 10 | Author: ${6:`g:snips_author`}\n\ 11 | Reviewed-by: ${7:name and email}\n\ 12 | Last-Update: ${8:`strftime(\"%Y-%m-%d\")`}\n\ 13 | Applied-Upstream: ${9:upstream version|url|commit}\n\ 14 | \n\ 15 | "; 16 | exports.scope = "diff"; 17 | 18 | }); 19 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/dockerfile.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/dockerfile",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "dockerfile"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/dot.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/dot",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "dot"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/eiffel.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/eiffel",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "eiffel"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/ejs.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/ejs",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "ejs"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/elixir.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/elixir",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = ""; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/elm.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/elm",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "elm"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/forth.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/forth",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "forth"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/ftl.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/ftl",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "ftl"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/gcode.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/gcode",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "gcode"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/gherkin.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/gherkin",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "gherkin"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/gitignore.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/gitignore",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "gitignore"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/glsl.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/glsl",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "glsl"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/golang.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/golang",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "golang"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/groovy.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/groovy",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "groovy"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/haml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/haml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet t\n\ 5 | %table\n\ 6 | %tr\n\ 7 | %th\n\ 8 | ${1:headers}\n\ 9 | %tr\n\ 10 | %td\n\ 11 | ${2:headers}\n\ 12 | snippet ul\n\ 13 | %ul\n\ 14 | %li\n\ 15 | ${1:item}\n\ 16 | %li\n\ 17 | snippet =rp\n\ 18 | = render :partial => '${1:partial}'\n\ 19 | snippet =rpl\n\ 20 | = render :partial => '${1:partial}', :locals => {}\n\ 21 | snippet =rpc\n\ 22 | = render :partial => '${1:partial}', :collection => @$1\n\ 23 | \n\ 24 | "; 25 | exports.scope = "haml"; 26 | 27 | }); 28 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/handlebars.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/handlebars",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "handlebars"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/haskell.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/haskell",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet lang\n\ 5 | {-# LANGUAGE ${1:OverloadedStrings} #-}\n\ 6 | snippet info\n\ 7 | -- |\n\ 8 | -- Module : ${1:Module.Namespace}\n\ 9 | -- Copyright : ${2:Author} ${3:2011-2012}\n\ 10 | -- License : ${4:BSD3}\n\ 11 | --\n\ 12 | -- Maintainer : ${5:email@something.com}\n\ 13 | -- Stability : ${6:experimental}\n\ 14 | -- Portability : ${7:unknown}\n\ 15 | --\n\ 16 | -- ${8:Description}\n\ 17 | --\n\ 18 | snippet import\n\ 19 | import ${1:Data.Text}\n\ 20 | snippet import2\n\ 21 | import ${1:Data.Text} (${2:head})\n\ 22 | snippet importq\n\ 23 | import qualified ${1:Data.Text} as ${2:T}\n\ 24 | snippet inst\n\ 25 | instance ${1:Monoid} ${2:Type} where\n\ 26 | ${3}\n\ 27 | snippet type\n\ 28 | type ${1:Type} = ${2:Type}\n\ 29 | snippet data\n\ 30 | data ${1:Type} = ${2:$1} ${3:Int}\n\ 31 | snippet newtype\n\ 32 | newtype ${1:Type} = ${2:$1} ${3:Int}\n\ 33 | snippet class\n\ 34 | class ${1:Class} a where\n\ 35 | ${2}\n\ 36 | snippet module\n\ 37 | module `substitute(substitute(expand('%:r'), '[/\\\\]','.','g'),'^\\%(\\l*\\.\\)\\?','','')` (\n\ 38 | ) where\n\ 39 | `expand('%') =~ 'Main' ? \"\\n\\nmain = do\\n print \\\"hello world\\\"\" : \"\"`\n\ 40 | \n\ 41 | snippet const\n\ 42 | ${1:name} :: ${2:a}\n\ 43 | $1 = ${3:undefined}\n\ 44 | snippet fn\n\ 45 | ${1:fn} :: ${2:a} -> ${3:a}\n\ 46 | $1 ${4} = ${5:undefined}\n\ 47 | snippet fn2\n\ 48 | ${1:fn} :: ${2:a} -> ${3:a} -> ${4:a}\n\ 49 | $1 ${5} = ${6:undefined}\n\ 50 | snippet ap\n\ 51 | ${1:map} ${2:fn} ${3:list}\n\ 52 | snippet do\n\ 53 | do\n\ 54 | \n\ 55 | snippet λ\n\ 56 | \\${1:x} -> ${2}\n\ 57 | snippet \\\n\ 58 | \\${1:x} -> ${2}\n\ 59 | snippet <-\n\ 60 | ${1:a} <- ${2:m a}\n\ 61 | snippet ←\n\ 62 | ${1:a} <- ${2:m a}\n\ 63 | snippet ->\n\ 64 | ${1:m a} -> ${2:a}\n\ 65 | snippet →\n\ 66 | ${1:m a} -> ${2:a}\n\ 67 | snippet tup\n\ 68 | (${1:a}, ${2:b})\n\ 69 | snippet tup2\n\ 70 | (${1:a}, ${2:b}, ${3:c})\n\ 71 | snippet tup3\n\ 72 | (${1:a}, ${2:b}, ${3:c}, ${4:d})\n\ 73 | snippet rec\n\ 74 | ${1:Record} { ${2:recFieldA} = ${3:undefined}\n\ 75 | , ${4:recFieldB} = ${5:undefined}\n\ 76 | }\n\ 77 | snippet case\n\ 78 | case ${1:something} of\n\ 79 | ${2} -> ${3}\n\ 80 | snippet let\n\ 81 | let ${1} = ${2}\n\ 82 | in ${3}\n\ 83 | snippet where\n\ 84 | where\n\ 85 | ${1:fn} = ${2:undefined}\n\ 86 | "; 87 | exports.scope = "haskell"; 88 | 89 | }); 90 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/haxe.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/haxe",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "haxe"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/html_ruby.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/html_ruby",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "html_ruby"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/ini.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/ini",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "ini"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/io.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/io",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippets = [ 5 | { 6 | "content": "assertEquals(${1:expected}, ${2:expr})", 7 | "name": "assertEquals", 8 | "scope": "io", 9 | "tabTrigger": "ae" 10 | }, 11 | { 12 | "content": "${1:${2:newValue} := ${3:Object} }clone do(\n\t$0\n)", 13 | "name": "clone do", 14 | "scope": "io", 15 | "tabTrigger": "cdo" 16 | }, 17 | { 18 | "content": "docSlot(\"${1:slotName}\", \"${2:documentation}\")", 19 | "name": "docSlot", 20 | "scope": "io", 21 | "tabTrigger": "ds" 22 | }, 23 | { 24 | "content": "(${1:header,}\n\t${2:body}\n)$0", 25 | "keyEquivalent": "@(", 26 | "name": "Indented Bracketed Line", 27 | "scope": "io", 28 | "tabTrigger": "(" 29 | }, 30 | { 31 | "content": "\n\t$0\n", 32 | "keyEquivalent": "\r", 33 | "name": "Special: Return Inside Empty Parenthesis", 34 | "scope": "io meta.empty-parenthesis.io, io meta.comma-parenthesis.io" 35 | }, 36 | { 37 | "content": "${1:methodName} := method(${2:args,}\n\t$0\n)", 38 | "name": "method", 39 | "scope": "io", 40 | "tabTrigger": "m" 41 | }, 42 | { 43 | "content": "newSlot(\"${1:slotName}\", ${2:defaultValue}, \"${3:docString}\")$0", 44 | "name": "newSlot", 45 | "scope": "io", 46 | "tabTrigger": "ns" 47 | }, 48 | { 49 | "content": "${1:name} := Object clone do(\n\t$0\n)", 50 | "name": "Object clone do", 51 | "scope": "io", 52 | "tabTrigger": "ocdo" 53 | }, 54 | { 55 | "content": "test${1:SomeFeature} := method(\n\t$0\n)", 56 | "name": "testMethod", 57 | "scope": "io", 58 | "tabTrigger": "ts" 59 | }, 60 | { 61 | "content": "${1:Something}Test := ${2:UnitTest} clone do(\n\t$0\n)", 62 | "name": "UnitTest", 63 | "scope": "io", 64 | "tabTrigger": "ut" 65 | } 66 | ]; 67 | exports.scope = "io"; 68 | 69 | }); 70 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/jack.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/jack",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "jack"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/jade.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/jade",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "jade"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/json.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/json",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "json"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/jsoniq.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/jsoniq",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet for\n\ 5 | for $${1:item} in ${2:expr}\n\ 6 | snippet return\n\ 7 | return ${1:expr}\n\ 8 | snippet import\n\ 9 | import module namespace ${1:ns} = \"${2:http://www.example.com/}\";\n\ 10 | snippet some\n\ 11 | some $${1:varname} in ${2:expr} satisfies ${3:expr}\n\ 12 | snippet every\n\ 13 | every $${1:varname} in ${2:expr} satisfies ${3:expr}\n\ 14 | snippet if\n\ 15 | if(${1:true}) then ${2:expr} else ${3:true}\n\ 16 | snippet switch\n\ 17 | switch(${1:\"foo\"})\n\ 18 | case ${2:\"foo\"}\n\ 19 | return ${3:true}\n\ 20 | default return ${4:false}\n\ 21 | snippet try\n\ 22 | try { ${1:expr} } catch ${2:*} { ${3:expr} }\n\ 23 | snippet tumbling\n\ 24 | for tumbling window $${1:varname} in ${2:expr}\n\ 25 | start at $${3:start} when ${4:expr}\n\ 26 | end at $${5:end} when ${6:expr}\n\ 27 | return ${7:expr}\n\ 28 | snippet sliding\n\ 29 | for sliding window $${1:varname} in ${2:expr}\n\ 30 | start at $${3:start} when ${4:expr}\n\ 31 | end at $${5:end} when ${6:expr}\n\ 32 | return ${7:expr}\n\ 33 | snippet let\n\ 34 | let $${1:varname} := ${2:expr}\n\ 35 | snippet group\n\ 36 | group by $${1:varname} := ${2:expr}\n\ 37 | snippet order\n\ 38 | order by ${1:expr} ${2:descending}\n\ 39 | snippet stable\n\ 40 | stable order by ${1:expr}\n\ 41 | snippet count\n\ 42 | count $${1:varname}\n\ 43 | snippet ordered\n\ 44 | ordered { ${1:expr} }\n\ 45 | snippet unordered\n\ 46 | unordered { ${1:expr} }\n\ 47 | snippet treat \n\ 48 | treat as ${1:expr}\n\ 49 | snippet castable\n\ 50 | castable as ${1:atomicType}\n\ 51 | snippet cast\n\ 52 | cast as ${1:atomicType}\n\ 53 | snippet typeswitch\n\ 54 | typeswitch(${1:expr})\n\ 55 | case ${2:type} return ${3:expr}\n\ 56 | default return ${4:expr}\n\ 57 | snippet var\n\ 58 | declare variable $${1:varname} := ${2:expr};\n\ 59 | snippet fn\n\ 60 | declare function ${1:ns}:${2:name}(){\n\ 61 | ${3:expr}\n\ 62 | };\n\ 63 | snippet module\n\ 64 | module namespace ${1:ns} = \"${2:http://www.example.com}\";\n\ 65 | "; 66 | exports.scope = "jsoniq"; 67 | 68 | }); 69 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/jsp.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/jsp",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet @page\n\ 5 | <%@page contentType=\"text/html\" pageEncoding=\"UTF-8\"%>\n\ 6 | snippet jstl\n\ 7 | <%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n\ 8 | <%@ taglib uri=\"http://java.sun.com/jsp/jstl/functions\" prefix=\"fn\" %>\n\ 9 | snippet jstl:c\n\ 10 | <%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n\ 11 | snippet jstl:fn\n\ 12 | <%@ taglib uri=\"http://java.sun.com/jsp/jstl/functions\" prefix=\"fn\" %>\n\ 13 | snippet cpath\n\ 14 | ${pageContext.request.contextPath}\n\ 15 | snippet cout\n\ 16 | \n\ 17 | snippet cset\n\ 18 | \n\ 19 | snippet cremove\n\ 20 | \n\ 21 | snippet ccatch\n\ 22 | \n\ 23 | snippet cif\n\ 24 | \n\ 25 | ${2}\n\ 26 | \n\ 27 | snippet cchoose\n\ 28 | \n\ 29 | ${1}\n\ 30 | \n\ 31 | snippet cwhen\n\ 32 | \n\ 33 | ${2}\n\ 34 | \n\ 35 | snippet cother\n\ 36 | \n\ 37 | ${1}\n\ 38 | \n\ 39 | snippet cfore\n\ 40 | \n\ 41 | ${4:}\n\ 42 | \n\ 43 | snippet cfort\n\ 44 | ${2:item1,item2,item3}\n\ 45 | \n\ 46 | ${5:}\n\ 47 | \n\ 48 | snippet cparam\n\ 49 | \n\ 50 | snippet cparam+\n\ 51 | \n\ 52 | cparam+${3}\n\ 53 | snippet cimport\n\ 54 | \n\ 55 | snippet cimport+\n\ 56 | \n\ 57 | \n\ 58 | cparam+${4}\n\ 59 | \n\ 60 | snippet curl\n\ 61 | \n\ 62 | ${3}\n\ 63 | snippet curl+\n\ 64 | \n\ 65 | \n\ 66 | cparam+${6}\n\ 67 | \n\ 68 | ${3}\n\ 69 | snippet credirect\n\ 70 | \n\ 71 | snippet contains\n\ 72 | ${fn:contains(${1:string}, ${2:substr})}\n\ 73 | snippet contains:i\n\ 74 | ${fn:containsIgnoreCase(${1:string}, ${2:substr})}\n\ 75 | snippet endswith\n\ 76 | ${fn:endsWith(${1:string}, ${2:suffix})}\n\ 77 | snippet escape\n\ 78 | ${fn:escapeXml(${1:string})}\n\ 79 | snippet indexof\n\ 80 | ${fn:indexOf(${1:string}, ${2:substr})}\n\ 81 | snippet join\n\ 82 | ${fn:join(${1:collection}, ${2:delims})}\n\ 83 | snippet length\n\ 84 | ${fn:length(${1:collection_or_string})}\n\ 85 | snippet replace\n\ 86 | ${fn:replace(${1:string}, ${2:substr}, ${3:replace})}\n\ 87 | snippet split\n\ 88 | ${fn:split(${1:string}, ${2:delims})}\n\ 89 | snippet startswith\n\ 90 | ${fn:startsWith(${1:string}, ${2:prefix})}\n\ 91 | snippet substr\n\ 92 | ${fn:substring(${1:string}, ${2:begin}, ${3:end})}\n\ 93 | snippet substr:a\n\ 94 | ${fn:substringAfter(${1:string}, ${2:substr})}\n\ 95 | snippet substr:b\n\ 96 | ${fn:substringBefore(${1:string}, ${2:substr})}\n\ 97 | snippet lc\n\ 98 | ${fn:toLowerCase(${1:string})}\n\ 99 | snippet uc\n\ 100 | ${fn:toUpperCase(${1:string})}\n\ 101 | snippet trim\n\ 102 | ${fn:trim(${1:string})}\n\ 103 | "; 104 | exports.scope = "jsp"; 105 | 106 | }); 107 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/jsx.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/jsx",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "jsx"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/julia.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/julia",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "julia"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/latex.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/latex",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "latex"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/less.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/less",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "less"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/liquid.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/liquid",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "liquid"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/lisp.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/lisp",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "lisp"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/livescript.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/livescript",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "livescript"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/logiql.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/logiql",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "logiql"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/lua.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/lua",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet #!\n\ 5 | #!/usr/bin/env lua\n\ 6 | $1\n\ 7 | snippet local\n\ 8 | local ${1:x} = ${2:1}\n\ 9 | snippet fun\n\ 10 | function ${1:fname}(${2:...})\n\ 11 | ${3:-- body}\n\ 12 | end\n\ 13 | snippet for\n\ 14 | for ${1:i}=${2:1},${3:10} do\n\ 15 | ${4:print(i)}\n\ 16 | end\n\ 17 | snippet forp\n\ 18 | for ${1:i},${2:v} in pairs(${3:table_name}) do\n\ 19 | ${4:-- body}\n\ 20 | end\n\ 21 | snippet fori\n\ 22 | for ${1:i},${2:v} in ipairs(${3:table_name}) do\n\ 23 | ${4:-- body}\n\ 24 | end\n\ 25 | "; 26 | exports.scope = "lua"; 27 | 28 | }); 29 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/luapage.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/luapage",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "luapage"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/lucene.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/lucene",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "lucene"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/makefile.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/makefile",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet ifeq\n\ 5 | ifeq (${1:cond0},${2:cond1})\n\ 6 | ${3:code}\n\ 7 | endif\n\ 8 | "; 9 | exports.scope = "makefile"; 10 | 11 | }); 12 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/markdown.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/markdown",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# Markdown\n\ 5 | \n\ 6 | # Includes octopress (http://octopress.org/) snippets\n\ 7 | \n\ 8 | snippet [\n\ 9 | [${1:text}](http://${2:address} \"${3:title}\")\n\ 10 | snippet [*\n\ 11 | [${1:link}](${2:`@*`} \"${3:title}\")${4}\n\ 12 | \n\ 13 | snippet [:\n\ 14 | [${1:id}]: http://${2:url} \"${3:title}\"\n\ 15 | snippet [:*\n\ 16 | [${1:id}]: ${2:`@*`} \"${3:title}\"\n\ 17 | \n\ 18 | snippet ![\n\ 19 | ![${1:alttext}](${2:/images/image.jpg} \"${3:title}\")\n\ 20 | snippet ![*\n\ 21 | ![${1:alt}](${2:`@*`} \"${3:title}\")${4}\n\ 22 | \n\ 23 | snippet ![:\n\ 24 | ![${1:id}]: ${2:url} \"${3:title}\"\n\ 25 | snippet ![:*\n\ 26 | ![${1:id}]: ${2:`@*`} \"${3:title}\"\n\ 27 | \n\ 28 | snippet ===\n\ 29 | regex /^/=+/=*//\n\ 30 | ${PREV_LINE/./=/g}\n\ 31 | \n\ 32 | ${0}\n\ 33 | snippet ---\n\ 34 | regex /^/-+/-*//\n\ 35 | ${PREV_LINE/./-/g}\n\ 36 | \n\ 37 | ${0}\n\ 38 | snippet blockquote\n\ 39 | {% blockquote %}\n\ 40 | ${1:quote}\n\ 41 | {% endblockquote %}\n\ 42 | \n\ 43 | snippet blockquote-author\n\ 44 | {% blockquote ${1:author}, ${2:title} %}\n\ 45 | ${3:quote}\n\ 46 | {% endblockquote %}\n\ 47 | \n\ 48 | snippet blockquote-link\n\ 49 | {% blockquote ${1:author} ${2:URL} ${3:link_text} %}\n\ 50 | ${4:quote}\n\ 51 | {% endblockquote %}\n\ 52 | \n\ 53 | snippet bt-codeblock-short\n\ 54 | ```\n\ 55 | ${1:code_snippet}\n\ 56 | ```\n\ 57 | \n\ 58 | snippet bt-codeblock-full\n\ 59 | ``` ${1:language} ${2:title} ${3:URL} ${4:link_text}\n\ 60 | ${5:code_snippet}\n\ 61 | ```\n\ 62 | \n\ 63 | snippet codeblock-short\n\ 64 | {% codeblock %}\n\ 65 | ${1:code_snippet}\n\ 66 | {% endcodeblock %}\n\ 67 | \n\ 68 | snippet codeblock-full\n\ 69 | {% codeblock ${1:title} lang:${2:language} ${3:URL} ${4:link_text} %}\n\ 70 | ${5:code_snippet}\n\ 71 | {% endcodeblock %}\n\ 72 | \n\ 73 | snippet gist-full\n\ 74 | {% gist ${1:gist_id} ${2:filename} %}\n\ 75 | \n\ 76 | snippet gist-short\n\ 77 | {% gist ${1:gist_id} %}\n\ 78 | \n\ 79 | snippet img\n\ 80 | {% img ${1:class} ${2:URL} ${3:width} ${4:height} ${5:title_text} ${6:alt_text} %}\n\ 81 | \n\ 82 | snippet youtube\n\ 83 | {% youtube ${1:video_id} %}\n\ 84 | \n\ 85 | # The quote should appear only once in the text. It is inherently part of it.\n\ 86 | # See http://octopress.org/docs/plugins/pullquote/ for more info.\n\ 87 | \n\ 88 | snippet pullquote\n\ 89 | {% pullquote %}\n\ 90 | ${1:text} {\" ${2:quote} \"} ${3:text}\n\ 91 | {% endpullquote %}\n\ 92 | "; 93 | exports.scope = "markdown"; 94 | 95 | }); 96 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/matlab.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/matlab",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "matlab"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/mel.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/mel",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "mel"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/mushcode.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/mushcode",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "mushcode"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/mysql.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/mysql",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "mysql"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/nix.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/nix",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "nix"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/objectivec.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/objectivec",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "objectivec"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/ocaml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/ocaml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "ocaml"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/pascal.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/pascal",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "pascal"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/pgsql.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/pgsql",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "pgsql"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/plain_text.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/plain_text",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "plain_text"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/powershell.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/powershell",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "powershell"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/praat.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/praat",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "praat"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/prolog.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/prolog",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "prolog"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/properties.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/properties",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "properties"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/protobuf.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/protobuf",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = ""; 5 | exports.scope = "protobuf"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/r.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/r",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet #!\n\ 5 | #!/usr/bin/env Rscript\n\ 6 | \n\ 7 | # includes\n\ 8 | snippet lib\n\ 9 | library(${1:package})\n\ 10 | snippet req\n\ 11 | require(${1:package})\n\ 12 | snippet source\n\ 13 | source('${1:file}')\n\ 14 | \n\ 15 | # conditionals\n\ 16 | snippet if\n\ 17 | if (${1:condition}) {\n\ 18 | ${2:code}\n\ 19 | }\n\ 20 | snippet el\n\ 21 | else {\n\ 22 | ${1:code}\n\ 23 | }\n\ 24 | snippet ei\n\ 25 | else if (${1:condition}) {\n\ 26 | ${2:code}\n\ 27 | }\n\ 28 | \n\ 29 | # functions\n\ 30 | snippet fun\n\ 31 | ${1:name} = function (${2:variables}) {\n\ 32 | ${3:code}\n\ 33 | }\n\ 34 | snippet ret\n\ 35 | return(${1:code})\n\ 36 | \n\ 37 | # dataframes, lists, etc\n\ 38 | snippet df\n\ 39 | ${1:name}[${2:rows}, ${3:cols}]\n\ 40 | snippet c\n\ 41 | c(${1:items})\n\ 42 | snippet li\n\ 43 | list(${1:items})\n\ 44 | snippet mat\n\ 45 | matrix(${1:data}, nrow=${2:rows}, ncol=${3:cols})\n\ 46 | \n\ 47 | # apply functions\n\ 48 | snippet apply\n\ 49 | apply(${1:array}, ${2:margin}, ${3:function})\n\ 50 | snippet lapply\n\ 51 | lapply(${1:list}, ${2:function})\n\ 52 | snippet sapply\n\ 53 | lapply(${1:list}, ${2:function})\n\ 54 | snippet vapply\n\ 55 | vapply(${1:list}, ${2:function}, ${3:type})\n\ 56 | snippet mapply\n\ 57 | mapply(${1:function}, ${2:...})\n\ 58 | snippet tapply\n\ 59 | tapply(${1:vector}, ${2:index}, ${3:function})\n\ 60 | snippet rapply\n\ 61 | rapply(${1:list}, ${2:function})\n\ 62 | \n\ 63 | # plyr functions\n\ 64 | snippet dd\n\ 65 | ddply(${1:frame}, ${2:variables}, ${3:function})\n\ 66 | snippet dl\n\ 67 | dlply(${1:frame}, ${2:variables}, ${3:function})\n\ 68 | snippet da\n\ 69 | daply(${1:frame}, ${2:variables}, ${3:function})\n\ 70 | snippet d_\n\ 71 | d_ply(${1:frame}, ${2:variables}, ${3:function})\n\ 72 | \n\ 73 | snippet ad\n\ 74 | adply(${1:array}, ${2:margin}, ${3:function})\n\ 75 | snippet al\n\ 76 | alply(${1:array}, ${2:margin}, ${3:function})\n\ 77 | snippet aa\n\ 78 | aaply(${1:array}, ${2:margin}, ${3:function})\n\ 79 | snippet a_\n\ 80 | a_ply(${1:array}, ${2:margin}, ${3:function})\n\ 81 | \n\ 82 | snippet ld\n\ 83 | ldply(${1:list}, ${2:function})\n\ 84 | snippet ll\n\ 85 | llply(${1:list}, ${2:function})\n\ 86 | snippet la\n\ 87 | laply(${1:list}, ${2:function})\n\ 88 | snippet l_\n\ 89 | l_ply(${1:list}, ${2:function})\n\ 90 | \n\ 91 | snippet md\n\ 92 | mdply(${1:matrix}, ${2:function})\n\ 93 | snippet ml\n\ 94 | mlply(${1:matrix}, ${2:function})\n\ 95 | snippet ma\n\ 96 | maply(${1:matrix}, ${2:function})\n\ 97 | snippet m_\n\ 98 | m_ply(${1:matrix}, ${2:function})\n\ 99 | \n\ 100 | # plot functions\n\ 101 | snippet pl\n\ 102 | plot(${1:x}, ${2:y})\n\ 103 | snippet ggp\n\ 104 | ggplot(${1:data}, aes(${2:aesthetics}))\n\ 105 | snippet img\n\ 106 | ${1:(jpeg,bmp,png,tiff)}(filename=\"${2:filename}\", width=${3}, height=${4}, unit=\"${5}\")\n\ 107 | ${6:plot}\n\ 108 | dev.off()\n\ 109 | \n\ 110 | # statistical test functions\n\ 111 | snippet fis\n\ 112 | fisher.test(${1:x}, ${2:y})\n\ 113 | snippet chi\n\ 114 | chisq.test(${1:x}, ${2:y})\n\ 115 | snippet tt\n\ 116 | t.test(${1:x}, ${2:y})\n\ 117 | snippet wil\n\ 118 | wilcox.test(${1:x}, ${2:y})\n\ 119 | snippet cor\n\ 120 | cor.test(${1:x}, ${2:y})\n\ 121 | snippet fte\n\ 122 | var.test(${1:x}, ${2:y})\n\ 123 | snippet kvt \n\ 124 | kv.test(${1:x}, ${2:y})\n\ 125 | "; 126 | exports.scope = "r"; 127 | 128 | }); 129 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/rdoc.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/rdoc",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "rdoc"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/rhtml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/rhtml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "rhtml"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/rust.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/rust",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "rust"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/sass.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/sass",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "sass"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/scad.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/scad",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "scad"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/scala.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/scala",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "scala"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/scheme.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/scheme",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "scheme"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/scss.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/scss",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "scss"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/sh.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/sh",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# Shebang. Executing bash via /usr/bin/env makes scripts more portable.\n\ 5 | snippet #!\n\ 6 | #!/usr/bin/env bash\n\ 7 | \n\ 8 | snippet if\n\ 9 | if [[ ${1:condition} ]]; then\n\ 10 | ${2:#statements}\n\ 11 | fi\n\ 12 | snippet elif\n\ 13 | elif [[ ${1:condition} ]]; then\n\ 14 | ${2:#statements}\n\ 15 | snippet for\n\ 16 | for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do\n\ 17 | ${3:#statements}\n\ 18 | done\n\ 19 | snippet fori\n\ 20 | for ${1:needle} in ${2:haystack} ; do\n\ 21 | ${3:#statements}\n\ 22 | done\n\ 23 | snippet wh\n\ 24 | while [[ ${1:condition} ]]; do\n\ 25 | ${2:#statements}\n\ 26 | done\n\ 27 | snippet until\n\ 28 | until [[ ${1:condition} ]]; do\n\ 29 | ${2:#statements}\n\ 30 | done\n\ 31 | snippet case\n\ 32 | case ${1:word} in\n\ 33 | ${2:pattern})\n\ 34 | ${3};;\n\ 35 | esac\n\ 36 | snippet go \n\ 37 | while getopts '${1:o}' ${2:opts} \n\ 38 | do \n\ 39 | case $$2 in\n\ 40 | ${3:o0})\n\ 41 | ${4:#staments};;\n\ 42 | esac\n\ 43 | done\n\ 44 | # Set SCRIPT_DIR variable to directory script is located.\n\ 45 | snippet sdir\n\ 46 | SCRIPT_DIR=\"$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )\" && pwd )\"\n\ 47 | # getopt\n\ 48 | snippet getopt\n\ 49 | __ScriptVersion=\"${1:version}\"\n\ 50 | \n\ 51 | #=== FUNCTION ================================================================\n\ 52 | # NAME: usage\n\ 53 | # DESCRIPTION: Display usage information.\n\ 54 | #===============================================================================\n\ 55 | function usage ()\n\ 56 | {\n\ 57 | cat <<- EOT\n\ 58 | \n\ 59 | Usage : $${0:0} [options] [--] \n\ 60 | \n\ 61 | Options: \n\ 62 | -h|help Display this message\n\ 63 | -v|version Display script version\n\ 64 | \n\ 65 | EOT\n\ 66 | } # ---------- end of function usage ----------\n\ 67 | \n\ 68 | #-----------------------------------------------------------------------\n\ 69 | # Handle command line arguments\n\ 70 | #-----------------------------------------------------------------------\n\ 71 | \n\ 72 | while getopts \":hv\" opt\n\ 73 | do\n\ 74 | case $opt in\n\ 75 | \n\ 76 | h|help ) usage; exit 0 ;;\n\ 77 | \n\ 78 | v|version ) echo \"$${0:0} -- Version $__ScriptVersion\"; exit 0 ;;\n\ 79 | \n\ 80 | \\? ) echo -e \"\\n Option does not exist : $OPTARG\\n\"\n\ 81 | usage; exit 1 ;;\n\ 82 | \n\ 83 | esac # --- end of case ---\n\ 84 | done\n\ 85 | shift $(($OPTIND-1))\n\ 86 | \n\ 87 | "; 88 | exports.scope = "sh"; 89 | 90 | }); 91 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/sjs.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/sjs",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "sjs"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/smarty.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/smarty",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "smarty"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/snippets.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/snippets",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# snippets for making snippets :)\n\ 5 | snippet snip\n\ 6 | snippet ${1:trigger}\n\ 7 | ${2}\n\ 8 | snippet msnip\n\ 9 | snippet ${1:trigger} ${2:description}\n\ 10 | ${3}\n\ 11 | snippet v\n\ 12 | {VISUAL}\n\ 13 | "; 14 | exports.scope = "snippets"; 15 | 16 | }); 17 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/soy_template.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/soy_template",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "soy_template"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/space.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/space",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "space"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/sql.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/sql",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet tbl\n\ 5 | create table ${1:table} (\n\ 6 | ${2:columns}\n\ 7 | );\n\ 8 | snippet col\n\ 9 | ${1:name} ${2:type} ${3:default ''} ${4:not null}\n\ 10 | snippet ccol\n\ 11 | ${1:name} varchar2(${2:size}) ${3:default ''} ${4:not null}\n\ 12 | snippet ncol\n\ 13 | ${1:name} number ${3:default 0} ${4:not null}\n\ 14 | snippet dcol\n\ 15 | ${1:name} date ${3:default sysdate} ${4:not null}\n\ 16 | snippet ind\n\ 17 | create index ${3:$1_$2} on ${1:table}(${2:column});\n\ 18 | snippet uind\n\ 19 | create unique index ${1:name} on ${2:table}(${3:column});\n\ 20 | snippet tblcom\n\ 21 | comment on table ${1:table} is '${2:comment}';\n\ 22 | snippet colcom\n\ 23 | comment on column ${1:table}.${2:column} is '${3:comment}';\n\ 24 | snippet addcol\n\ 25 | alter table ${1:table} add (${2:column} ${3:type});\n\ 26 | snippet seq\n\ 27 | create sequence ${1:name} start with ${2:1} increment by ${3:1} minvalue ${4:1};\n\ 28 | snippet s*\n\ 29 | select * from ${1:table}\n\ 30 | "; 31 | exports.scope = "sql"; 32 | 33 | }); 34 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/stylus.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/stylus",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "stylus"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/svg.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/svg",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "svg"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/tcl.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/tcl",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# #!/usr/bin/env tclsh\n\ 5 | snippet #!\n\ 6 | #!/usr/bin/env tclsh\n\ 7 | \n\ 8 | # Process\n\ 9 | snippet pro\n\ 10 | proc ${1:function_name} {${2:args}} {\n\ 11 | ${3:#body ...}\n\ 12 | }\n\ 13 | #xif\n\ 14 | snippet xif\n\ 15 | ${1:expr}? ${2:true} : ${3:false}\n\ 16 | # Conditional\n\ 17 | snippet if\n\ 18 | if {${1}} {\n\ 19 | ${2:# body...}\n\ 20 | }\n\ 21 | # Conditional if..else\n\ 22 | snippet ife\n\ 23 | if {${1}} {\n\ 24 | ${2:# body...}\n\ 25 | } else {\n\ 26 | ${3:# else...}\n\ 27 | }\n\ 28 | # Conditional if..elsif..else\n\ 29 | snippet ifee\n\ 30 | if {${1}} {\n\ 31 | ${2:# body...}\n\ 32 | } elseif {${3}} {\n\ 33 | ${4:# elsif...}\n\ 34 | } else {\n\ 35 | ${5:# else...}\n\ 36 | }\n\ 37 | # If catch then\n\ 38 | snippet ifc\n\ 39 | if { [catch {${1:#do something...}} ${2:err}] } {\n\ 40 | ${3:# handle failure...}\n\ 41 | }\n\ 42 | # Catch\n\ 43 | snippet catch\n\ 44 | catch {${1}} ${2:err} ${3:options}\n\ 45 | # While Loop\n\ 46 | snippet wh\n\ 47 | while {${1}} {\n\ 48 | ${2:# body...}\n\ 49 | }\n\ 50 | # For Loop\n\ 51 | snippet for\n\ 52 | for {set ${2:var} 0} {$$2 < ${1:count}} {${3:incr} $2} {\n\ 53 | ${4:# body...}\n\ 54 | }\n\ 55 | # Foreach Loop\n\ 56 | snippet fore\n\ 57 | foreach ${1:x} {${2:#list}} {\n\ 58 | ${3:# body...}\n\ 59 | }\n\ 60 | # after ms script...\n\ 61 | snippet af\n\ 62 | after ${1:ms} ${2:#do something}\n\ 63 | # after cancel id\n\ 64 | snippet afc\n\ 65 | after cancel ${1:id or script}\n\ 66 | # after idle\n\ 67 | snippet afi\n\ 68 | after idle ${1:script}\n\ 69 | # after info id\n\ 70 | snippet afin\n\ 71 | after info ${1:id}\n\ 72 | # Expr\n\ 73 | snippet exp\n\ 74 | expr {${1:#expression here}}\n\ 75 | # Switch\n\ 76 | snippet sw\n\ 77 | switch ${1:var} {\n\ 78 | ${3:pattern 1} {\n\ 79 | ${4:#do something}\n\ 80 | }\n\ 81 | default {\n\ 82 | ${2:#do something}\n\ 83 | }\n\ 84 | }\n\ 85 | # Case\n\ 86 | snippet ca\n\ 87 | ${1:pattern} {\n\ 88 | ${2:#do something}\n\ 89 | }${3}\n\ 90 | # Namespace eval\n\ 91 | snippet ns\n\ 92 | namespace eval ${1:path} {${2:#script...}}\n\ 93 | # Namespace current\n\ 94 | snippet nsc\n\ 95 | namespace current\n\ 96 | "; 97 | exports.scope = "tcl"; 98 | 99 | }); 100 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/text.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/text",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "text"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/textile.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/textile",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# Jekyll post header\n\ 5 | snippet header\n\ 6 | ---\n\ 7 | title: ${1:title}\n\ 8 | layout: post\n\ 9 | date: ${2:date} ${3:hour:minute:second} -05:00\n\ 10 | ---\n\ 11 | \n\ 12 | # Image\n\ 13 | snippet img\n\ 14 | !${1:url}(${2:title}):${3:link}!\n\ 15 | \n\ 16 | # Table\n\ 17 | snippet |\n\ 18 | |${1}|${2}\n\ 19 | \n\ 20 | # Link\n\ 21 | snippet link\n\ 22 | \"${1:link text}\":${2:url}\n\ 23 | \n\ 24 | # Acronym\n\ 25 | snippet (\n\ 26 | (${1:Expand acronym})${2}\n\ 27 | \n\ 28 | # Footnote\n\ 29 | snippet fn\n\ 30 | [${1:ref number}] ${3}\n\ 31 | \n\ 32 | fn$1. ${2:footnote}\n\ 33 | \n\ 34 | "; 35 | exports.scope = "textile"; 36 | 37 | }); 38 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/toml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/toml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "toml"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/twig.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/twig",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "twig"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/typescript.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/typescript",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "typescript"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/vbscript.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/vbscript",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "vbscript"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/velocity.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/velocity",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# macro\n\ 5 | snippet #macro\n\ 6 | #macro ( ${1:macroName} ${2:\\$var1, [\\$var2, ...]} )\n\ 7 | ${3:## macro code}\n\ 8 | #end\n\ 9 | # foreach\n\ 10 | snippet #foreach\n\ 11 | #foreach ( ${1:\\$item} in ${2:\\$collection} )\n\ 12 | ${3:## foreach code}\n\ 13 | #end\n\ 14 | # if\n\ 15 | snippet #if\n\ 16 | #if ( ${1:true} )\n\ 17 | ${0}\n\ 18 | #end\n\ 19 | # if ... else\n\ 20 | snippet #ife\n\ 21 | #if ( ${1:true} )\n\ 22 | ${2}\n\ 23 | #else\n\ 24 | ${0}\n\ 25 | #end\n\ 26 | #import\n\ 27 | snippet #import\n\ 28 | #import ( \"${1:path/to/velocity/format}\" )\n\ 29 | # set\n\ 30 | snippet #set\n\ 31 | #set ( $${1:var} = ${0} )\n\ 32 | "; 33 | exports.scope = "velocity"; 34 | exports.includeScopes = ["html", "javascript", "css"]; 35 | 36 | }); 37 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/verilog.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/verilog",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "verilog"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/vhdl.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/vhdl",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "vhdl"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/xml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/xml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "xml"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/xquery.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/xquery",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet for\n\ 5 | for $${1:item} in ${2:expr}\n\ 6 | snippet return\n\ 7 | return ${1:expr}\n\ 8 | snippet import\n\ 9 | import module namespace ${1:ns} = \"${2:http://www.example.com/}\";\n\ 10 | snippet some\n\ 11 | some $${1:varname} in ${2:expr} satisfies ${3:expr}\n\ 12 | snippet every\n\ 13 | every $${1:varname} in ${2:expr} satisfies ${3:expr}\n\ 14 | snippet if\n\ 15 | if(${1:true}) then ${2:expr} else ${3:true}\n\ 16 | snippet switch\n\ 17 | switch(${1:\"foo\"})\n\ 18 | case ${2:\"foo\"}\n\ 19 | return ${3:true}\n\ 20 | default return ${4:false}\n\ 21 | snippet try\n\ 22 | try { ${1:expr} } catch ${2:*} { ${3:expr} }\n\ 23 | snippet tumbling\n\ 24 | for tumbling window $${1:varname} in ${2:expr}\n\ 25 | start at $${3:start} when ${4:expr}\n\ 26 | end at $${5:end} when ${6:expr}\n\ 27 | return ${7:expr}\n\ 28 | snippet sliding\n\ 29 | for sliding window $${1:varname} in ${2:expr}\n\ 30 | start at $${3:start} when ${4:expr}\n\ 31 | end at $${5:end} when ${6:expr}\n\ 32 | return ${7:expr}\n\ 33 | snippet let\n\ 34 | let $${1:varname} := ${2:expr}\n\ 35 | snippet group\n\ 36 | group by $${1:varname} := ${2:expr}\n\ 37 | snippet order\n\ 38 | order by ${1:expr} ${2:descending}\n\ 39 | snippet stable\n\ 40 | stable order by ${1:expr}\n\ 41 | snippet count\n\ 42 | count $${1:varname}\n\ 43 | snippet ordered\n\ 44 | ordered { ${1:expr} }\n\ 45 | snippet unordered\n\ 46 | unordered { ${1:expr} }\n\ 47 | snippet treat \n\ 48 | treat as ${1:expr}\n\ 49 | snippet castable\n\ 50 | castable as ${1:atomicType}\n\ 51 | snippet cast\n\ 52 | cast as ${1:atomicType}\n\ 53 | snippet typeswitch\n\ 54 | typeswitch(${1:expr})\n\ 55 | case ${2:type} return ${3:expr}\n\ 56 | default return ${4:expr}\n\ 57 | snippet var\n\ 58 | declare variable $${1:varname} := ${2:expr};\n\ 59 | snippet fn\n\ 60 | declare function ${1:ns}:${2:name}(){\n\ 61 | ${3:expr}\n\ 62 | };\n\ 63 | snippet module\n\ 64 | module namespace ${1:ns} = \"${2:http://www.example.com}\";\n\ 65 | "; 66 | exports.scope = "xquery"; 67 | 68 | }); 69 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/snippets/yaml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/yaml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "yaml"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-chrome.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/chrome",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = false; 4 | exports.cssClass = "ace-chrome"; 5 | exports.cssText = ".ace-chrome .ace_gutter {\ 6 | background: #ebebeb;\ 7 | color: #333;\ 8 | overflow : hidden;\ 9 | }\ 10 | .ace-chrome .ace_print-margin {\ 11 | width: 1px;\ 12 | background: #e8e8e8;\ 13 | }\ 14 | .ace-chrome {\ 15 | background-color: #FFFFFF;\ 16 | color: black;\ 17 | }\ 18 | .ace-chrome .ace_cursor {\ 19 | color: black;\ 20 | }\ 21 | .ace-chrome .ace_invisible {\ 22 | color: rgb(191, 191, 191);\ 23 | }\ 24 | .ace-chrome .ace_constant.ace_buildin {\ 25 | color: rgb(88, 72, 246);\ 26 | }\ 27 | .ace-chrome .ace_constant.ace_language {\ 28 | color: rgb(88, 92, 246);\ 29 | }\ 30 | .ace-chrome .ace_constant.ace_library {\ 31 | color: rgb(6, 150, 14);\ 32 | }\ 33 | .ace-chrome .ace_invalid {\ 34 | background-color: rgb(153, 0, 0);\ 35 | color: white;\ 36 | }\ 37 | .ace-chrome .ace_fold {\ 38 | }\ 39 | .ace-chrome .ace_support.ace_function {\ 40 | color: rgb(60, 76, 114);\ 41 | }\ 42 | .ace-chrome .ace_support.ace_constant {\ 43 | color: rgb(6, 150, 14);\ 44 | }\ 45 | .ace-chrome .ace_support.ace_type,\ 46 | .ace-chrome .ace_support.ace_class\ 47 | .ace-chrome .ace_support.ace_other {\ 48 | color: rgb(109, 121, 222);\ 49 | }\ 50 | .ace-chrome .ace_variable.ace_parameter {\ 51 | font-style:italic;\ 52 | color:#FD971F;\ 53 | }\ 54 | .ace-chrome .ace_keyword.ace_operator {\ 55 | color: rgb(104, 118, 135);\ 56 | }\ 57 | .ace-chrome .ace_comment {\ 58 | color: #236e24;\ 59 | }\ 60 | .ace-chrome .ace_comment.ace_doc {\ 61 | color: #236e24;\ 62 | }\ 63 | .ace-chrome .ace_comment.ace_doc.ace_tag {\ 64 | color: #236e24;\ 65 | }\ 66 | .ace-chrome .ace_constant.ace_numeric {\ 67 | color: rgb(0, 0, 205);\ 68 | }\ 69 | .ace-chrome .ace_variable {\ 70 | color: rgb(49, 132, 149);\ 71 | }\ 72 | .ace-chrome .ace_xml-pe {\ 73 | color: rgb(104, 104, 91);\ 74 | }\ 75 | .ace-chrome .ace_entity.ace_name.ace_function {\ 76 | color: #0000A2;\ 77 | }\ 78 | .ace-chrome .ace_heading {\ 79 | color: rgb(12, 7, 255);\ 80 | }\ 81 | .ace-chrome .ace_list {\ 82 | color:rgb(185, 6, 144);\ 83 | }\ 84 | .ace-chrome .ace_marker-layer .ace_selection {\ 85 | background: rgb(181, 213, 255);\ 86 | }\ 87 | .ace-chrome .ace_marker-layer .ace_step {\ 88 | background: rgb(252, 255, 0);\ 89 | }\ 90 | .ace-chrome .ace_marker-layer .ace_stack {\ 91 | background: rgb(164, 229, 101);\ 92 | }\ 93 | .ace-chrome .ace_marker-layer .ace_bracket {\ 94 | margin: -1px 0 0 -1px;\ 95 | border: 1px solid rgb(192, 192, 192);\ 96 | }\ 97 | .ace-chrome .ace_marker-layer .ace_active-line {\ 98 | background: rgba(0, 0, 0, 0.07);\ 99 | }\ 100 | .ace-chrome .ace_gutter-active-line {\ 101 | background-color : #dcdcdc;\ 102 | }\ 103 | .ace-chrome .ace_marker-layer .ace_selected-word {\ 104 | background: rgb(250, 250, 255);\ 105 | border: 1px solid rgb(200, 200, 250);\ 106 | }\ 107 | .ace-chrome .ace_storage,\ 108 | .ace-chrome .ace_keyword,\ 109 | .ace-chrome .ace_meta.ace_tag {\ 110 | color: rgb(147, 15, 128);\ 111 | }\ 112 | .ace-chrome .ace_string.ace_regex {\ 113 | color: rgb(255, 0, 0)\ 114 | }\ 115 | .ace-chrome .ace_string {\ 116 | color: #1A1AA6;\ 117 | }\ 118 | .ace-chrome .ace_entity.ace_other.ace_attribute-name {\ 119 | color: #994409;\ 120 | }\ 121 | .ace-chrome .ace_indent-guide {\ 122 | background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\ 123 | }\ 124 | "; 125 | 126 | var dom = require("../lib/dom"); 127 | dom.importCssString(exports.cssText, exports.cssClass); 128 | }); 129 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-clouds.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/clouds",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = false; 4 | exports.cssClass = "ace-clouds"; 5 | exports.cssText = ".ace-clouds .ace_gutter {\ 6 | background: #ebebeb;\ 7 | color: #333\ 8 | }\ 9 | .ace-clouds .ace_print-margin {\ 10 | width: 1px;\ 11 | background: #e8e8e8\ 12 | }\ 13 | .ace-clouds {\ 14 | background-color: #FFFFFF;\ 15 | color: #000000\ 16 | }\ 17 | .ace-clouds .ace_cursor {\ 18 | color: #000000\ 19 | }\ 20 | .ace-clouds .ace_marker-layer .ace_selection {\ 21 | background: #BDD5FC\ 22 | }\ 23 | .ace-clouds.ace_multiselect .ace_selection.ace_start {\ 24 | box-shadow: 0 0 3px 0px #FFFFFF;\ 25 | border-radius: 2px\ 26 | }\ 27 | .ace-clouds .ace_marker-layer .ace_step {\ 28 | background: rgb(255, 255, 0)\ 29 | }\ 30 | .ace-clouds .ace_marker-layer .ace_bracket {\ 31 | margin: -1px 0 0 -1px;\ 32 | border: 1px solid #BFBFBF\ 33 | }\ 34 | .ace-clouds .ace_marker-layer .ace_active-line {\ 35 | background: #FFFBD1\ 36 | }\ 37 | .ace-clouds .ace_gutter-active-line {\ 38 | background-color : #dcdcdc\ 39 | }\ 40 | .ace-clouds .ace_marker-layer .ace_selected-word {\ 41 | border: 1px solid #BDD5FC\ 42 | }\ 43 | .ace-clouds .ace_invisible {\ 44 | color: #BFBFBF\ 45 | }\ 46 | .ace-clouds .ace_keyword,\ 47 | .ace-clouds .ace_meta,\ 48 | .ace-clouds .ace_support.ace_constant.ace_property-value {\ 49 | color: #AF956F\ 50 | }\ 51 | .ace-clouds .ace_keyword.ace_operator {\ 52 | color: #484848\ 53 | }\ 54 | .ace-clouds .ace_keyword.ace_other.ace_unit {\ 55 | color: #96DC5F\ 56 | }\ 57 | .ace-clouds .ace_constant.ace_language {\ 58 | color: #39946A\ 59 | }\ 60 | .ace-clouds .ace_constant.ace_numeric {\ 61 | color: #46A609\ 62 | }\ 63 | .ace-clouds .ace_constant.ace_character.ace_entity {\ 64 | color: #BF78CC\ 65 | }\ 66 | .ace-clouds .ace_invalid {\ 67 | background-color: #FF002A\ 68 | }\ 69 | .ace-clouds .ace_fold {\ 70 | background-color: #AF956F;\ 71 | border-color: #000000\ 72 | }\ 73 | .ace-clouds .ace_storage,\ 74 | .ace-clouds .ace_support.ace_class,\ 75 | .ace-clouds .ace_support.ace_function,\ 76 | .ace-clouds .ace_support.ace_other,\ 77 | .ace-clouds .ace_support.ace_type {\ 78 | color: #C52727\ 79 | }\ 80 | .ace-clouds .ace_string {\ 81 | color: #5D90CD\ 82 | }\ 83 | .ace-clouds .ace_comment {\ 84 | color: #BCC8BA\ 85 | }\ 86 | .ace-clouds .ace_entity.ace_name.ace_tag,\ 87 | .ace-clouds .ace_entity.ace_other.ace_attribute-name {\ 88 | color: #606060\ 89 | }\ 90 | .ace-clouds .ace_indent-guide {\ 91 | background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y\ 92 | }"; 93 | 94 | var dom = require("../lib/dom"); 95 | dom.importCssString(exports.cssText, exports.cssClass); 96 | }); 97 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-clouds_midnight.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/clouds_midnight",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = true; 4 | exports.cssClass = "ace-clouds-midnight"; 5 | exports.cssText = ".ace-clouds-midnight .ace_gutter {\ 6 | background: #232323;\ 7 | color: #929292\ 8 | }\ 9 | .ace-clouds-midnight .ace_print-margin {\ 10 | width: 1px;\ 11 | background: #232323\ 12 | }\ 13 | .ace-clouds-midnight {\ 14 | background-color: #191919;\ 15 | color: #929292\ 16 | }\ 17 | .ace-clouds-midnight .ace_cursor {\ 18 | color: #7DA5DC\ 19 | }\ 20 | .ace-clouds-midnight .ace_marker-layer .ace_selection {\ 21 | background: #000000\ 22 | }\ 23 | .ace-clouds-midnight.ace_multiselect .ace_selection.ace_start {\ 24 | box-shadow: 0 0 3px 0px #191919;\ 25 | border-radius: 2px\ 26 | }\ 27 | .ace-clouds-midnight .ace_marker-layer .ace_step {\ 28 | background: rgb(102, 82, 0)\ 29 | }\ 30 | .ace-clouds-midnight .ace_marker-layer .ace_bracket {\ 31 | margin: -1px 0 0 -1px;\ 32 | border: 1px solid #BFBFBF\ 33 | }\ 34 | .ace-clouds-midnight .ace_marker-layer .ace_active-line {\ 35 | background: rgba(215, 215, 215, 0.031)\ 36 | }\ 37 | .ace-clouds-midnight .ace_gutter-active-line {\ 38 | background-color: rgba(215, 215, 215, 0.031)\ 39 | }\ 40 | .ace-clouds-midnight .ace_marker-layer .ace_selected-word {\ 41 | border: 1px solid #000000\ 42 | }\ 43 | .ace-clouds-midnight .ace_invisible {\ 44 | color: #BFBFBF\ 45 | }\ 46 | .ace-clouds-midnight .ace_keyword,\ 47 | .ace-clouds-midnight .ace_meta,\ 48 | .ace-clouds-midnight .ace_support.ace_constant.ace_property-value {\ 49 | color: #927C5D\ 50 | }\ 51 | .ace-clouds-midnight .ace_keyword.ace_operator {\ 52 | color: #4B4B4B\ 53 | }\ 54 | .ace-clouds-midnight .ace_keyword.ace_other.ace_unit {\ 55 | color: #366F1A\ 56 | }\ 57 | .ace-clouds-midnight .ace_constant.ace_language {\ 58 | color: #39946A\ 59 | }\ 60 | .ace-clouds-midnight .ace_constant.ace_numeric {\ 61 | color: #46A609\ 62 | }\ 63 | .ace-clouds-midnight .ace_constant.ace_character.ace_entity {\ 64 | color: #A165AC\ 65 | }\ 66 | .ace-clouds-midnight .ace_invalid {\ 67 | color: #FFFFFF;\ 68 | background-color: #E92E2E\ 69 | }\ 70 | .ace-clouds-midnight .ace_fold {\ 71 | background-color: #927C5D;\ 72 | border-color: #929292\ 73 | }\ 74 | .ace-clouds-midnight .ace_storage,\ 75 | .ace-clouds-midnight .ace_support.ace_class,\ 76 | .ace-clouds-midnight .ace_support.ace_function,\ 77 | .ace-clouds-midnight .ace_support.ace_other,\ 78 | .ace-clouds-midnight .ace_support.ace_type {\ 79 | color: #E92E2E\ 80 | }\ 81 | .ace-clouds-midnight .ace_string {\ 82 | color: #5D90CD\ 83 | }\ 84 | .ace-clouds-midnight .ace_comment {\ 85 | color: #3C403B\ 86 | }\ 87 | .ace-clouds-midnight .ace_entity.ace_name.ace_tag,\ 88 | .ace-clouds-midnight .ace_entity.ace_other.ace_attribute-name {\ 89 | color: #606060\ 90 | }\ 91 | .ace-clouds-midnight .ace_indent-guide {\ 92 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y\ 93 | }"; 94 | 95 | var dom = require("../lib/dom"); 96 | dom.importCssString(exports.cssText, exports.cssClass); 97 | }); 98 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-cobalt.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/cobalt",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = true; 4 | exports.cssClass = "ace-cobalt"; 5 | exports.cssText = ".ace-cobalt .ace_gutter {\ 6 | background: #011e3a;\ 7 | color: rgb(128,145,160)\ 8 | }\ 9 | .ace-cobalt .ace_print-margin {\ 10 | width: 1px;\ 11 | background: #011e3a\ 12 | }\ 13 | .ace-cobalt {\ 14 | background-color: #002240;\ 15 | color: #FFFFFF\ 16 | }\ 17 | .ace-cobalt .ace_cursor {\ 18 | color: #FFFFFF\ 19 | }\ 20 | .ace-cobalt .ace_marker-layer .ace_selection {\ 21 | background: rgba(179, 101, 57, 0.75)\ 22 | }\ 23 | .ace-cobalt.ace_multiselect .ace_selection.ace_start {\ 24 | box-shadow: 0 0 3px 0px #002240;\ 25 | border-radius: 2px\ 26 | }\ 27 | .ace-cobalt .ace_marker-layer .ace_step {\ 28 | background: rgb(127, 111, 19)\ 29 | }\ 30 | .ace-cobalt .ace_marker-layer .ace_bracket {\ 31 | margin: -1px 0 0 -1px;\ 32 | border: 1px solid rgba(255, 255, 255, 0.15)\ 33 | }\ 34 | .ace-cobalt .ace_marker-layer .ace_active-line {\ 35 | background: rgba(0, 0, 0, 0.35)\ 36 | }\ 37 | .ace-cobalt .ace_gutter-active-line {\ 38 | background-color: rgba(0, 0, 0, 0.35)\ 39 | }\ 40 | .ace-cobalt .ace_marker-layer .ace_selected-word {\ 41 | border: 1px solid rgba(179, 101, 57, 0.75)\ 42 | }\ 43 | .ace-cobalt .ace_invisible {\ 44 | color: rgba(255, 255, 255, 0.15)\ 45 | }\ 46 | .ace-cobalt .ace_keyword,\ 47 | .ace-cobalt .ace_meta {\ 48 | color: #FF9D00\ 49 | }\ 50 | .ace-cobalt .ace_constant,\ 51 | .ace-cobalt .ace_constant.ace_character,\ 52 | .ace-cobalt .ace_constant.ace_character.ace_escape,\ 53 | .ace-cobalt .ace_constant.ace_other {\ 54 | color: #FF628C\ 55 | }\ 56 | .ace-cobalt .ace_invalid {\ 57 | color: #F8F8F8;\ 58 | background-color: #800F00\ 59 | }\ 60 | .ace-cobalt .ace_support {\ 61 | color: #80FFBB\ 62 | }\ 63 | .ace-cobalt .ace_support.ace_constant {\ 64 | color: #EB939A\ 65 | }\ 66 | .ace-cobalt .ace_fold {\ 67 | background-color: #FF9D00;\ 68 | border-color: #FFFFFF\ 69 | }\ 70 | .ace-cobalt .ace_support.ace_function {\ 71 | color: #FFB054\ 72 | }\ 73 | .ace-cobalt .ace_storage {\ 74 | color: #FFEE80\ 75 | }\ 76 | .ace-cobalt .ace_entity {\ 77 | color: #FFDD00\ 78 | }\ 79 | .ace-cobalt .ace_string {\ 80 | color: #3AD900\ 81 | }\ 82 | .ace-cobalt .ace_string.ace_regexp {\ 83 | color: #80FFC2\ 84 | }\ 85 | .ace-cobalt .ace_comment {\ 86 | font-style: italic;\ 87 | color: #0088FF\ 88 | }\ 89 | .ace-cobalt .ace_heading,\ 90 | .ace-cobalt .ace_markup.ace_heading {\ 91 | color: #C8E4FD;\ 92 | background-color: #001221\ 93 | }\ 94 | .ace-cobalt .ace_list,\ 95 | .ace-cobalt .ace_markup.ace_list {\ 96 | background-color: #130D26\ 97 | }\ 98 | .ace-cobalt .ace_variable {\ 99 | color: #CCCCCC\ 100 | }\ 101 | .ace-cobalt .ace_variable.ace_language {\ 102 | color: #FF80E1\ 103 | }\ 104 | .ace-cobalt .ace_meta.ace_tag {\ 105 | color: #9EFFFF\ 106 | }\ 107 | .ace-cobalt .ace_indent-guide {\ 108 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHCLSvkPAAP3AgSDTRd4AAAAAElFTkSuQmCC) right repeat-y\ 109 | }"; 110 | 111 | var dom = require("../lib/dom"); 112 | dom.importCssString(exports.cssText, exports.cssClass); 113 | }); 114 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-dawn.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/dawn",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = false; 4 | exports.cssClass = "ace-dawn"; 5 | exports.cssText = ".ace-dawn .ace_gutter {\ 6 | background: #ebebeb;\ 7 | color: #333\ 8 | }\ 9 | .ace-dawn .ace_print-margin {\ 10 | width: 1px;\ 11 | background: #e8e8e8\ 12 | }\ 13 | .ace-dawn {\ 14 | background-color: #F9F9F9;\ 15 | color: #080808\ 16 | }\ 17 | .ace-dawn .ace_cursor {\ 18 | color: #000000\ 19 | }\ 20 | .ace-dawn .ace_marker-layer .ace_selection {\ 21 | background: rgba(39, 95, 255, 0.30)\ 22 | }\ 23 | .ace-dawn.ace_multiselect .ace_selection.ace_start {\ 24 | box-shadow: 0 0 3px 0px #F9F9F9;\ 25 | border-radius: 2px\ 26 | }\ 27 | .ace-dawn .ace_marker-layer .ace_step {\ 28 | background: rgb(255, 255, 0)\ 29 | }\ 30 | .ace-dawn .ace_marker-layer .ace_bracket {\ 31 | margin: -1px 0 0 -1px;\ 32 | border: 1px solid rgba(75, 75, 126, 0.50)\ 33 | }\ 34 | .ace-dawn .ace_marker-layer .ace_active-line {\ 35 | background: rgba(36, 99, 180, 0.12)\ 36 | }\ 37 | .ace-dawn .ace_gutter-active-line {\ 38 | background-color : #dcdcdc\ 39 | }\ 40 | .ace-dawn .ace_marker-layer .ace_selected-word {\ 41 | border: 1px solid rgba(39, 95, 255, 0.30)\ 42 | }\ 43 | .ace-dawn .ace_invisible {\ 44 | color: rgba(75, 75, 126, 0.50)\ 45 | }\ 46 | .ace-dawn .ace_keyword,\ 47 | .ace-dawn .ace_meta {\ 48 | color: #794938\ 49 | }\ 50 | .ace-dawn .ace_constant,\ 51 | .ace-dawn .ace_constant.ace_character,\ 52 | .ace-dawn .ace_constant.ace_character.ace_escape,\ 53 | .ace-dawn .ace_constant.ace_other {\ 54 | color: #811F24\ 55 | }\ 56 | .ace-dawn .ace_invalid.ace_illegal {\ 57 | text-decoration: underline;\ 58 | font-style: italic;\ 59 | color: #F8F8F8;\ 60 | background-color: #B52A1D\ 61 | }\ 62 | .ace-dawn .ace_invalid.ace_deprecated {\ 63 | text-decoration: underline;\ 64 | font-style: italic;\ 65 | color: #B52A1D\ 66 | }\ 67 | .ace-dawn .ace_support {\ 68 | color: #691C97\ 69 | }\ 70 | .ace-dawn .ace_support.ace_constant {\ 71 | color: #B4371F\ 72 | }\ 73 | .ace-dawn .ace_fold {\ 74 | background-color: #794938;\ 75 | border-color: #080808\ 76 | }\ 77 | .ace-dawn .ace_list,\ 78 | .ace-dawn .ace_markup.ace_list,\ 79 | .ace-dawn .ace_support.ace_function {\ 80 | color: #693A17\ 81 | }\ 82 | .ace-dawn .ace_storage {\ 83 | font-style: italic;\ 84 | color: #A71D5D\ 85 | }\ 86 | .ace-dawn .ace_string {\ 87 | color: #0B6125\ 88 | }\ 89 | .ace-dawn .ace_string.ace_regexp {\ 90 | color: #CF5628\ 91 | }\ 92 | .ace-dawn .ace_comment {\ 93 | font-style: italic;\ 94 | color: #5A525F\ 95 | }\ 96 | .ace-dawn .ace_heading,\ 97 | .ace-dawn .ace_markup.ace_heading {\ 98 | color: #19356D\ 99 | }\ 100 | .ace-dawn .ace_variable {\ 101 | color: #234A97\ 102 | }\ 103 | .ace-dawn .ace_indent-guide {\ 104 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLh/5+x/AAizA4hxNNsZAAAAAElFTkSuQmCC) right repeat-y\ 105 | }"; 106 | 107 | var dom = require("../lib/dom"); 108 | dom.importCssString(exports.cssText, exports.cssClass); 109 | }); 110 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-eclipse.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/eclipse",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.isDark = false; 5 | exports.cssText = ".ace-eclipse .ace_gutter {\ 6 | background: #ebebeb;\ 7 | border-right: 1px solid rgb(159, 159, 159);\ 8 | color: rgb(136, 136, 136);\ 9 | }\ 10 | .ace-eclipse .ace_print-margin {\ 11 | width: 1px;\ 12 | background: #ebebeb;\ 13 | }\ 14 | .ace-eclipse {\ 15 | background-color: #FFFFFF;\ 16 | color: black;\ 17 | }\ 18 | .ace-eclipse .ace_fold {\ 19 | background-color: rgb(60, 76, 114);\ 20 | }\ 21 | .ace-eclipse .ace_cursor {\ 22 | color: black;\ 23 | }\ 24 | .ace-eclipse .ace_storage,\ 25 | .ace-eclipse .ace_keyword,\ 26 | .ace-eclipse .ace_variable {\ 27 | color: rgb(127, 0, 85);\ 28 | }\ 29 | .ace-eclipse .ace_constant.ace_buildin {\ 30 | color: rgb(88, 72, 246);\ 31 | }\ 32 | .ace-eclipse .ace_constant.ace_library {\ 33 | color: rgb(6, 150, 14);\ 34 | }\ 35 | .ace-eclipse .ace_function {\ 36 | color: rgb(60, 76, 114);\ 37 | }\ 38 | .ace-eclipse .ace_string {\ 39 | color: rgb(42, 0, 255);\ 40 | }\ 41 | .ace-eclipse .ace_comment {\ 42 | color: rgb(113, 150, 130);\ 43 | }\ 44 | .ace-eclipse .ace_comment.ace_doc {\ 45 | color: rgb(63, 95, 191);\ 46 | }\ 47 | .ace-eclipse .ace_comment.ace_doc.ace_tag {\ 48 | color: rgb(127, 159, 191);\ 49 | }\ 50 | .ace-eclipse .ace_constant.ace_numeric {\ 51 | color: darkblue;\ 52 | }\ 53 | .ace-eclipse .ace_tag {\ 54 | color: rgb(25, 118, 116);\ 55 | }\ 56 | .ace-eclipse .ace_type {\ 57 | color: rgb(127, 0, 127);\ 58 | }\ 59 | .ace-eclipse .ace_xml-pe {\ 60 | color: rgb(104, 104, 91);\ 61 | }\ 62 | .ace-eclipse .ace_marker-layer .ace_selection {\ 63 | background: rgb(181, 213, 255);\ 64 | }\ 65 | .ace-eclipse .ace_marker-layer .ace_bracket {\ 66 | margin: -1px 0 0 -1px;\ 67 | border: 1px solid rgb(192, 192, 192);\ 68 | }\ 69 | .ace-eclipse .ace_meta.ace_tag {\ 70 | color:rgb(25, 118, 116);\ 71 | }\ 72 | .ace-eclipse .ace_invisible {\ 73 | color: #ddd;\ 74 | }\ 75 | .ace-eclipse .ace_entity.ace_other.ace_attribute-name {\ 76 | color:rgb(127, 0, 127);\ 77 | }\ 78 | .ace-eclipse .ace_marker-layer .ace_step {\ 79 | background: rgb(255, 255, 0);\ 80 | }\ 81 | .ace-eclipse .ace_active-line {\ 82 | background: rgb(232, 242, 254);\ 83 | }\ 84 | .ace-eclipse .ace_gutter-active-line {\ 85 | background-color : #DADADA;\ 86 | }\ 87 | .ace-eclipse .ace_marker-layer .ace_selected-word {\ 88 | border: 1px solid rgb(181, 213, 255);\ 89 | }\ 90 | .ace-eclipse .ace_indent-guide {\ 91 | background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\ 92 | }"; 93 | 94 | exports.cssClass = "ace-eclipse"; 95 | 96 | var dom = require("../lib/dom"); 97 | dom.importCssString(exports.cssText, exports.cssClass); 98 | }); 99 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-github.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/github",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = false; 4 | exports.cssClass = "ace-github"; 5 | exports.cssText = "\ 6 | .ace-github .ace_gutter {\ 7 | background: #e8e8e8;\ 8 | color: #AAA;\ 9 | }\ 10 | .ace-github {\ 11 | background: #fff;\ 12 | color: #000;\ 13 | }\ 14 | .ace-github .ace_keyword {\ 15 | font-weight: bold;\ 16 | }\ 17 | .ace-github .ace_string {\ 18 | color: #D14;\ 19 | }\ 20 | .ace-github .ace_variable.ace_class {\ 21 | color: teal;\ 22 | }\ 23 | .ace-github .ace_constant.ace_numeric {\ 24 | color: #099;\ 25 | }\ 26 | .ace-github .ace_constant.ace_buildin {\ 27 | color: #0086B3;\ 28 | }\ 29 | .ace-github .ace_support.ace_function {\ 30 | color: #0086B3;\ 31 | }\ 32 | .ace-github .ace_comment {\ 33 | color: #998;\ 34 | font-style: italic;\ 35 | }\ 36 | .ace-github .ace_variable.ace_language {\ 37 | color: #0086B3;\ 38 | }\ 39 | .ace-github .ace_paren {\ 40 | font-weight: bold;\ 41 | }\ 42 | .ace-github .ace_boolean {\ 43 | font-weight: bold;\ 44 | }\ 45 | .ace-github .ace_string.ace_regexp {\ 46 | color: #009926;\ 47 | font-weight: normal;\ 48 | }\ 49 | .ace-github .ace_variable.ace_instance {\ 50 | color: teal;\ 51 | }\ 52 | .ace-github .ace_constant.ace_language {\ 53 | font-weight: bold;\ 54 | }\ 55 | .ace-github .ace_cursor {\ 56 | color: black;\ 57 | }\ 58 | .ace-github .ace_marker-layer .ace_active-line {\ 59 | background: rgb(255, 255, 204);\ 60 | }\ 61 | .ace-github .ace_marker-layer .ace_selection {\ 62 | background: rgb(181, 213, 255);\ 63 | }\ 64 | .ace-github.ace_multiselect .ace_selection.ace_start {\ 65 | box-shadow: 0 0 3px 0px white;\ 66 | border-radius: 2px;\ 67 | }\ 68 | .ace-github.ace_nobold .ace_line > span {\ 69 | font-weight: normal !important;\ 70 | }\ 71 | .ace-github .ace_marker-layer .ace_step {\ 72 | background: rgb(252, 255, 0);\ 73 | }\ 74 | .ace-github .ace_marker-layer .ace_stack {\ 75 | background: rgb(164, 229, 101);\ 76 | }\ 77 | .ace-github .ace_marker-layer .ace_bracket {\ 78 | margin: -1px 0 0 -1px;\ 79 | border: 1px solid rgb(192, 192, 192);\ 80 | }\ 81 | .ace-github .ace_gutter-active-line {\ 82 | background-color : rgba(0, 0, 0, 0.07);\ 83 | }\ 84 | .ace-github .ace_marker-layer .ace_selected-word {\ 85 | background: rgb(250, 250, 255);\ 86 | border: 1px solid rgb(200, 200, 250);\ 87 | }\ 88 | .ace-github .ace_print-margin {\ 89 | width: 1px;\ 90 | background: #e8e8e8;\ 91 | }\ 92 | .ace-github .ace_indent-guide {\ 93 | background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\ 94 | }"; 95 | 96 | var dom = require("../lib/dom"); 97 | dom.importCssString(exports.cssText, exports.cssClass); 98 | }); 99 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-idle_fingers.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/idle_fingers",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = true; 4 | exports.cssClass = "ace-idle-fingers"; 5 | exports.cssText = ".ace-idle-fingers .ace_gutter {\ 6 | background: #3b3b3b;\ 7 | color: rgb(153,153,153)\ 8 | }\ 9 | .ace-idle-fingers .ace_print-margin {\ 10 | width: 1px;\ 11 | background: #3b3b3b\ 12 | }\ 13 | .ace-idle-fingers {\ 14 | background-color: #323232;\ 15 | color: #FFFFFF\ 16 | }\ 17 | .ace-idle-fingers .ace_cursor {\ 18 | color: #91FF00\ 19 | }\ 20 | .ace-idle-fingers .ace_marker-layer .ace_selection {\ 21 | background: rgba(90, 100, 126, 0.88)\ 22 | }\ 23 | .ace-idle-fingers.ace_multiselect .ace_selection.ace_start {\ 24 | box-shadow: 0 0 3px 0px #323232;\ 25 | border-radius: 2px\ 26 | }\ 27 | .ace-idle-fingers .ace_marker-layer .ace_step {\ 28 | background: rgb(102, 82, 0)\ 29 | }\ 30 | .ace-idle-fingers .ace_marker-layer .ace_bracket {\ 31 | margin: -1px 0 0 -1px;\ 32 | border: 1px solid #404040\ 33 | }\ 34 | .ace-idle-fingers .ace_marker-layer .ace_active-line {\ 35 | background: #353637\ 36 | }\ 37 | .ace-idle-fingers .ace_gutter-active-line {\ 38 | background-color: #353637\ 39 | }\ 40 | .ace-idle-fingers .ace_marker-layer .ace_selected-word {\ 41 | border: 1px solid rgba(90, 100, 126, 0.88)\ 42 | }\ 43 | .ace-idle-fingers .ace_invisible {\ 44 | color: #404040\ 45 | }\ 46 | .ace-idle-fingers .ace_keyword,\ 47 | .ace-idle-fingers .ace_meta {\ 48 | color: #CC7833\ 49 | }\ 50 | .ace-idle-fingers .ace_constant,\ 51 | .ace-idle-fingers .ace_constant.ace_character,\ 52 | .ace-idle-fingers .ace_constant.ace_character.ace_escape,\ 53 | .ace-idle-fingers .ace_constant.ace_other,\ 54 | .ace-idle-fingers .ace_support.ace_constant {\ 55 | color: #6C99BB\ 56 | }\ 57 | .ace-idle-fingers .ace_invalid {\ 58 | color: #FFFFFF;\ 59 | background-color: #FF0000\ 60 | }\ 61 | .ace-idle-fingers .ace_fold {\ 62 | background-color: #CC7833;\ 63 | border-color: #FFFFFF\ 64 | }\ 65 | .ace-idle-fingers .ace_support.ace_function {\ 66 | color: #B83426\ 67 | }\ 68 | .ace-idle-fingers .ace_variable.ace_parameter {\ 69 | font-style: italic\ 70 | }\ 71 | .ace-idle-fingers .ace_string {\ 72 | color: #A5C261\ 73 | }\ 74 | .ace-idle-fingers .ace_string.ace_regexp {\ 75 | color: #CCCC33\ 76 | }\ 77 | .ace-idle-fingers .ace_comment {\ 78 | font-style: italic;\ 79 | color: #BC9458\ 80 | }\ 81 | .ace-idle-fingers .ace_meta.ace_tag {\ 82 | color: #FFE5BB\ 83 | }\ 84 | .ace-idle-fingers .ace_entity.ace_name {\ 85 | color: #FFC66D\ 86 | }\ 87 | .ace-idle-fingers .ace_collab.ace_user1 {\ 88 | color: #323232;\ 89 | background-color: #FFF980\ 90 | }\ 91 | .ace-idle-fingers .ace_indent-guide {\ 92 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjLyZYiPj/8PAAreAwAI1+g0AAAAAElFTkSuQmCC) right repeat-y\ 93 | }"; 94 | 95 | var dom = require("../lib/dom"); 96 | dom.importCssString(exports.cssText, exports.cssClass); 97 | }); 98 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-kr_theme.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/kr_theme",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = true; 4 | exports.cssClass = "ace-kr-theme"; 5 | exports.cssText = ".ace-kr-theme .ace_gutter {\ 6 | background: #1c1917;\ 7 | color: #FCFFE0\ 8 | }\ 9 | .ace-kr-theme .ace_print-margin {\ 10 | width: 1px;\ 11 | background: #1c1917\ 12 | }\ 13 | .ace-kr-theme {\ 14 | background-color: #0B0A09;\ 15 | color: #FCFFE0\ 16 | }\ 17 | .ace-kr-theme .ace_cursor {\ 18 | color: #FF9900\ 19 | }\ 20 | .ace-kr-theme .ace_marker-layer .ace_selection {\ 21 | background: rgba(170, 0, 255, 0.45)\ 22 | }\ 23 | .ace-kr-theme.ace_multiselect .ace_selection.ace_start {\ 24 | box-shadow: 0 0 3px 0px #0B0A09;\ 25 | border-radius: 2px\ 26 | }\ 27 | .ace-kr-theme .ace_marker-layer .ace_step {\ 28 | background: rgb(102, 82, 0)\ 29 | }\ 30 | .ace-kr-theme .ace_marker-layer .ace_bracket {\ 31 | margin: -1px 0 0 -1px;\ 32 | border: 1px solid rgba(255, 177, 111, 0.32)\ 33 | }\ 34 | .ace-kr-theme .ace_marker-layer .ace_active-line {\ 35 | background: #38403D\ 36 | }\ 37 | .ace-kr-theme .ace_gutter-active-line {\ 38 | background-color : #38403D\ 39 | }\ 40 | .ace-kr-theme .ace_marker-layer .ace_selected-word {\ 41 | border: 1px solid rgba(170, 0, 255, 0.45)\ 42 | }\ 43 | .ace-kr-theme .ace_invisible {\ 44 | color: rgba(255, 177, 111, 0.32)\ 45 | }\ 46 | .ace-kr-theme .ace_keyword,\ 47 | .ace-kr-theme .ace_meta {\ 48 | color: #949C8B\ 49 | }\ 50 | .ace-kr-theme .ace_constant,\ 51 | .ace-kr-theme .ace_constant.ace_character,\ 52 | .ace-kr-theme .ace_constant.ace_character.ace_escape,\ 53 | .ace-kr-theme .ace_constant.ace_other {\ 54 | color: rgba(210, 117, 24, 0.76)\ 55 | }\ 56 | .ace-kr-theme .ace_invalid {\ 57 | color: #F8F8F8;\ 58 | background-color: #A41300\ 59 | }\ 60 | .ace-kr-theme .ace_support {\ 61 | color: #9FC28A\ 62 | }\ 63 | .ace-kr-theme .ace_support.ace_constant {\ 64 | color: #C27E66\ 65 | }\ 66 | .ace-kr-theme .ace_fold {\ 67 | background-color: #949C8B;\ 68 | border-color: #FCFFE0\ 69 | }\ 70 | .ace-kr-theme .ace_support.ace_function {\ 71 | color: #85873A\ 72 | }\ 73 | .ace-kr-theme .ace_storage {\ 74 | color: #FFEE80\ 75 | }\ 76 | .ace-kr-theme .ace_string {\ 77 | color: rgba(164, 161, 181, 0.8)\ 78 | }\ 79 | .ace-kr-theme .ace_string.ace_regexp {\ 80 | color: rgba(125, 255, 192, 0.65)\ 81 | }\ 82 | .ace-kr-theme .ace_comment {\ 83 | font-style: italic;\ 84 | color: #706D5B\ 85 | }\ 86 | .ace-kr-theme .ace_variable {\ 87 | color: #D1A796\ 88 | }\ 89 | .ace-kr-theme .ace_list,\ 90 | .ace-kr-theme .ace_markup.ace_list {\ 91 | background-color: #0F0040\ 92 | }\ 93 | .ace-kr-theme .ace_variable.ace_language {\ 94 | color: #FF80E1\ 95 | }\ 96 | .ace-kr-theme .ace_meta.ace_tag {\ 97 | color: #BABD9C\ 98 | }\ 99 | .ace-kr-theme .ace_indent-guide {\ 100 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC) right repeat-y\ 101 | }"; 102 | 103 | var dom = require("../lib/dom"); 104 | dom.importCssString(exports.cssText, exports.cssClass); 105 | }); 106 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-kuroir.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/kuroir",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = false; 4 | exports.cssClass = "ace-kuroir"; 5 | exports.cssText = "\ 6 | .ace-kuroir .ace_gutter {\ 7 | background: #e8e8e8;\ 8 | color: #333;\ 9 | }\ 10 | .ace-kuroir .ace_print-margin {\ 11 | width: 1px;\ 12 | background: #e8e8e8;\ 13 | }\ 14 | .ace-kuroir {\ 15 | background-color: #E8E9E8;\ 16 | color: #363636;\ 17 | }\ 18 | .ace-kuroir .ace_cursor {\ 19 | color: #202020;\ 20 | }\ 21 | .ace-kuroir .ace_marker-layer .ace_selection {\ 22 | background: rgba(245, 170, 0, 0.57);\ 23 | }\ 24 | .ace-kuroir.ace_multiselect .ace_selection.ace_start {\ 25 | box-shadow: 0 0 3px 0px #E8E9E8;\ 26 | border-radius: 2px;\ 27 | }\ 28 | .ace-kuroir .ace_marker-layer .ace_step {\ 29 | background: rgb(198, 219, 174);\ 30 | }\ 31 | .ace-kuroir .ace_marker-layer .ace_bracket {\ 32 | margin: -1px 0 0 -1px;\ 33 | border: 1px solid rgba(0, 0, 0, 0.29);\ 34 | }\ 35 | .ace-kuroir .ace_marker-layer .ace_active-line {\ 36 | background: rgba(203, 220, 47, 0.22);\ 37 | }\ 38 | .ace-kuroir .ace_gutter-active-line {\ 39 | background-color: rgba(203, 220, 47, 0.22);\ 40 | }\ 41 | .ace-kuroir .ace_marker-layer .ace_selected-word {\ 42 | border: 1px solid rgba(245, 170, 0, 0.57);\ 43 | }\ 44 | .ace-kuroir .ace_fold {\ 45 | border-color: #363636;\ 46 | }\ 47 | .ace-kuroir .ace_constant{color:#CD6839;}.ace-kuroir .ace_constant.ace_numeric{color:#9A5925;}.ace-kuroir .ace_support{color:#104E8B;}.ace-kuroir .ace_support.ace_function{color:#005273;}.ace-kuroir .ace_support.ace_constant{color:#CF6A4C;}.ace-kuroir .ace_storage{color:#A52A2A;}.ace-kuroir .ace_invalid.ace_illegal{color:#FD1224;\ 48 | background-color:rgba(255, 6, 0, 0.15);}.ace-kuroir .ace_invalid.ace_deprecated{text-decoration:underline;\ 49 | font-style:italic;\ 50 | color:#FD1732;\ 51 | background-color:#E8E9E8;}.ace-kuroir .ace_string{color:#639300;}.ace-kuroir .ace_string.ace_regexp{color:#417E00;\ 52 | background-color:#C9D4BE;}.ace-kuroir .ace_comment{color:rgba(148, 148, 148, 0.91);\ 53 | background-color:rgba(220, 220, 220, 0.56);}.ace-kuroir .ace_variable{color:#009ACD;}.ace-kuroir .ace_meta.ace_tag{color:#005273;}.ace-kuroir .ace_markup.ace_heading{color:#B8012D;\ 54 | background-color:rgba(191, 97, 51, 0.051);}.ace-kuroir .ace_markup.ace_list{color:#8F5B26;}\ 55 | "; 56 | 57 | var dom = require("../lib/dom"); 58 | dom.importCssString(exports.cssText, exports.cssClass); 59 | }); 60 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-merbivore.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/merbivore",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = true; 4 | exports.cssClass = "ace-merbivore"; 5 | exports.cssText = ".ace-merbivore .ace_gutter {\ 6 | background: #202020;\ 7 | color: #E6E1DC\ 8 | }\ 9 | .ace-merbivore .ace_print-margin {\ 10 | width: 1px;\ 11 | background: #555651\ 12 | }\ 13 | .ace-merbivore {\ 14 | background-color: #161616;\ 15 | color: #E6E1DC\ 16 | }\ 17 | .ace-merbivore .ace_cursor {\ 18 | color: #FFFFFF\ 19 | }\ 20 | .ace-merbivore .ace_marker-layer .ace_selection {\ 21 | background: #454545\ 22 | }\ 23 | .ace-merbivore.ace_multiselect .ace_selection.ace_start {\ 24 | box-shadow: 0 0 3px 0px #161616;\ 25 | border-radius: 2px\ 26 | }\ 27 | .ace-merbivore .ace_marker-layer .ace_step {\ 28 | background: rgb(102, 82, 0)\ 29 | }\ 30 | .ace-merbivore .ace_marker-layer .ace_bracket {\ 31 | margin: -1px 0 0 -1px;\ 32 | border: 1px solid #404040\ 33 | }\ 34 | .ace-merbivore .ace_marker-layer .ace_active-line {\ 35 | background: #333435\ 36 | }\ 37 | .ace-merbivore .ace_gutter-active-line {\ 38 | background-color: #333435\ 39 | }\ 40 | .ace-merbivore .ace_marker-layer .ace_selected-word {\ 41 | border: 1px solid #454545\ 42 | }\ 43 | .ace-merbivore .ace_invisible {\ 44 | color: #404040\ 45 | }\ 46 | .ace-merbivore .ace_entity.ace_name.ace_tag,\ 47 | .ace-merbivore .ace_keyword,\ 48 | .ace-merbivore .ace_meta,\ 49 | .ace-merbivore .ace_meta.ace_tag,\ 50 | .ace-merbivore .ace_storage,\ 51 | .ace-merbivore .ace_support.ace_function {\ 52 | color: #FC6F09\ 53 | }\ 54 | .ace-merbivore .ace_constant,\ 55 | .ace-merbivore .ace_constant.ace_character,\ 56 | .ace-merbivore .ace_constant.ace_character.ace_escape,\ 57 | .ace-merbivore .ace_constant.ace_other,\ 58 | .ace-merbivore .ace_support.ace_type {\ 59 | color: #1EDAFB\ 60 | }\ 61 | .ace-merbivore .ace_constant.ace_character.ace_escape {\ 62 | color: #519F50\ 63 | }\ 64 | .ace-merbivore .ace_constant.ace_language {\ 65 | color: #FDC251\ 66 | }\ 67 | .ace-merbivore .ace_constant.ace_library,\ 68 | .ace-merbivore .ace_string,\ 69 | .ace-merbivore .ace_support.ace_constant {\ 70 | color: #8DFF0A\ 71 | }\ 72 | .ace-merbivore .ace_constant.ace_numeric {\ 73 | color: #58C554\ 74 | }\ 75 | .ace-merbivore .ace_invalid {\ 76 | color: #FFFFFF;\ 77 | background-color: #990000\ 78 | }\ 79 | .ace-merbivore .ace_fold {\ 80 | background-color: #FC6F09;\ 81 | border-color: #E6E1DC\ 82 | }\ 83 | .ace-merbivore .ace_comment {\ 84 | font-style: italic;\ 85 | color: #AD2EA4\ 86 | }\ 87 | .ace-merbivore .ace_entity.ace_other.ace_attribute-name {\ 88 | color: #FFFF89\ 89 | }\ 90 | .ace-merbivore .ace_indent-guide {\ 91 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQFxf3ZXB1df0PAAdsAmERTkEHAAAAAElFTkSuQmCC) right repeat-y\ 92 | }"; 93 | 94 | var dom = require("../lib/dom"); 95 | dom.importCssString(exports.cssText, exports.cssClass); 96 | }); 97 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-merbivore_soft.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/merbivore_soft",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = true; 4 | exports.cssClass = "ace-merbivore-soft"; 5 | exports.cssText = ".ace-merbivore-soft .ace_gutter {\ 6 | background: #262424;\ 7 | color: #E6E1DC\ 8 | }\ 9 | .ace-merbivore-soft .ace_print-margin {\ 10 | width: 1px;\ 11 | background: #262424\ 12 | }\ 13 | .ace-merbivore-soft {\ 14 | background-color: #1C1C1C;\ 15 | color: #E6E1DC\ 16 | }\ 17 | .ace-merbivore-soft .ace_cursor {\ 18 | color: #FFFFFF\ 19 | }\ 20 | .ace-merbivore-soft .ace_marker-layer .ace_selection {\ 21 | background: #494949\ 22 | }\ 23 | .ace-merbivore-soft.ace_multiselect .ace_selection.ace_start {\ 24 | box-shadow: 0 0 3px 0px #1C1C1C;\ 25 | border-radius: 2px\ 26 | }\ 27 | .ace-merbivore-soft .ace_marker-layer .ace_step {\ 28 | background: rgb(102, 82, 0)\ 29 | }\ 30 | .ace-merbivore-soft .ace_marker-layer .ace_bracket {\ 31 | margin: -1px 0 0 -1px;\ 32 | border: 1px solid #404040\ 33 | }\ 34 | .ace-merbivore-soft .ace_marker-layer .ace_active-line {\ 35 | background: #333435\ 36 | }\ 37 | .ace-merbivore-soft .ace_gutter-active-line {\ 38 | background-color: #333435\ 39 | }\ 40 | .ace-merbivore-soft .ace_marker-layer .ace_selected-word {\ 41 | border: 1px solid #494949\ 42 | }\ 43 | .ace-merbivore-soft .ace_invisible {\ 44 | color: #404040\ 45 | }\ 46 | .ace-merbivore-soft .ace_entity.ace_name.ace_tag,\ 47 | .ace-merbivore-soft .ace_keyword,\ 48 | .ace-merbivore-soft .ace_meta,\ 49 | .ace-merbivore-soft .ace_meta.ace_tag,\ 50 | .ace-merbivore-soft .ace_storage {\ 51 | color: #FC803A\ 52 | }\ 53 | .ace-merbivore-soft .ace_constant,\ 54 | .ace-merbivore-soft .ace_constant.ace_character,\ 55 | .ace-merbivore-soft .ace_constant.ace_character.ace_escape,\ 56 | .ace-merbivore-soft .ace_constant.ace_other,\ 57 | .ace-merbivore-soft .ace_support.ace_type {\ 58 | color: #68C1D8\ 59 | }\ 60 | .ace-merbivore-soft .ace_constant.ace_character.ace_escape {\ 61 | color: #B3E5B4\ 62 | }\ 63 | .ace-merbivore-soft .ace_constant.ace_language {\ 64 | color: #E1C582\ 65 | }\ 66 | .ace-merbivore-soft .ace_constant.ace_library,\ 67 | .ace-merbivore-soft .ace_string,\ 68 | .ace-merbivore-soft .ace_support.ace_constant {\ 69 | color: #8EC65F\ 70 | }\ 71 | .ace-merbivore-soft .ace_constant.ace_numeric {\ 72 | color: #7FC578\ 73 | }\ 74 | .ace-merbivore-soft .ace_invalid,\ 75 | .ace-merbivore-soft .ace_invalid.ace_deprecated {\ 76 | color: #FFFFFF;\ 77 | background-color: #FE3838\ 78 | }\ 79 | .ace-merbivore-soft .ace_fold {\ 80 | background-color: #FC803A;\ 81 | border-color: #E6E1DC\ 82 | }\ 83 | .ace-merbivore-soft .ace_comment,\ 84 | .ace-merbivore-soft .ace_meta {\ 85 | font-style: italic;\ 86 | color: #AC4BB8\ 87 | }\ 88 | .ace-merbivore-soft .ace_entity.ace_other.ace_attribute-name {\ 89 | color: #EAF1A3\ 90 | }\ 91 | .ace-merbivore-soft .ace_indent-guide {\ 92 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkpLyZfD09PwPAAfYAnaStpHRAAAAAElFTkSuQmCC) right repeat-y\ 93 | }"; 94 | 95 | var dom = require("../lib/dom"); 96 | dom.importCssString(exports.cssText, exports.cssClass); 97 | }); 98 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-mono_industrial.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/mono_industrial",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = true; 4 | exports.cssClass = "ace-mono-industrial"; 5 | exports.cssText = ".ace-mono-industrial .ace_gutter {\ 6 | background: #1d2521;\ 7 | color: #C5C9C9\ 8 | }\ 9 | .ace-mono-industrial .ace_print-margin {\ 10 | width: 1px;\ 11 | background: #555651\ 12 | }\ 13 | .ace-mono-industrial {\ 14 | background-color: #222C28;\ 15 | color: #FFFFFF\ 16 | }\ 17 | .ace-mono-industrial .ace_cursor {\ 18 | color: #FFFFFF\ 19 | }\ 20 | .ace-mono-industrial .ace_marker-layer .ace_selection {\ 21 | background: rgba(145, 153, 148, 0.40)\ 22 | }\ 23 | .ace-mono-industrial.ace_multiselect .ace_selection.ace_start {\ 24 | box-shadow: 0 0 3px 0px #222C28;\ 25 | border-radius: 2px\ 26 | }\ 27 | .ace-mono-industrial .ace_marker-layer .ace_step {\ 28 | background: rgb(102, 82, 0)\ 29 | }\ 30 | .ace-mono-industrial .ace_marker-layer .ace_bracket {\ 31 | margin: -1px 0 0 -1px;\ 32 | border: 1px solid rgba(102, 108, 104, 0.50)\ 33 | }\ 34 | .ace-mono-industrial .ace_marker-layer .ace_active-line {\ 35 | background: rgba(12, 13, 12, 0.25)\ 36 | }\ 37 | .ace-mono-industrial .ace_gutter-active-line {\ 38 | background-color: rgba(12, 13, 12, 0.25)\ 39 | }\ 40 | .ace-mono-industrial .ace_marker-layer .ace_selected-word {\ 41 | border: 1px solid rgba(145, 153, 148, 0.40)\ 42 | }\ 43 | .ace-mono-industrial .ace_invisible {\ 44 | color: rgba(102, 108, 104, 0.50)\ 45 | }\ 46 | .ace-mono-industrial .ace_string {\ 47 | background-color: #151C19;\ 48 | color: #FFFFFF\ 49 | }\ 50 | .ace-mono-industrial .ace_keyword,\ 51 | .ace-mono-industrial .ace_meta {\ 52 | color: #A39E64\ 53 | }\ 54 | .ace-mono-industrial .ace_constant,\ 55 | .ace-mono-industrial .ace_constant.ace_character,\ 56 | .ace-mono-industrial .ace_constant.ace_character.ace_escape,\ 57 | .ace-mono-industrial .ace_constant.ace_numeric,\ 58 | .ace-mono-industrial .ace_constant.ace_other {\ 59 | color: #E98800\ 60 | }\ 61 | .ace-mono-industrial .ace_entity.ace_name.ace_function,\ 62 | .ace-mono-industrial .ace_keyword.ace_operator,\ 63 | .ace-mono-industrial .ace_variable {\ 64 | color: #A8B3AB\ 65 | }\ 66 | .ace-mono-industrial .ace_invalid {\ 67 | color: #FFFFFF;\ 68 | background-color: rgba(153, 0, 0, 0.68)\ 69 | }\ 70 | .ace-mono-industrial .ace_support.ace_constant {\ 71 | color: #C87500\ 72 | }\ 73 | .ace-mono-industrial .ace_fold {\ 74 | background-color: #A8B3AB;\ 75 | border-color: #FFFFFF\ 76 | }\ 77 | .ace-mono-industrial .ace_support.ace_function {\ 78 | color: #588E60\ 79 | }\ 80 | .ace-mono-industrial .ace_entity.ace_name,\ 81 | .ace-mono-industrial .ace_support.ace_class,\ 82 | .ace-mono-industrial .ace_support.ace_type {\ 83 | color: #5778B6\ 84 | }\ 85 | .ace-mono-industrial .ace_storage {\ 86 | color: #C23B00\ 87 | }\ 88 | .ace-mono-industrial .ace_variable.ace_language,\ 89 | .ace-mono-industrial .ace_variable.ace_parameter {\ 90 | color: #648BD2\ 91 | }\ 92 | .ace-mono-industrial .ace_comment {\ 93 | color: #666C68;\ 94 | background-color: #151C19\ 95 | }\ 96 | .ace-mono-industrial .ace_entity.ace_other.ace_attribute-name {\ 97 | color: #909993\ 98 | }\ 99 | .ace-mono-industrial .ace_entity.ace_name.ace_tag {\ 100 | color: #A65EFF\ 101 | }\ 102 | .ace-mono-industrial .ace_indent-guide {\ 103 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ1NbwZfALD/4PAAlTArlEC4r/AAAAAElFTkSuQmCC) right repeat-y\ 104 | }"; 105 | 106 | var dom = require("../lib/dom"); 107 | dom.importCssString(exports.cssText, exports.cssClass); 108 | }); 109 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-monokai.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/monokai",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = true; 4 | exports.cssClass = "ace-monokai"; 5 | exports.cssText = ".ace-monokai .ace_gutter {\ 6 | background: #2F3129;\ 7 | color: #8F908A\ 8 | }\ 9 | .ace-monokai .ace_print-margin {\ 10 | width: 1px;\ 11 | background: #555651\ 12 | }\ 13 | .ace-monokai {\ 14 | background-color: #272822;\ 15 | color: #F8F8F2\ 16 | }\ 17 | .ace-monokai .ace_cursor {\ 18 | color: #F8F8F0\ 19 | }\ 20 | .ace-monokai .ace_marker-layer .ace_selection {\ 21 | background: #49483E\ 22 | }\ 23 | .ace-monokai.ace_multiselect .ace_selection.ace_start {\ 24 | box-shadow: 0 0 3px 0px #272822;\ 25 | border-radius: 2px\ 26 | }\ 27 | .ace-monokai .ace_marker-layer .ace_step {\ 28 | background: rgb(102, 82, 0)\ 29 | }\ 30 | .ace-monokai .ace_marker-layer .ace_bracket {\ 31 | margin: -1px 0 0 -1px;\ 32 | border: 1px solid #49483E\ 33 | }\ 34 | .ace-monokai .ace_marker-layer .ace_active-line {\ 35 | background: #202020\ 36 | }\ 37 | .ace-monokai .ace_gutter-active-line {\ 38 | background-color: #272727\ 39 | }\ 40 | .ace-monokai .ace_marker-layer .ace_selected-word {\ 41 | border: 1px solid #49483E\ 42 | }\ 43 | .ace-monokai .ace_invisible {\ 44 | color: #52524d\ 45 | }\ 46 | .ace-monokai .ace_entity.ace_name.ace_tag,\ 47 | .ace-monokai .ace_keyword,\ 48 | .ace-monokai .ace_meta.ace_tag,\ 49 | .ace-monokai .ace_storage {\ 50 | color: #F92672\ 51 | }\ 52 | .ace-monokai .ace_punctuation,\ 53 | .ace-monokai .ace_punctuation.ace_tag {\ 54 | color: #fff\ 55 | }\ 56 | .ace-monokai .ace_constant.ace_character,\ 57 | .ace-monokai .ace_constant.ace_language,\ 58 | .ace-monokai .ace_constant.ace_numeric,\ 59 | .ace-monokai .ace_constant.ace_other {\ 60 | color: #AE81FF\ 61 | }\ 62 | .ace-monokai .ace_invalid {\ 63 | color: #F8F8F0;\ 64 | background-color: #F92672\ 65 | }\ 66 | .ace-monokai .ace_invalid.ace_deprecated {\ 67 | color: #F8F8F0;\ 68 | background-color: #AE81FF\ 69 | }\ 70 | .ace-monokai .ace_support.ace_constant,\ 71 | .ace-monokai .ace_support.ace_function {\ 72 | color: #66D9EF\ 73 | }\ 74 | .ace-monokai .ace_fold {\ 75 | background-color: #A6E22E;\ 76 | border-color: #F8F8F2\ 77 | }\ 78 | .ace-monokai .ace_storage.ace_type,\ 79 | .ace-monokai .ace_support.ace_class,\ 80 | .ace-monokai .ace_support.ace_type {\ 81 | font-style: italic;\ 82 | color: #66D9EF\ 83 | }\ 84 | .ace-monokai .ace_entity.ace_name.ace_function,\ 85 | .ace-monokai .ace_entity.ace_other,\ 86 | .ace-monokai .ace_entity.ace_other.ace_attribute-name,\ 87 | .ace-monokai .ace_variable {\ 88 | color: #A6E22E\ 89 | }\ 90 | .ace-monokai .ace_variable.ace_parameter {\ 91 | font-style: italic;\ 92 | color: #FD971F\ 93 | }\ 94 | .ace-monokai .ace_string {\ 95 | color: #E6DB74\ 96 | }\ 97 | .ace-monokai .ace_comment {\ 98 | color: #75715E\ 99 | }\ 100 | .ace-monokai .ace_indent-guide {\ 101 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y\ 102 | }"; 103 | 104 | var dom = require("../lib/dom"); 105 | dom.importCssString(exports.cssText, exports.cssClass); 106 | }); 107 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-pastel_on_dark.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/pastel_on_dark",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = true; 4 | exports.cssClass = "ace-pastel-on-dark"; 5 | exports.cssText = ".ace-pastel-on-dark .ace_gutter {\ 6 | background: #353030;\ 7 | color: #8F938F\ 8 | }\ 9 | .ace-pastel-on-dark .ace_print-margin {\ 10 | width: 1px;\ 11 | background: #353030\ 12 | }\ 13 | .ace-pastel-on-dark {\ 14 | background-color: #2C2828;\ 15 | color: #8F938F\ 16 | }\ 17 | .ace-pastel-on-dark .ace_cursor {\ 18 | color: #A7A7A7\ 19 | }\ 20 | .ace-pastel-on-dark .ace_marker-layer .ace_selection {\ 21 | background: rgba(221, 240, 255, 0.20)\ 22 | }\ 23 | .ace-pastel-on-dark.ace_multiselect .ace_selection.ace_start {\ 24 | box-shadow: 0 0 3px 0px #2C2828;\ 25 | border-radius: 2px\ 26 | }\ 27 | .ace-pastel-on-dark .ace_marker-layer .ace_step {\ 28 | background: rgb(102, 82, 0)\ 29 | }\ 30 | .ace-pastel-on-dark .ace_marker-layer .ace_bracket {\ 31 | margin: -1px 0 0 -1px;\ 32 | border: 1px solid rgba(255, 255, 255, 0.25)\ 33 | }\ 34 | .ace-pastel-on-dark .ace_marker-layer .ace_active-line {\ 35 | background: rgba(255, 255, 255, 0.031)\ 36 | }\ 37 | .ace-pastel-on-dark .ace_gutter-active-line {\ 38 | background-color: rgba(255, 255, 255, 0.031)\ 39 | }\ 40 | .ace-pastel-on-dark .ace_marker-layer .ace_selected-word {\ 41 | border: 1px solid rgba(221, 240, 255, 0.20)\ 42 | }\ 43 | .ace-pastel-on-dark .ace_invisible {\ 44 | color: rgba(255, 255, 255, 0.25)\ 45 | }\ 46 | .ace-pastel-on-dark .ace_keyword,\ 47 | .ace-pastel-on-dark .ace_meta {\ 48 | color: #757aD8\ 49 | }\ 50 | .ace-pastel-on-dark .ace_constant,\ 51 | .ace-pastel-on-dark .ace_constant.ace_character,\ 52 | .ace-pastel-on-dark .ace_constant.ace_character.ace_escape,\ 53 | .ace-pastel-on-dark .ace_constant.ace_other {\ 54 | color: #4FB7C5\ 55 | }\ 56 | .ace-pastel-on-dark .ace_keyword.ace_operator {\ 57 | color: #797878\ 58 | }\ 59 | .ace-pastel-on-dark .ace_constant.ace_character {\ 60 | color: #AFA472\ 61 | }\ 62 | .ace-pastel-on-dark .ace_constant.ace_language {\ 63 | color: #DE8E30\ 64 | }\ 65 | .ace-pastel-on-dark .ace_constant.ace_numeric {\ 66 | color: #CCCCCC\ 67 | }\ 68 | .ace-pastel-on-dark .ace_invalid,\ 69 | .ace-pastel-on-dark .ace_invalid.ace_illegal {\ 70 | color: #F8F8F8;\ 71 | background-color: rgba(86, 45, 86, 0.75)\ 72 | }\ 73 | .ace-pastel-on-dark .ace_invalid.ace_deprecated {\ 74 | text-decoration: underline;\ 75 | font-style: italic;\ 76 | color: #D2A8A1\ 77 | }\ 78 | .ace-pastel-on-dark .ace_fold {\ 79 | background-color: #757aD8;\ 80 | border-color: #8F938F\ 81 | }\ 82 | .ace-pastel-on-dark .ace_support.ace_function {\ 83 | color: #AEB2F8\ 84 | }\ 85 | .ace-pastel-on-dark .ace_string {\ 86 | color: #66A968\ 87 | }\ 88 | .ace-pastel-on-dark .ace_string.ace_regexp {\ 89 | color: #E9C062\ 90 | }\ 91 | .ace-pastel-on-dark .ace_comment {\ 92 | color: #A6C6FF\ 93 | }\ 94 | .ace-pastel-on-dark .ace_variable {\ 95 | color: #BEBF55\ 96 | }\ 97 | .ace-pastel-on-dark .ace_variable.ace_language {\ 98 | color: #C1C144\ 99 | }\ 100 | .ace-pastel-on-dark .ace_xml-pe {\ 101 | color: #494949\ 102 | }\ 103 | .ace-pastel-on-dark .ace_indent-guide {\ 104 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYIiPj/8PAARgAh2NTMh8AAAAAElFTkSuQmCC) right repeat-y\ 105 | }"; 106 | 107 | var dom = require("../lib/dom"); 108 | dom.importCssString(exports.cssText, exports.cssClass); 109 | }); 110 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-solarized_dark.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/solarized_dark",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = true; 4 | exports.cssClass = "ace-solarized-dark"; 5 | exports.cssText = ".ace-solarized-dark .ace_gutter {\ 6 | background: #01313f;\ 7 | color: #d0edf7\ 8 | }\ 9 | .ace-solarized-dark .ace_print-margin {\ 10 | width: 1px;\ 11 | background: #33555E\ 12 | }\ 13 | .ace-solarized-dark {\ 14 | background-color: #002B36;\ 15 | color: #93A1A1\ 16 | }\ 17 | .ace-solarized-dark .ace_entity.ace_other.ace_attribute-name,\ 18 | .ace-solarized-dark .ace_storage {\ 19 | color: #93A1A1\ 20 | }\ 21 | .ace-solarized-dark .ace_cursor,\ 22 | .ace-solarized-dark .ace_string.ace_regexp {\ 23 | color: #D30102\ 24 | }\ 25 | .ace-solarized-dark .ace_marker-layer .ace_active-line,\ 26 | .ace-solarized-dark .ace_marker-layer .ace_selection {\ 27 | background: rgba(255, 255, 255, 0.1)\ 28 | }\ 29 | .ace-solarized-dark.ace_multiselect .ace_selection.ace_start {\ 30 | box-shadow: 0 0 3px 0px #002B36;\ 31 | border-radius: 2px\ 32 | }\ 33 | .ace-solarized-dark .ace_marker-layer .ace_step {\ 34 | background: rgb(102, 82, 0)\ 35 | }\ 36 | .ace-solarized-dark .ace_marker-layer .ace_bracket {\ 37 | margin: -1px 0 0 -1px;\ 38 | border: 1px solid rgba(147, 161, 161, 0.50)\ 39 | }\ 40 | .ace-solarized-dark .ace_gutter-active-line {\ 41 | background-color: #0d3440\ 42 | }\ 43 | .ace-solarized-dark .ace_marker-layer .ace_selected-word {\ 44 | border: 1px solid #073642\ 45 | }\ 46 | .ace-solarized-dark .ace_invisible {\ 47 | color: rgba(147, 161, 161, 0.50)\ 48 | }\ 49 | .ace-solarized-dark .ace_keyword,\ 50 | .ace-solarized-dark .ace_meta,\ 51 | .ace-solarized-dark .ace_support.ace_class,\ 52 | .ace-solarized-dark .ace_support.ace_type {\ 53 | color: #859900\ 54 | }\ 55 | .ace-solarized-dark .ace_constant.ace_character,\ 56 | .ace-solarized-dark .ace_constant.ace_other {\ 57 | color: #CB4B16\ 58 | }\ 59 | .ace-solarized-dark .ace_constant.ace_language {\ 60 | color: #B58900\ 61 | }\ 62 | .ace-solarized-dark .ace_constant.ace_numeric {\ 63 | color: #D33682\ 64 | }\ 65 | .ace-solarized-dark .ace_fold {\ 66 | background-color: #268BD2;\ 67 | border-color: #93A1A1\ 68 | }\ 69 | .ace-solarized-dark .ace_entity.ace_name.ace_function,\ 70 | .ace-solarized-dark .ace_entity.ace_name.ace_tag,\ 71 | .ace-solarized-dark .ace_support.ace_function,\ 72 | .ace-solarized-dark .ace_variable,\ 73 | .ace-solarized-dark .ace_variable.ace_language {\ 74 | color: #268BD2\ 75 | }\ 76 | .ace-solarized-dark .ace_string {\ 77 | color: #2AA198\ 78 | }\ 79 | .ace-solarized-dark .ace_comment {\ 80 | font-style: italic;\ 81 | color: #657B83\ 82 | }\ 83 | .ace-solarized-dark .ace_indent-guide {\ 84 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNg0Db1ZVCxc/sPAAd4AlUHlLenAAAAAElFTkSuQmCC) right repeat-y\ 85 | }"; 86 | 87 | var dom = require("../lib/dom"); 88 | dom.importCssString(exports.cssText, exports.cssClass); 89 | }); 90 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-solarized_light.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/solarized_light",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = false; 4 | exports.cssClass = "ace-solarized-light"; 5 | exports.cssText = ".ace-solarized-light .ace_gutter {\ 6 | background: #fbf1d3;\ 7 | color: #333\ 8 | }\ 9 | .ace-solarized-light .ace_print-margin {\ 10 | width: 1px;\ 11 | background: #e8e8e8\ 12 | }\ 13 | .ace-solarized-light {\ 14 | background-color: #FDF6E3;\ 15 | color: #586E75\ 16 | }\ 17 | .ace-solarized-light .ace_cursor {\ 18 | color: #000000\ 19 | }\ 20 | .ace-solarized-light .ace_marker-layer .ace_selection {\ 21 | background: rgba(7, 54, 67, 0.09)\ 22 | }\ 23 | .ace-solarized-light.ace_multiselect .ace_selection.ace_start {\ 24 | box-shadow: 0 0 3px 0px #FDF6E3;\ 25 | border-radius: 2px\ 26 | }\ 27 | .ace-solarized-light .ace_marker-layer .ace_step {\ 28 | background: rgb(255, 255, 0)\ 29 | }\ 30 | .ace-solarized-light .ace_marker-layer .ace_bracket {\ 31 | margin: -1px 0 0 -1px;\ 32 | border: 1px solid rgba(147, 161, 161, 0.50)\ 33 | }\ 34 | .ace-solarized-light .ace_marker-layer .ace_active-line {\ 35 | background: #EEE8D5\ 36 | }\ 37 | .ace-solarized-light .ace_gutter-active-line {\ 38 | background-color : #EDE5C1\ 39 | }\ 40 | .ace-solarized-light .ace_marker-layer .ace_selected-word {\ 41 | border: 1px solid #073642\ 42 | }\ 43 | .ace-solarized-light .ace_invisible {\ 44 | color: rgba(147, 161, 161, 0.50)\ 45 | }\ 46 | .ace-solarized-light .ace_keyword,\ 47 | .ace-solarized-light .ace_meta,\ 48 | .ace-solarized-light .ace_support.ace_class,\ 49 | .ace-solarized-light .ace_support.ace_type {\ 50 | color: #859900\ 51 | }\ 52 | .ace-solarized-light .ace_constant.ace_character,\ 53 | .ace-solarized-light .ace_constant.ace_other {\ 54 | color: #CB4B16\ 55 | }\ 56 | .ace-solarized-light .ace_constant.ace_language {\ 57 | color: #B58900\ 58 | }\ 59 | .ace-solarized-light .ace_constant.ace_numeric {\ 60 | color: #D33682\ 61 | }\ 62 | .ace-solarized-light .ace_fold {\ 63 | background-color: #268BD2;\ 64 | border-color: #586E75\ 65 | }\ 66 | .ace-solarized-light .ace_entity.ace_name.ace_function,\ 67 | .ace-solarized-light .ace_entity.ace_name.ace_tag,\ 68 | .ace-solarized-light .ace_support.ace_function,\ 69 | .ace-solarized-light .ace_variable,\ 70 | .ace-solarized-light .ace_variable.ace_language {\ 71 | color: #268BD2\ 72 | }\ 73 | .ace-solarized-light .ace_storage {\ 74 | color: #073642\ 75 | }\ 76 | .ace-solarized-light .ace_string {\ 77 | color: #2AA198\ 78 | }\ 79 | .ace-solarized-light .ace_string.ace_regexp {\ 80 | color: #D30102\ 81 | }\ 82 | .ace-solarized-light .ace_comment,\ 83 | .ace-solarized-light .ace_entity.ace_other.ace_attribute-name {\ 84 | color: #93A1A1\ 85 | }\ 86 | .ace-solarized-light .ace_indent-guide {\ 87 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHjy8NJ/AAjgA5fzQUmBAAAAAElFTkSuQmCC) right repeat-y\ 88 | }"; 89 | 90 | var dom = require("../lib/dom"); 91 | dom.importCssString(exports.cssText, exports.cssClass); 92 | }); 93 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-textmate.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.isDark = false; 5 | exports.cssClass = "ace-tm"; 6 | exports.cssText = ".ace-tm .ace_gutter {\ 7 | background: #f0f0f0;\ 8 | color: #333;\ 9 | }\ 10 | .ace-tm .ace_print-margin {\ 11 | width: 1px;\ 12 | background: #e8e8e8;\ 13 | }\ 14 | .ace-tm .ace_fold {\ 15 | background-color: #6B72E6;\ 16 | }\ 17 | .ace-tm {\ 18 | background-color: #FFFFFF;\ 19 | color: black;\ 20 | }\ 21 | .ace-tm .ace_cursor {\ 22 | color: black;\ 23 | }\ 24 | .ace-tm .ace_invisible {\ 25 | color: rgb(191, 191, 191);\ 26 | }\ 27 | .ace-tm .ace_storage,\ 28 | .ace-tm .ace_keyword {\ 29 | color: blue;\ 30 | }\ 31 | .ace-tm .ace_constant {\ 32 | color: rgb(197, 6, 11);\ 33 | }\ 34 | .ace-tm .ace_constant.ace_buildin {\ 35 | color: rgb(88, 72, 246);\ 36 | }\ 37 | .ace-tm .ace_constant.ace_language {\ 38 | color: rgb(88, 92, 246);\ 39 | }\ 40 | .ace-tm .ace_constant.ace_library {\ 41 | color: rgb(6, 150, 14);\ 42 | }\ 43 | .ace-tm .ace_invalid {\ 44 | background-color: rgba(255, 0, 0, 0.1);\ 45 | color: red;\ 46 | }\ 47 | .ace-tm .ace_support.ace_function {\ 48 | color: rgb(60, 76, 114);\ 49 | }\ 50 | .ace-tm .ace_support.ace_constant {\ 51 | color: rgb(6, 150, 14);\ 52 | }\ 53 | .ace-tm .ace_support.ace_type,\ 54 | .ace-tm .ace_support.ace_class {\ 55 | color: rgb(109, 121, 222);\ 56 | }\ 57 | .ace-tm .ace_keyword.ace_operator {\ 58 | color: rgb(104, 118, 135);\ 59 | }\ 60 | .ace-tm .ace_string {\ 61 | color: rgb(3, 106, 7);\ 62 | }\ 63 | .ace-tm .ace_comment {\ 64 | color: rgb(76, 136, 107);\ 65 | }\ 66 | .ace-tm .ace_comment.ace_doc {\ 67 | color: rgb(0, 102, 255);\ 68 | }\ 69 | .ace-tm .ace_comment.ace_doc.ace_tag {\ 70 | color: rgb(128, 159, 191);\ 71 | }\ 72 | .ace-tm .ace_constant.ace_numeric {\ 73 | color: rgb(0, 0, 205);\ 74 | }\ 75 | .ace-tm .ace_variable {\ 76 | color: rgb(49, 132, 149);\ 77 | }\ 78 | .ace-tm .ace_xml-pe {\ 79 | color: rgb(104, 104, 91);\ 80 | }\ 81 | .ace-tm .ace_entity.ace_name.ace_function {\ 82 | color: #0000A2;\ 83 | }\ 84 | .ace-tm .ace_heading {\ 85 | color: rgb(12, 7, 255);\ 86 | }\ 87 | .ace-tm .ace_list {\ 88 | color:rgb(185, 6, 144);\ 89 | }\ 90 | .ace-tm .ace_meta.ace_tag {\ 91 | color:rgb(0, 22, 142);\ 92 | }\ 93 | .ace-tm .ace_string.ace_regex {\ 94 | color: rgb(255, 0, 0)\ 95 | }\ 96 | .ace-tm .ace_marker-layer .ace_selection {\ 97 | background: rgb(181, 213, 255);\ 98 | }\ 99 | .ace-tm.ace_multiselect .ace_selection.ace_start {\ 100 | box-shadow: 0 0 3px 0px white;\ 101 | border-radius: 2px;\ 102 | }\ 103 | .ace-tm .ace_marker-layer .ace_step {\ 104 | background: rgb(252, 255, 0);\ 105 | }\ 106 | .ace-tm .ace_marker-layer .ace_stack {\ 107 | background: rgb(164, 229, 101);\ 108 | }\ 109 | .ace-tm .ace_marker-layer .ace_bracket {\ 110 | margin: -1px 0 0 -1px;\ 111 | border: 1px solid rgb(192, 192, 192);\ 112 | }\ 113 | .ace-tm .ace_marker-layer .ace_active-line {\ 114 | background: rgba(0, 0, 0, 0.07);\ 115 | }\ 116 | .ace-tm .ace_gutter-active-line {\ 117 | background-color : #dcdcdc;\ 118 | }\ 119 | .ace-tm .ace_marker-layer .ace_selected-word {\ 120 | background: rgb(250, 250, 255);\ 121 | border: 1px solid rgb(200, 200, 250);\ 122 | }\ 123 | .ace-tm .ace_indent-guide {\ 124 | background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\ 125 | }\ 126 | "; 127 | 128 | var dom = require("../lib/dom"); 129 | dom.importCssString(exports.cssText, exports.cssClass); 130 | }); 131 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-tomorrow.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/tomorrow",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = false; 4 | exports.cssClass = "ace-tomorrow"; 5 | exports.cssText = ".ace-tomorrow .ace_gutter {\ 6 | background: #f6f6f6;\ 7 | color: #4D4D4C\ 8 | }\ 9 | .ace-tomorrow .ace_print-margin {\ 10 | width: 1px;\ 11 | background: #f6f6f6\ 12 | }\ 13 | .ace-tomorrow {\ 14 | background-color: #FFFFFF;\ 15 | color: #4D4D4C\ 16 | }\ 17 | .ace-tomorrow .ace_cursor {\ 18 | color: #AEAFAD\ 19 | }\ 20 | .ace-tomorrow .ace_marker-layer .ace_selection {\ 21 | background: #D6D6D6\ 22 | }\ 23 | .ace-tomorrow.ace_multiselect .ace_selection.ace_start {\ 24 | box-shadow: 0 0 3px 0px #FFFFFF;\ 25 | border-radius: 2px\ 26 | }\ 27 | .ace-tomorrow .ace_marker-layer .ace_step {\ 28 | background: rgb(255, 255, 0)\ 29 | }\ 30 | .ace-tomorrow .ace_marker-layer .ace_bracket {\ 31 | margin: -1px 0 0 -1px;\ 32 | border: 1px solid #D1D1D1\ 33 | }\ 34 | .ace-tomorrow .ace_marker-layer .ace_active-line {\ 35 | background: #EFEFEF\ 36 | }\ 37 | .ace-tomorrow .ace_gutter-active-line {\ 38 | background-color : #dcdcdc\ 39 | }\ 40 | .ace-tomorrow .ace_marker-layer .ace_selected-word {\ 41 | border: 1px solid #D6D6D6\ 42 | }\ 43 | .ace-tomorrow .ace_invisible {\ 44 | color: #D1D1D1\ 45 | }\ 46 | .ace-tomorrow .ace_keyword,\ 47 | .ace-tomorrow .ace_meta,\ 48 | .ace-tomorrow .ace_storage,\ 49 | .ace-tomorrow .ace_storage.ace_type,\ 50 | .ace-tomorrow .ace_support.ace_type {\ 51 | color: #8959A8\ 52 | }\ 53 | .ace-tomorrow .ace_keyword.ace_operator {\ 54 | color: #3E999F\ 55 | }\ 56 | .ace-tomorrow .ace_constant.ace_character,\ 57 | .ace-tomorrow .ace_constant.ace_language,\ 58 | .ace-tomorrow .ace_constant.ace_numeric,\ 59 | .ace-tomorrow .ace_keyword.ace_other.ace_unit,\ 60 | .ace-tomorrow .ace_support.ace_constant,\ 61 | .ace-tomorrow .ace_variable.ace_parameter {\ 62 | color: #F5871F\ 63 | }\ 64 | .ace-tomorrow .ace_constant.ace_other {\ 65 | color: #666969\ 66 | }\ 67 | .ace-tomorrow .ace_invalid {\ 68 | color: #FFFFFF;\ 69 | background-color: #C82829\ 70 | }\ 71 | .ace-tomorrow .ace_invalid.ace_deprecated {\ 72 | color: #FFFFFF;\ 73 | background-color: #8959A8\ 74 | }\ 75 | .ace-tomorrow .ace_fold {\ 76 | background-color: #4271AE;\ 77 | border-color: #4D4D4C\ 78 | }\ 79 | .ace-tomorrow .ace_entity.ace_name.ace_function,\ 80 | .ace-tomorrow .ace_support.ace_function,\ 81 | .ace-tomorrow .ace_variable {\ 82 | color: #4271AE\ 83 | }\ 84 | .ace-tomorrow .ace_support.ace_class,\ 85 | .ace-tomorrow .ace_support.ace_type {\ 86 | color: #C99E00\ 87 | }\ 88 | .ace-tomorrow .ace_heading,\ 89 | .ace-tomorrow .ace_markup.ace_heading,\ 90 | .ace-tomorrow .ace_string {\ 91 | color: #718C00\ 92 | }\ 93 | .ace-tomorrow .ace_entity.ace_name.ace_tag,\ 94 | .ace-tomorrow .ace_entity.ace_other.ace_attribute-name,\ 95 | .ace-tomorrow .ace_meta.ace_tag,\ 96 | .ace-tomorrow .ace_string.ace_regexp,\ 97 | .ace-tomorrow .ace_variable {\ 98 | color: #C82829\ 99 | }\ 100 | .ace-tomorrow .ace_comment {\ 101 | color: #8E908C\ 102 | }\ 103 | .ace-tomorrow .ace_indent-guide {\ 104 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) right repeat-y\ 105 | }"; 106 | 107 | var dom = require("../lib/dom"); 108 | dom.importCssString(exports.cssText, exports.cssClass); 109 | }); 110 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-tomorrow_night.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/tomorrow_night",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = true; 4 | exports.cssClass = "ace-tomorrow-night"; 5 | exports.cssText = ".ace-tomorrow-night .ace_gutter {\ 6 | background: #25282c;\ 7 | color: #C5C8C6\ 8 | }\ 9 | .ace-tomorrow-night .ace_print-margin {\ 10 | width: 1px;\ 11 | background: #25282c\ 12 | }\ 13 | .ace-tomorrow-night {\ 14 | background-color: #1D1F21;\ 15 | color: #C5C8C6\ 16 | }\ 17 | .ace-tomorrow-night .ace_cursor {\ 18 | color: #AEAFAD\ 19 | }\ 20 | .ace-tomorrow-night .ace_marker-layer .ace_selection {\ 21 | background: #373B41\ 22 | }\ 23 | .ace-tomorrow-night.ace_multiselect .ace_selection.ace_start {\ 24 | box-shadow: 0 0 3px 0px #1D1F21;\ 25 | border-radius: 2px\ 26 | }\ 27 | .ace-tomorrow-night .ace_marker-layer .ace_step {\ 28 | background: rgb(102, 82, 0)\ 29 | }\ 30 | .ace-tomorrow-night .ace_marker-layer .ace_bracket {\ 31 | margin: -1px 0 0 -1px;\ 32 | border: 1px solid #4B4E55\ 33 | }\ 34 | .ace-tomorrow-night .ace_marker-layer .ace_active-line {\ 35 | background: #282A2E\ 36 | }\ 37 | .ace-tomorrow-night .ace_gutter-active-line {\ 38 | background-color: #282A2E\ 39 | }\ 40 | .ace-tomorrow-night .ace_marker-layer .ace_selected-word {\ 41 | border: 1px solid #373B41\ 42 | }\ 43 | .ace-tomorrow-night .ace_invisible {\ 44 | color: #4B4E55\ 45 | }\ 46 | .ace-tomorrow-night .ace_keyword,\ 47 | .ace-tomorrow-night .ace_meta,\ 48 | .ace-tomorrow-night .ace_storage,\ 49 | .ace-tomorrow-night .ace_storage.ace_type,\ 50 | .ace-tomorrow-night .ace_support.ace_type {\ 51 | color: #B294BB\ 52 | }\ 53 | .ace-tomorrow-night .ace_keyword.ace_operator {\ 54 | color: #8ABEB7\ 55 | }\ 56 | .ace-tomorrow-night .ace_constant.ace_character,\ 57 | .ace-tomorrow-night .ace_constant.ace_language,\ 58 | .ace-tomorrow-night .ace_constant.ace_numeric,\ 59 | .ace-tomorrow-night .ace_keyword.ace_other.ace_unit,\ 60 | .ace-tomorrow-night .ace_support.ace_constant,\ 61 | .ace-tomorrow-night .ace_variable.ace_parameter {\ 62 | color: #DE935F\ 63 | }\ 64 | .ace-tomorrow-night .ace_constant.ace_other {\ 65 | color: #CED1CF\ 66 | }\ 67 | .ace-tomorrow-night .ace_invalid {\ 68 | color: #CED2CF;\ 69 | background-color: #DF5F5F\ 70 | }\ 71 | .ace-tomorrow-night .ace_invalid.ace_deprecated {\ 72 | color: #CED2CF;\ 73 | background-color: #B798BF\ 74 | }\ 75 | .ace-tomorrow-night .ace_fold {\ 76 | background-color: #81A2BE;\ 77 | border-color: #C5C8C6\ 78 | }\ 79 | .ace-tomorrow-night .ace_entity.ace_name.ace_function,\ 80 | .ace-tomorrow-night .ace_support.ace_function,\ 81 | .ace-tomorrow-night .ace_variable {\ 82 | color: #81A2BE\ 83 | }\ 84 | .ace-tomorrow-night .ace_support.ace_class,\ 85 | .ace-tomorrow-night .ace_support.ace_type {\ 86 | color: #F0C674\ 87 | }\ 88 | .ace-tomorrow-night .ace_heading,\ 89 | .ace-tomorrow-night .ace_markup.ace_heading,\ 90 | .ace-tomorrow-night .ace_string {\ 91 | color: #B5BD68\ 92 | }\ 93 | .ace-tomorrow-night .ace_entity.ace_name.ace_tag,\ 94 | .ace-tomorrow-night .ace_entity.ace_other.ace_attribute-name,\ 95 | .ace-tomorrow-night .ace_meta.ace_tag,\ 96 | .ace-tomorrow-night .ace_string.ace_regexp,\ 97 | .ace-tomorrow-night .ace_variable {\ 98 | color: #CC6666\ 99 | }\ 100 | .ace-tomorrow-night .ace_comment {\ 101 | color: #969896\ 102 | }\ 103 | .ace-tomorrow-night .ace_indent-guide {\ 104 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y\ 105 | }"; 106 | 107 | var dom = require("../lib/dom"); 108 | dom.importCssString(exports.cssText, exports.cssClass); 109 | }); 110 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-twilight.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/twilight",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = true; 4 | exports.cssClass = "ace-twilight"; 5 | exports.cssText = ".ace-twilight .ace_gutter {\ 6 | background: #232323;\ 7 | color: #E2E2E2\ 8 | }\ 9 | .ace-twilight .ace_print-margin {\ 10 | width: 1px;\ 11 | background: #232323\ 12 | }\ 13 | .ace-twilight {\ 14 | background-color: #141414;\ 15 | color: #F8F8F8\ 16 | }\ 17 | .ace-twilight .ace_cursor {\ 18 | color: #A7A7A7\ 19 | }\ 20 | .ace-twilight .ace_marker-layer .ace_selection {\ 21 | background: rgba(221, 240, 255, 0.20)\ 22 | }\ 23 | .ace-twilight.ace_multiselect .ace_selection.ace_start {\ 24 | box-shadow: 0 0 3px 0px #141414;\ 25 | border-radius: 2px\ 26 | }\ 27 | .ace-twilight .ace_marker-layer .ace_step {\ 28 | background: rgb(102, 82, 0)\ 29 | }\ 30 | .ace-twilight .ace_marker-layer .ace_bracket {\ 31 | margin: -1px 0 0 -1px;\ 32 | border: 1px solid rgba(255, 255, 255, 0.25)\ 33 | }\ 34 | .ace-twilight .ace_marker-layer .ace_active-line {\ 35 | background: rgba(255, 255, 255, 0.031)\ 36 | }\ 37 | .ace-twilight .ace_gutter-active-line {\ 38 | background-color: rgba(255, 255, 255, 0.031)\ 39 | }\ 40 | .ace-twilight .ace_marker-layer .ace_selected-word {\ 41 | border: 1px solid rgba(221, 240, 255, 0.20)\ 42 | }\ 43 | .ace-twilight .ace_invisible {\ 44 | color: rgba(255, 255, 255, 0.25)\ 45 | }\ 46 | .ace-twilight .ace_keyword,\ 47 | .ace-twilight .ace_meta {\ 48 | color: #CDA869\ 49 | }\ 50 | .ace-twilight .ace_constant,\ 51 | .ace-twilight .ace_constant.ace_character,\ 52 | .ace-twilight .ace_constant.ace_character.ace_escape,\ 53 | .ace-twilight .ace_constant.ace_other,\ 54 | .ace-twilight .ace_heading,\ 55 | .ace-twilight .ace_markup.ace_heading,\ 56 | .ace-twilight .ace_support.ace_constant {\ 57 | color: #CF6A4C\ 58 | }\ 59 | .ace-twilight .ace_invalid.ace_illegal {\ 60 | color: #F8F8F8;\ 61 | background-color: rgba(86, 45, 86, 0.75)\ 62 | }\ 63 | .ace-twilight .ace_invalid.ace_deprecated {\ 64 | text-decoration: underline;\ 65 | font-style: italic;\ 66 | color: #D2A8A1\ 67 | }\ 68 | .ace-twilight .ace_support {\ 69 | color: #9B859D\ 70 | }\ 71 | .ace-twilight .ace_fold {\ 72 | background-color: #AC885B;\ 73 | border-color: #F8F8F8\ 74 | }\ 75 | .ace-twilight .ace_support.ace_function {\ 76 | color: #DAD085\ 77 | }\ 78 | .ace-twilight .ace_list,\ 79 | .ace-twilight .ace_markup.ace_list,\ 80 | .ace-twilight .ace_storage {\ 81 | color: #F9EE98\ 82 | }\ 83 | .ace-twilight .ace_entity.ace_name.ace_function,\ 84 | .ace-twilight .ace_meta.ace_tag,\ 85 | .ace-twilight .ace_variable {\ 86 | color: #AC885B\ 87 | }\ 88 | .ace-twilight .ace_string {\ 89 | color: #8F9D6A\ 90 | }\ 91 | .ace-twilight .ace_string.ace_regexp {\ 92 | color: #E9C062\ 93 | }\ 94 | .ace-twilight .ace_comment {\ 95 | font-style: italic;\ 96 | color: #5F5A60\ 97 | }\ 98 | .ace-twilight .ace_variable {\ 99 | color: #7587A6\ 100 | }\ 101 | .ace-twilight .ace_xml-pe {\ 102 | color: #494949\ 103 | }\ 104 | .ace-twilight .ace_indent-guide {\ 105 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERFpYLC1tf0PAAgOAnPnhxyiAAAAAElFTkSuQmCC) right repeat-y\ 106 | }"; 107 | 108 | var dom = require("../lib/dom"); 109 | dom.importCssString(exports.cssText, exports.cssClass); 110 | }); 111 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-vibrant_ink.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/vibrant_ink",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = true; 4 | exports.cssClass = "ace-vibrant-ink"; 5 | exports.cssText = ".ace-vibrant-ink .ace_gutter {\ 6 | background: #1a1a1a;\ 7 | color: #BEBEBE\ 8 | }\ 9 | .ace-vibrant-ink .ace_print-margin {\ 10 | width: 1px;\ 11 | background: #1a1a1a\ 12 | }\ 13 | .ace-vibrant-ink {\ 14 | background-color: #0F0F0F;\ 15 | color: #FFFFFF\ 16 | }\ 17 | .ace-vibrant-ink .ace_cursor {\ 18 | color: #FFFFFF\ 19 | }\ 20 | .ace-vibrant-ink .ace_marker-layer .ace_selection {\ 21 | background: #6699CC\ 22 | }\ 23 | .ace-vibrant-ink.ace_multiselect .ace_selection.ace_start {\ 24 | box-shadow: 0 0 3px 0px #0F0F0F;\ 25 | border-radius: 2px\ 26 | }\ 27 | .ace-vibrant-ink .ace_marker-layer .ace_step {\ 28 | background: rgb(102, 82, 0)\ 29 | }\ 30 | .ace-vibrant-ink .ace_marker-layer .ace_bracket {\ 31 | margin: -1px 0 0 -1px;\ 32 | border: 1px solid #404040\ 33 | }\ 34 | .ace-vibrant-ink .ace_marker-layer .ace_active-line {\ 35 | background: #333333\ 36 | }\ 37 | .ace-vibrant-ink .ace_gutter-active-line {\ 38 | background-color: #333333\ 39 | }\ 40 | .ace-vibrant-ink .ace_marker-layer .ace_selected-word {\ 41 | border: 1px solid #6699CC\ 42 | }\ 43 | .ace-vibrant-ink .ace_invisible {\ 44 | color: #404040\ 45 | }\ 46 | .ace-vibrant-ink .ace_keyword,\ 47 | .ace-vibrant-ink .ace_meta {\ 48 | color: #FF6600\ 49 | }\ 50 | .ace-vibrant-ink .ace_constant,\ 51 | .ace-vibrant-ink .ace_constant.ace_character,\ 52 | .ace-vibrant-ink .ace_constant.ace_character.ace_escape,\ 53 | .ace-vibrant-ink .ace_constant.ace_other {\ 54 | color: #339999\ 55 | }\ 56 | .ace-vibrant-ink .ace_constant.ace_numeric {\ 57 | color: #99CC99\ 58 | }\ 59 | .ace-vibrant-ink .ace_invalid,\ 60 | .ace-vibrant-ink .ace_invalid.ace_deprecated {\ 61 | color: #CCFF33;\ 62 | background-color: #000000\ 63 | }\ 64 | .ace-vibrant-ink .ace_fold {\ 65 | background-color: #FFCC00;\ 66 | border-color: #FFFFFF\ 67 | }\ 68 | .ace-vibrant-ink .ace_entity.ace_name.ace_function,\ 69 | .ace-vibrant-ink .ace_support.ace_function,\ 70 | .ace-vibrant-ink .ace_variable {\ 71 | color: #FFCC00\ 72 | }\ 73 | .ace-vibrant-ink .ace_variable.ace_parameter {\ 74 | font-style: italic\ 75 | }\ 76 | .ace-vibrant-ink .ace_string {\ 77 | color: #66FF00\ 78 | }\ 79 | .ace-vibrant-ink .ace_string.ace_regexp {\ 80 | color: #44B4CC\ 81 | }\ 82 | .ace-vibrant-ink .ace_comment {\ 83 | color: #9933CC\ 84 | }\ 85 | .ace-vibrant-ink .ace_entity.ace_other.ace_attribute-name {\ 86 | font-style: italic;\ 87 | color: #99CC99\ 88 | }\ 89 | .ace-vibrant-ink .ace_indent-guide {\ 90 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYNDTc/oPAALPAZ7hxlbYAAAAAElFTkSuQmCC) right repeat-y\ 91 | }"; 92 | 93 | var dom = require("../lib/dom"); 94 | dom.importCssString(exports.cssText, exports.cssClass); 95 | }); 96 | -------------------------------------------------------------------------------- /js/ace/src-noconflict/theme-xcode.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/xcode",["require","exports","module","ace/lib/dom"], function(require, exports, module) { 2 | 3 | exports.isDark = false; 4 | exports.cssClass = "ace-xcode"; 5 | exports.cssText = "\ 6 | .ace-xcode .ace_gutter {\ 7 | background: #e8e8e8;\ 8 | color: #333\ 9 | }\ 10 | .ace-xcode .ace_print-margin {\ 11 | width: 1px;\ 12 | background: #e8e8e8\ 13 | }\ 14 | .ace-xcode {\ 15 | background-color: #FFFFFF;\ 16 | color: #000000\ 17 | }\ 18 | .ace-xcode .ace_cursor {\ 19 | color: #000000\ 20 | }\ 21 | .ace-xcode .ace_marker-layer .ace_selection {\ 22 | background: #B5D5FF\ 23 | }\ 24 | .ace-xcode.ace_multiselect .ace_selection.ace_start {\ 25 | box-shadow: 0 0 3px 0px #FFFFFF;\ 26 | border-radius: 2px\ 27 | }\ 28 | .ace-xcode .ace_marker-layer .ace_step {\ 29 | background: rgb(198, 219, 174)\ 30 | }\ 31 | .ace-xcode .ace_marker-layer .ace_bracket {\ 32 | margin: -1px 0 0 -1px;\ 33 | border: 1px solid #BFBFBF\ 34 | }\ 35 | .ace-xcode .ace_marker-layer .ace_active-line {\ 36 | background: rgba(0, 0, 0, 0.071)\ 37 | }\ 38 | .ace-xcode .ace_gutter-active-line {\ 39 | background-color: rgba(0, 0, 0, 0.071)\ 40 | }\ 41 | .ace-xcode .ace_marker-layer .ace_selected-word {\ 42 | border: 1px solid #B5D5FF\ 43 | }\ 44 | .ace-xcode .ace_constant.ace_language,\ 45 | .ace-xcode .ace_keyword,\ 46 | .ace-xcode .ace_meta,\ 47 | .ace-xcode .ace_variable.ace_language {\ 48 | color: #C800A4\ 49 | }\ 50 | .ace-xcode .ace_invisible {\ 51 | color: #BFBFBF\ 52 | }\ 53 | .ace-xcode .ace_constant.ace_character,\ 54 | .ace-xcode .ace_constant.ace_other {\ 55 | color: #275A5E\ 56 | }\ 57 | .ace-xcode .ace_constant.ace_numeric {\ 58 | color: #3A00DC\ 59 | }\ 60 | .ace-xcode .ace_entity.ace_other.ace_attribute-name,\ 61 | .ace-xcode .ace_support.ace_constant,\ 62 | .ace-xcode .ace_support.ace_function {\ 63 | color: #450084\ 64 | }\ 65 | .ace-xcode .ace_fold {\ 66 | background-color: #C800A4;\ 67 | border-color: #000000\ 68 | }\ 69 | .ace-xcode .ace_entity.ace_name.ace_tag,\ 70 | .ace-xcode .ace_support.ace_class,\ 71 | .ace-xcode .ace_support.ace_type {\ 72 | color: #790EAD\ 73 | }\ 74 | .ace-xcode .ace_storage {\ 75 | color: #C900A4\ 76 | }\ 77 | .ace-xcode .ace_string {\ 78 | color: #DF0002\ 79 | }\ 80 | .ace-xcode .ace_comment {\ 81 | color: #008E00\ 82 | }\ 83 | .ace-xcode .ace_indent-guide {\ 84 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y\ 85 | }"; 86 | 87 | var dom = require("../lib/dom"); 88 | dom.importCssString(exports.cssText, exports.cssClass); 89 | }); 90 | -------------------------------------------------------------------------------- /js/common.coffee: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2014, Blind Motion Project 2 | # All rights reserved. 3 | 4 | parse = require('csv-parse') 5 | moment = require('moment') 6 | coffeescript = require('coffee-script') 7 | 8 | MsecInADay = 86400000 9 | 10 | KeyCodes = { 11 | 'a' : 65, 12 | 's' : 83, 13 | 'd' : 68, 14 | 'w' : 87, 15 | 'e' : 69, 16 | 'r' : 82, 17 | '0' : 48, 18 | '1' : 49, 19 | '2' : 50, 20 | '3' : 51, 21 | '4' : 52, 22 | '5' : 53, 23 | '6' : 54, 24 | '7' : 55, 25 | '8' : 56, 26 | '9' : 57, 27 | '[' : 219, 28 | ']' : 221, 29 | 'enter' : 13, 30 | 'esc' : 27 31 | } 32 | 33 | EventName = { 34 | 1: 'Line change', 35 | 2: 'Obstacle avoidance', 36 | 3: 'Overtake', 37 | 4: '45-turn', 38 | 5: '90-turn', 39 | 6: '180-turn', 40 | 0: 'Dirty data' 41 | } 42 | 43 | DirectionName = { 44 | 0: 'left', 45 | 1: 'right' 46 | } 47 | 48 | interval = null 49 | chart = null 50 | currentDate = null 51 | currentFileNameBase = null 52 | allEvents = null 53 | 54 | clone = (obj) -> 55 | if not obj? or typeof obj isnt 'object' 56 | return obj 57 | 58 | newInstance = new obj.constructor() 59 | 60 | for key of obj 61 | newInstance[key] = clone obj[key] 62 | 63 | return newInstance 64 | -------------------------------------------------------------------------------- /js/compile.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cat common.coffee observer.coffee data.coffee chart.coffee controlpanel.coffee main.coffee | coffee --compile --stdio > compiled/out.js 3 | browserify compiled/out.js > compiled/deps.js 4 | -------------------------------------------------------------------------------- /js/data.coffee: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2014, Blind Motion Project 2 | # All rights reserved. 3 | 4 | getDataFromFile = (file, callback) -> 5 | onData = (event) -> 6 | data = event.target.result 7 | callback(data) 8 | 9 | reader = new FileReader() 10 | reader.addEventListener 'load', (event) => onData(event) 11 | reader.readAsText(file) 12 | 13 | window.getDataFromFile = getDataFromFile 14 | 15 | class FileCsvLoader 16 | 17 | constructor: () -> 18 | @data = null 19 | @obs = new Observer() 20 | 21 | onDataParsed: (err, array) -> 22 | @trigger('load', err, array) 23 | 24 | onData: (event) -> 25 | data = event.target.result 26 | options = {delimiter: ';', auto_parse: true} 27 | parse(data, options, (args...) => @onDataParsed(args...) ) 28 | 29 | loadFromFile: (event) -> 30 | file = event.target.files[0] 31 | 32 | reader = new FileReader() 33 | reader.addEventListener 'load', (event) => @onData(event) 34 | reader.readAsText(file) 35 | 36 | bind: (event, fn) => @obs.bind(event, fn) 37 | unbind: (event, fn) => @obs.unbind(event, fn) 38 | trigger: (event, args...) => @obs.trigger(event, args...) 39 | 40 | window.fileLoader = new FileCsvLoader() 41 | 42 | class FileSelectorManager 43 | constructor: (inputElementId, labelElementId) -> 44 | if inputElementId == undefined || labelElementId == undefined 45 | throw new Error('Wrong arguments') 46 | 47 | @obs = new Observer() 48 | @inputElement = $('#' + inputElementId) 49 | @labelElement = $('#' + labelElementId) 50 | 51 | @inputElement.change( @onFileSelected ) 52 | 53 | onFileSelected: (event) => 54 | filename = @inputElement.val().replace(/\\/g, '/').replace(/.*\//, ''); 55 | 56 | @trigger('change', @inputElement.get()[0], event) 57 | @labelElement.val(filename) 58 | 59 | bind: (event, fn) => @obs.bind(event, fn) 60 | unbind: (event, fn) => @obs.unbind(event, fn) 61 | trigger: (event, args...) => @obs.trigger(event, args...) 62 | 63 | window.FileSelectorManager = FileSelectorManager 64 | 65 | getIntervalFromSrt = (str) -> 66 | patt = new RegExp("[0-9]{2}\.[0-9]{2}\.[0-9]{4} [0-9]{2}\:[0-9]{2}\:[0-9]{2}", "g"); 67 | 68 | startStr = patt.exec(str) 69 | if startStr == null 70 | return null 71 | 72 | current = startStr 73 | 74 | while current != null 75 | endStr = current 76 | current = patt.exec(str) 77 | 78 | startStr = startStr[0].split(' ')[1] 79 | endStr = endStr[0].split(' ')[1] 80 | 81 | start = moment(startStr, 'HH:mm:ss').toDate() 82 | end = moment(endStr, 'HH:mm:ss').toDate() 83 | 84 | start = new Date(start.getTime() % MsecInADay) 85 | end = new Date(end.getTime() % MsecInADay) 86 | 87 | return {start: start, end: end} 88 | 89 | window.getIntervalFromSrt = getIntervalFromSrt 90 | -------------------------------------------------------------------------------- /js/main.coffee: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2014, Blind Motion Project 2 | # All rights reserved. 3 | 4 | editor = null 5 | 6 | onVideoTimeChanged = () -> 7 | videoNode = $('#player') 8 | timePlace = $('#time-place') 9 | videoTime = videoNode[0].currentTime 10 | 11 | if interval? 12 | date = new Date(interval.start.getTime() + Math.round(videoTime * 1000)) 13 | currentDate = date 14 | m = moment(date) 15 | timePlace.text(m.format("HH:mm:ss")) 16 | 17 | chart.showCursorAt(date) 18 | 19 | window.onVideoTimeChanged = onVideoTimeChanged 20 | 21 | evalPreprocessCode = () -> 22 | compiledSource = coffeescript.compile(editor.getValue()) 23 | eval(compiledSource) 24 | 25 | onPreprocessorSave = () -> 26 | evalPreprocessCode() 27 | 28 | if typeof(Storage) != "undefined" 29 | localStorage.setItem("code", editor.getValue()) 30 | 31 | chart.drawSpecificData() 32 | 33 | window.coffeemain = () -> 34 | editor = ace.edit("code-editor") 35 | editor.setTheme("ace/theme/monokai") 36 | editor.getSession().setMode("ace/mode/coffee") 37 | 38 | $('#button-save').click(onPreprocessorSave) 39 | 40 | initControlPanel() 41 | 42 | chart = new ChartManager('main-chart') 43 | 44 | window.fileLoader.bind('load', (err, data) => 45 | if err == null 46 | chart.setData(data) 47 | else 48 | console.log(err) 49 | ) 50 | 51 | srtInputManager = new FileSelectorManager('srtInput', 'srtInputLabel') 52 | srtInputManager.bind('change', (input, event) => 53 | filename = event.target.files[0].name 54 | extPos = filename.lastIndexOf('.') 55 | window.currentFileNameBase = filename.substring(0, extPos) 56 | 57 | getDataFromFile(event.target.files[0], (data) => 58 | interval = getIntervalFromSrt(data) 59 | chart.setInterval(interval) 60 | window.srtLoaded = true 61 | ) 62 | ); 63 | 64 | eventsInputManager = new FileSelectorManager('eventsFileInput', 'eventsFileLabel') 65 | eventsInputManager.bind('change', (input, event) => 66 | getDataFromFile(event.target.files[0], (data) => 67 | allEvents = JSON.parse(data) 68 | chart.showEvents(allEvents) 69 | ) 70 | ); 71 | 72 | window.srtLoaded = false 73 | 74 | dataInputManager = new FileSelectorManager('dataFileInput', 'dataFileLabel'); 75 | dataInputManager.bind('change', (input, event) => 76 | window.fileLoader.loadFromFile(event) 77 | ); 78 | 79 | if typeof(Storage) != "undefined" 80 | code = localStorage.getItem("code") 81 | if code != null 82 | editor.setValue(localStorage.getItem("code")) 83 | evalPreprocessCode() 84 | 85 | $('#main-chart').dblclick( (event) => 86 | videoNode = document.getElementById('player') 87 | videoNode.currentTime = Math.round(chart.lastSelectedTime/1000) ) 88 | -------------------------------------------------------------------------------- /js/main.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014, Blind Motion Project 3 | * All rights reserved. 4 | */ 5 | 6 | function changeSpeed () 7 | { 8 | var videoNode = document.getElementById('player'); 9 | var speedSlider = document.getElementById('speedSlider'); 10 | var speedOutput = document.getElementById("speedOutput"); 11 | 12 | value = parseFloat(speedSlider.value); 13 | 14 | speedOutput.value = value; 15 | videoNode.playbackRate = value; 16 | } 17 | 18 | function onLoad() { 19 | localFileVideoPlayerInit(window); 20 | 21 | coffeemain(); 22 | } 23 | 24 | function localFileVideoPlayerInit(win) { 25 | var URL = win.URL || win.webkitURL; 26 | var displayMessage = (function displayMessageInit() { 27 | var node = document.querySelector('#message'); 28 | 29 | return function displayMessage(message, isError) { 30 | node.innerHTML = message; 31 | node.className = isError ? 'error' : 'info'; 32 | }; 33 | }()); 34 | var playSelectedFile = function playSelectedFileInit(input, event) { 35 | var file = input.files[0]; 36 | var videoNode = document.getElementById('player'); 37 | var speedSlider = document.getElementById('speedSlider'); 38 | var fileURL = URL.createObjectURL(file); 39 | 40 | videoNode.src = fileURL; 41 | videoNode.playbackRate = parseFloat(speedSlider.value); 42 | window.videoLoaded = true; 43 | }; 44 | 45 | var videoNode = document.getElementById('player'); 46 | 47 | if (!URL) { 48 | displayMessage('Your browser is not ' + 49 | 'supported!', true); 50 | 51 | return; 52 | } 53 | 54 | var videoInputManager = new FileSelectorManager('videoInput', 'videoInputLabel'); 55 | videoInputManager.bind('change', playSelectedFile, false); 56 | 57 | videoNode.addEventListener('timeupdate', onVideoTimeChanged) 58 | window.videoLoaded = false; 59 | }; 60 | -------------------------------------------------------------------------------- /js/observer.coffee: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2014, Blind Motion Project 2 | # All rights reserved. 3 | 4 | class Observer 5 | constructor: () -> 6 | @events = {} 7 | 8 | bind : (event, fn) -> 9 | @events[event] ?= [] 10 | @events[event].push fn 11 | 12 | unbind: (event, fn) -> 13 | if @events[event]?.indexOf(fn) >= 0 14 | @events[event]?.splice @events[event].indexOf(fn), 1 15 | 16 | trigger: (event, args...) -> 17 | if @events[event] 18 | for callback in @events[event] when callback 19 | callback.apply @, args 20 | -------------------------------------------------------------------------------- /js/watch-compile.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | while inotifywait -e close_write *.coffee; do ./compile.sh; done -------------------------------------------------------------------------------- /modifiers/default.coffee: -------------------------------------------------------------------------------- 1 | window.dataPreprocessor = (data) => 2 | return data -------------------------------------------------------------------------------- /modifiers/smooth.coffee: -------------------------------------------------------------------------------- 1 | smoothRadius = 4 2 | 3 | smooth = (arr, result) => 4 | l = arr.length 5 | for i in [0..(l-1)] 6 | elCopy = [] 7 | for e in arr[i] 8 | elCopy.push(e) 9 | 10 | elCopy[3] = 0 11 | elCopy[4] = 0 12 | elCopy[5] = 0 13 | tempCount = 0 14 | 15 | il = i-smoothRadius 16 | if il < 0 17 | il = 0 18 | 19 | while il <= i + smoothRadius && il < arr.length 20 | elCopy[3] += arr[il][3] 21 | elCopy[4] += arr[il][4] 22 | elCopy[5] += arr[il][5] 23 | tempCount++ 24 | il++ 25 | 26 | elCopy[3] /= tempCount 27 | elCopy[4] /= tempCount 28 | elCopy[5] /= tempCount 29 | 30 | result.push(elCopy) 31 | 32 | window.dataPreprocessor = (data) => 33 | aAcc = [] 34 | aGyr = [] 35 | aGeo = [] 36 | 37 | #split data to different arrays 38 | for el in data 39 | switch el[0] 40 | when 1 #accelerometer 41 | elCopy = [] 42 | for e in el 43 | elCopy.push(e) 44 | 45 | aAcc.push(elCopy) 46 | 47 | when 4 #gyroscope 48 | elCopy = [] 49 | for e in el 50 | elCopy.push(e) 51 | 52 | aGyr.push(elCopy) 53 | 54 | when 'geo' #geodata 55 | elCopy = [] 56 | for e in el 57 | elCopy.push(e) 58 | 59 | aGeo.push(elCopy) 60 | 61 | result = [] 62 | result = result.concat(aGeo) 63 | 64 | #smooth data 65 | smooth(aAcc, result) 66 | smooth(aGyr, result) 67 | 68 | return result --------------------------------------------------------------------------------