bedrock_sass 0.1.9 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -5
- data/assets/_vendor/ace/ace.js +21635 -0
- data/assets/_vendor/ace/ext-beautify.js +318 -0
- data/assets/_vendor/ace/ext-elastic_tabstops_lite.js +277 -0
- data/assets/_vendor/ace/ext-emmet.js +1226 -0
- data/assets/_vendor/ace/ext-error_marker.js +10 -0
- data/assets/_vendor/ace/ext-keybinding_menu.js +189 -0
- data/assets/_vendor/ace/ext-language_tools.js +1997 -0
- data/assets/_vendor/ace/ext-linking.js +65 -0
- data/assets/_vendor/ace/ext-modelist.js +228 -0
- data/assets/_vendor/ace/ext-options.js +750 -0
- data/assets/_vendor/ace/ext-rtl.js +110 -0
- data/assets/_vendor/ace/ext-searchbox.js +512 -0
- data/assets/_vendor/ace/ext-settings_menu.js +771 -0
- data/assets/_vendor/ace/ext-spellcheck.js +75 -0
- data/assets/_vendor/ace/ext-split.js +208 -0
- data/assets/_vendor/ace/ext-static_highlight.js +226 -0
- data/assets/_vendor/ace/ext-statusbar.js +57 -0
- data/assets/_vendor/ace/ext-textarea.js +567 -0
- data/assets/_vendor/ace/ext-themelist.js +67 -0
- data/assets/_vendor/ace/ext-whitespace.js +210 -0
- data/assets/_vendor/ace/keybinding-emacs.js +1165 -0
- data/assets/_vendor/ace/keybinding-vim.js +5673 -0
- data/assets/_vendor/ace/mode-abap.js +222 -0
- data/assets/_vendor/ace/mode-abc.js +267 -0
- data/assets/_vendor/ace/mode-actionscript.js +274 -0
- data/assets/_vendor/ace/mode-ada.js +138 -0
- data/assets/_vendor/ace/mode-apache_conf.js +363 -0
- data/assets/_vendor/ace/mode-applescript.js +279 -0
- data/assets/_vendor/ace/mode-asciidoc.js +349 -0
- data/assets/_vendor/ace/mode-asl.js +422 -0
- data/assets/_vendor/ace/mode-assembly_x86.js +193 -0
- data/assets/_vendor/ace/mode-autohotkey.js +243 -0
- data/assets/_vendor/ace/mode-batchfile.js +230 -0
- data/assets/_vendor/ace/mode-bro.js +334 -0
- data/assets/_vendor/ace/mode-c9search.js +294 -0
- data/assets/_vendor/ace/mode-c_cpp.js +502 -0
- data/assets/_vendor/ace/mode-cirru.js +211 -0
- data/assets/_vendor/ace/mode-clojure.js +314 -0
- data/assets/_vendor/ace/mode-cobol.js +102 -0
- data/assets/_vendor/ace/mode-coffee.js +400 -0
- data/assets/_vendor/ace/mode-coldfusion.js +2596 -0
- data/assets/_vendor/ace/mode-csharp.js +502 -0
- data/assets/_vendor/ace/mode-csound_document.js +3749 -0
- data/assets/_vendor/ace/mode-csound_orchestra.js +2687 -0
- data/assets/_vendor/ace/mode-csound_score.js +454 -0
- data/assets/_vendor/ace/mode-csp.js +60 -0
- data/assets/_vendor/ace/mode-css.js +723 -0
- data/assets/_vendor/ace/mode-curly.js +2564 -0
- data/assets/_vendor/ace/mode-d.js +520 -0
- data/assets/_vendor/ace/mode-dart.js +703 -0
- data/assets/_vendor/ace/mode-diff.js +146 -0
- data/assets/_vendor/ace/mode-django.js +2594 -0
- data/assets/_vendor/ace/mode-dockerfile.js +498 -0
- data/assets/_vendor/ace/mode-dot.js +418 -0
- data/assets/_vendor/ace/mode-drools.js +496 -0
- data/assets/_vendor/ace/mode-edifact.js +165 -0
- data/assets/_vendor/ace/mode-eiffel.js +136 -0
- data/assets/_vendor/ace/mode-ejs.js +3026 -0
- data/assets/_vendor/ace/mode-elixir.js +501 -0
- data/assets/_vendor/ace/mode-elm.js +307 -0
- data/assets/_vendor/ace/mode-erlang.js +1009 -0
- data/assets/_vendor/ace/mode-forth.js +297 -0
- data/assets/_vendor/ace/mode-fortran.js +431 -0
- data/assets/_vendor/ace/mode-fsharp.js +314 -0
- data/assets/_vendor/ace/mode-ftl.js +1192 -0
- data/assets/_vendor/ace/mode-gcode.js +94 -0
- data/assets/_vendor/ace/mode-gherkin.js +172 -0
- data/assets/_vendor/ace/mode-gitignore.js +60 -0
- data/assets/_vendor/ace/mode-glsl.js +579 -0
- data/assets/_vendor/ace/mode-gobstones.js +929 -0
- data/assets/_vendor/ace/mode-golang.js +414 -0
- data/assets/_vendor/ace/mode-graphqlschema.js +214 -0
- data/assets/_vendor/ace/mode-groovy.js +986 -0
- data/assets/_vendor/ace/mode-haml.js +1555 -0
- data/assets/_vendor/ace/mode-handlebars.js +2622 -0
- data/assets/_vendor/ace/mode-haskell.js +379 -0
- data/assets/_vendor/ace/mode-haskell_cabal.js +142 -0
- data/assets/_vendor/ace/mode-haxe.js +386 -0
- data/assets/_vendor/ace/mode-hjson.js +353 -0
- data/assets/_vendor/ace/mode-html.js +2509 -0
- data/assets/_vendor/ace/mode-html_elixir.js +3087 -0
- data/assets/_vendor/ace/mode-html_ruby.js +3043 -0
- data/assets/_vendor/ace/mode-ini.js +163 -0
- data/assets/_vendor/ace/mode-io.js +253 -0
- data/assets/_vendor/ace/mode-jack.js +347 -0
- data/assets/_vendor/ace/mode-jade.js +2126 -0
- data/assets/_vendor/ace/mode-java.js +975 -0
- data/assets/_vendor/ace/mode-javascript.js +797 -0
- data/assets/_vendor/ace/mode-json.js +327 -0
- data/assets/_vendor/ace/mode-jsoniq.js +4940 -0
- data/assets/_vendor/ace/mode-jsp.js +1430 -0
- data/assets/_vendor/ace/mode-jssm.js +325 -0
- data/assets/_vendor/ace/mode-jsx.js +412 -0
- data/assets/_vendor/ace/mode-julia.js +303 -0
- data/assets/_vendor/ace/mode-kotlin.js +795 -0
- data/assets/_vendor/ace/mode-latex.js +297 -0
- data/assets/_vendor/ace/mode-less.js +841 -0
- data/assets/_vendor/ace/mode-liquid.js +1193 -0
- data/assets/_vendor/ace/mode-lisp.js +112 -0
- data/assets/_vendor/ace/mode-livescript.js +280 -0
- data/assets/_vendor/ace/mode-logiql.js +317 -0
- data/assets/_vendor/ace/mode-lsl.js +343 -0
- data/assets/_vendor/ace/mode-lua.js +432 -0
- data/assets/_vendor/ace/mode-luapage.js +3007 -0
- data/assets/_vendor/ace/mode-lucene.js +87 -0
- data/assets/_vendor/ace/mode-makefile.js +410 -0
- data/assets/_vendor/ace/mode-markdown.js +3189 -0
- data/assets/_vendor/ace/mode-mask.js +1802 -0
- data/assets/_vendor/ace/mode-matlab.js +264 -0
- data/assets/_vendor/ace/mode-maze.js +291 -0
- data/assets/_vendor/ace/mode-mel.js +263 -0
- data/assets/_vendor/ace/mode-mixal.js +123 -0
- data/assets/_vendor/ace/mode-mushcode.js +681 -0
- data/assets/_vendor/ace/mode-mysql.js +168 -0
- data/assets/_vendor/ace/mode-nix.js +646 -0
- data/assets/_vendor/ace/mode-nsis.js +312 -0
- data/assets/_vendor/ace/mode-objectivec.js +739 -0
- data/assets/_vendor/ace/mode-ocaml.js +422 -0
- data/assets/_vendor/ace/mode-pascal.js +205 -0
- data/assets/_vendor/ace/mode-perl.js +380 -0
- data/assets/_vendor/ace/mode-pgsql.js +1508 -0
- data/assets/_vendor/ace/mode-php.js +13088 -0
- data/assets/_vendor/ace/mode-php_laravel_blade.js +13289 -0
- data/assets/_vendor/ace/mode-pig.js +310 -0
- data/assets/_vendor/ace/mode-plain_text.js +33 -0
- data/assets/_vendor/ace/mode-powershell.js +418 -0
- data/assets/_vendor/ace/mode-praat.js +478 -0
- data/assets/_vendor/ace/mode-prolog.js +371 -0
- data/assets/_vendor/ace/mode-properties.js +81 -0
- data/assets/_vendor/ace/mode-protobuf.js +592 -0
- data/assets/_vendor/ace/mode-puppet.js +370 -0
- data/assets/_vendor/ace/mode-python.js +273 -0
- data/assets/_vendor/ace/mode-r.js +310 -0
- data/assets/_vendor/ace/mode-razor.js +2869 -0
- data/assets/_vendor/ace/mode-rdoc.js +243 -0
- data/assets/_vendor/ace/mode-red.js +450 -0
- data/assets/_vendor/ace/mode-redshift.js +361 -0
- data/assets/_vendor/ace/mode-rhtml.js +2806 -0
- data/assets/_vendor/ace/mode-rst.js +257 -0
- data/assets/_vendor/ace/mode-ruby.js +497 -0
- data/assets/_vendor/ace/mode-rust.js +279 -0
- data/assets/_vendor/ace/mode-sass.js +441 -0
- data/assets/_vendor/ace/mode-scad.js +414 -0
- data/assets/_vendor/ace/mode-scala.js +982 -0
- data/assets/_vendor/ace/mode-scheme.js +232 -0
- data/assets/_vendor/ace/mode-scss.js +606 -0
- data/assets/_vendor/ace/mode-sh.js +447 -0
- data/assets/_vendor/ace/mode-sjs.js +1014 -0
- data/assets/_vendor/ace/mode-slim.js +4736 -0
- data/assets/_vendor/ace/mode-smarty.js +2635 -0
- data/assets/_vendor/ace/mode-snippets.js +207 -0
- data/assets/_vendor/ace/mode-soy_template.js +2847 -0
- data/assets/_vendor/ace/mode-space.js +168 -0
- data/assets/_vendor/ace/mode-sparql.js +320 -0
- data/assets/_vendor/ace/mode-sql.js +111 -0
- data/assets/_vendor/ace/mode-sqlserver.js +444 -0
- data/assets/_vendor/ace/mode-stylus.js +471 -0
- data/assets/_vendor/ace/mode-svg.js +1581 -0
- data/assets/_vendor/ace/mode-swift.js +390 -0
- data/assets/_vendor/ace/mode-tcl.js +383 -0
- data/assets/_vendor/ace/mode-terraform.js +398 -0
- data/assets/_vendor/ace/mode-tex.js +159 -0
- data/assets/_vendor/ace/mode-text.js +10 -0
- data/assets/_vendor/ace/mode-textile.js +150 -0
- data/assets/_vendor/ace/mode-toml.js +154 -0
- data/assets/_vendor/ace/mode-tsx.js +887 -0
- data/assets/_vendor/ace/mode-turtle.js +296 -0
- data/assets/_vendor/ace/mode-twig.js +2693 -0
- data/assets/_vendor/ace/mode-typescript.js +868 -0
- data/assets/_vendor/ace/mode-vala.js +676 -0
- data/assets/_vendor/ace/mode-vbscript.js +207 -0
- data/assets/_vendor/ace/mode-velocity.js +2790 -0
- data/assets/_vendor/ace/mode-verilog.js +119 -0
- data/assets/_vendor/ace/mode-vhdl.js +118 -0
- data/assets/_vendor/ace/mode-wollok.js +911 -0
- data/assets/_vendor/ace/mode-xml.js +677 -0
- data/assets/_vendor/ace/mode-xquery.js +4922 -0
- data/assets/_vendor/ace/mode-yaml.js +300 -0
- data/assets/_vendor/ace/snippets/abap.js +15 -0
- data/assets/_vendor/ace/snippets/abc.js +46 -0
- data/assets/_vendor/ace/snippets/actionscript.js +172 -0
- data/assets/_vendor/ace/snippets/ada.js +15 -0
- data/assets/_vendor/ace/snippets/apache_conf.js +15 -0
- data/assets/_vendor/ace/snippets/applescript.js +15 -0
- data/assets/_vendor/ace/snippets/asciidoc.js +15 -0
- data/assets/_vendor/ace/snippets/asl.js +14 -0
- data/assets/_vendor/ace/snippets/assembly_x86.js +15 -0
- data/assets/_vendor/ace/snippets/autohotkey.js +15 -0
- data/assets/_vendor/ace/snippets/batchfile.js +15 -0
- data/assets/_vendor/ace/snippets/bro.js +15 -0
- data/assets/_vendor/ace/snippets/c9search.js +15 -0
- data/assets/_vendor/ace/snippets/c_cpp.js +146 -0
- data/assets/_vendor/ace/snippets/cirru.js +15 -0
- data/assets/_vendor/ace/snippets/clojure.js +105 -0
- data/assets/_vendor/ace/snippets/cobol.js +15 -0
- data/assets/_vendor/ace/snippets/coffee.js +110 -0
- data/assets/_vendor/ace/snippets/coldfusion.js +15 -0
- data/assets/_vendor/ace/snippets/csharp.js +15 -0
- data/assets/_vendor/ace/snippets/csound_document.js +25 -0
- data/assets/_vendor/ace/snippets/csound_orchestra.js +62 -0
- data/assets/_vendor/ace/snippets/csound_score.js +15 -0
- data/assets/_vendor/ace/snippets/csp.js +15 -0
- data/assets/_vendor/ace/snippets/css.js +982 -0
- data/assets/_vendor/ace/snippets/curly.js +15 -0
- data/assets/_vendor/ace/snippets/d.js +15 -0
- data/assets/_vendor/ace/snippets/dart.js +98 -0
- data/assets/_vendor/ace/snippets/diff.js +26 -0
- data/assets/_vendor/ace/snippets/django.js +123 -0
- data/assets/_vendor/ace/snippets/dockerfile.js +15 -0
- data/assets/_vendor/ace/snippets/dot.js +15 -0
- data/assets/_vendor/ace/snippets/drools.js +34 -0
- data/assets/_vendor/ace/snippets/edifact.js +255 -0
- data/assets/_vendor/ace/snippets/eiffel.js +15 -0
- data/assets/_vendor/ace/snippets/ejs.js +15 -0
- data/assets/_vendor/ace/snippets/elixir.js +15 -0
- data/assets/_vendor/ace/snippets/elm.js +15 -0
- data/assets/_vendor/ace/snippets/erlang.js +175 -0
- data/assets/_vendor/ace/snippets/forth.js +15 -0
- data/assets/_vendor/ace/snippets/fortran.js +15 -0
- data/assets/_vendor/ace/snippets/fsharp.js +15 -0
- data/assets/_vendor/ace/snippets/ftl.js +15 -0
- data/assets/_vendor/ace/snippets/gcode.js +15 -0
- data/assets/_vendor/ace/snippets/gherkin.js +15 -0
- data/assets/_vendor/ace/snippets/gitignore.js +15 -0
- data/assets/_vendor/ace/snippets/glsl.js +15 -0
- data/assets/_vendor/ace/snippets/gobstones.js +49 -0
- data/assets/_vendor/ace/snippets/golang.js +15 -0
- data/assets/_vendor/ace/snippets/graphqlschema.js +47 -0
- data/assets/_vendor/ace/snippets/groovy.js +15 -0
- data/assets/_vendor/ace/snippets/haml.js +35 -0
- data/assets/_vendor/ace/snippets/handlebars.js +15 -0
- data/assets/_vendor/ace/snippets/haskell.js +97 -0
- data/assets/_vendor/ace/snippets/haskell_cabal.js +15 -0
- data/assets/_vendor/ace/snippets/haxe.js +15 -0
- data/assets/_vendor/ace/snippets/hjson.js +15 -0
- data/assets/_vendor/ace/snippets/html.js +870 -0
- data/assets/_vendor/ace/snippets/html_elixir.js +15 -0
- data/assets/_vendor/ace/snippets/html_ruby.js +15 -0
- data/assets/_vendor/ace/snippets/ini.js +15 -0
- data/assets/_vendor/ace/snippets/io.js +77 -0
- data/assets/_vendor/ace/snippets/jack.js +15 -0
- data/assets/_vendor/ace/snippets/jade.js +15 -0
- data/assets/_vendor/ace/snippets/java.js +255 -0
- data/assets/_vendor/ace/snippets/javascript.js +210 -0
- data/assets/_vendor/ace/snippets/json.js +15 -0
- data/assets/_vendor/ace/snippets/jsoniq.js +76 -0
- data/assets/_vendor/ace/snippets/jsp.js +114 -0
- data/assets/_vendor/ace/snippets/jssm.js +15 -0
- data/assets/_vendor/ace/snippets/jsx.js +15 -0
- data/assets/_vendor/ace/snippets/julia.js +15 -0
- data/assets/_vendor/ace/snippets/kotlin.js +15 -0
- data/assets/_vendor/ace/snippets/latex.js +15 -0
- data/assets/_vendor/ace/snippets/less.js +15 -0
- data/assets/_vendor/ace/snippets/liquid.js +15 -0
- data/assets/_vendor/ace/snippets/lisp.js +15 -0
- data/assets/_vendor/ace/snippets/livescript.js +15 -0
- data/assets/_vendor/ace/snippets/logiql.js +15 -0
- data/assets/_vendor/ace/snippets/lsl.js +1247 -0
- data/assets/_vendor/ace/snippets/lua.js +36 -0
- data/assets/_vendor/ace/snippets/luapage.js +15 -0
- data/assets/_vendor/ace/snippets/lucene.js +15 -0
- data/assets/_vendor/ace/snippets/makefile.js +19 -0
- data/assets/_vendor/ace/snippets/markdown.js +103 -0
- data/assets/_vendor/ace/snippets/mask.js +15 -0
- data/assets/_vendor/ace/snippets/matlab.js +15 -0
- data/assets/_vendor/ace/snippets/maze.js +24 -0
- data/assets/_vendor/ace/snippets/mel.js +15 -0
- data/assets/_vendor/ace/snippets/mixal.js +15 -0
- data/assets/_vendor/ace/snippets/mushcode.js +15 -0
- data/assets/_vendor/ace/snippets/mysql.js +15 -0
- data/assets/_vendor/ace/snippets/nix.js +15 -0
- data/assets/_vendor/ace/snippets/nsis.js +15 -0
- data/assets/_vendor/ace/snippets/objectivec.js +15 -0
- data/assets/_vendor/ace/snippets/ocaml.js +15 -0
- data/assets/_vendor/ace/snippets/pascal.js +15 -0
- data/assets/_vendor/ace/snippets/perl.js +362 -0
- data/assets/_vendor/ace/snippets/pgsql.js +15 -0
- data/assets/_vendor/ace/snippets/php.js +398 -0
- data/assets/_vendor/ace/snippets/php_laravel_blade.js +15 -0
- data/assets/_vendor/ace/snippets/pig.js +15 -0
- data/assets/_vendor/ace/snippets/plain_text.js +15 -0
- data/assets/_vendor/ace/snippets/powershell.js +15 -0
- data/assets/_vendor/ace/snippets/praat.js +15 -0
- data/assets/_vendor/ace/snippets/prolog.js +15 -0
- data/assets/_vendor/ace/snippets/properties.js +15 -0
- data/assets/_vendor/ace/snippets/protobuf.js +15 -0
- data/assets/_vendor/ace/snippets/puppet.js +15 -0
- data/assets/_vendor/ace/snippets/python.js +173 -0
- data/assets/_vendor/ace/snippets/r.js +136 -0
- data/assets/_vendor/ace/snippets/razor.js +18 -0
- data/assets/_vendor/ace/snippets/rdoc.js +15 -0
- data/assets/_vendor/ace/snippets/red.js +15 -0
- data/assets/_vendor/ace/snippets/redshift.js +15 -0
- data/assets/_vendor/ace/snippets/rhtml.js +15 -0
- data/assets/_vendor/ace/snippets/rst.js +37 -0
- data/assets/_vendor/ace/snippets/ruby.js +943 -0
- data/assets/_vendor/ace/snippets/rust.js +15 -0
- data/assets/_vendor/ace/snippets/sass.js +15 -0
- data/assets/_vendor/ace/snippets/scad.js +15 -0
- data/assets/_vendor/ace/snippets/scala.js +15 -0
- data/assets/_vendor/ace/snippets/scheme.js +15 -0
- data/assets/_vendor/ace/snippets/scss.js +15 -0
- data/assets/_vendor/ace/snippets/sh.js +98 -0
- data/assets/_vendor/ace/snippets/sjs.js +15 -0
- data/assets/_vendor/ace/snippets/slim.js +15 -0
- data/assets/_vendor/ace/snippets/smarty.js +15 -0
- data/assets/_vendor/ace/snippets/snippets.js +24 -0
- data/assets/_vendor/ace/snippets/soy_template.js +15 -0
- data/assets/_vendor/ace/snippets/space.js +15 -0
- data/assets/_vendor/ace/snippets/sparql.js +15 -0
- data/assets/_vendor/ace/snippets/sql.js +41 -0
- data/assets/_vendor/ace/snippets/sqlserver.js +84 -0
- data/assets/_vendor/ace/snippets/stylus.js +15 -0
- data/assets/_vendor/ace/snippets/svg.js +15 -0
- data/assets/_vendor/ace/snippets/swift.js +15 -0
- data/assets/_vendor/ace/snippets/tcl.js +107 -0
- data/assets/_vendor/ace/snippets/terraform.js +15 -0
- data/assets/_vendor/ace/snippets/tex.js +205 -0
- data/assets/_vendor/ace/snippets/text.js +15 -0
- data/assets/_vendor/ace/snippets/textile.js +45 -0
- data/assets/_vendor/ace/snippets/toml.js +15 -0
- data/assets/_vendor/ace/snippets/tsx.js +15 -0
- data/assets/_vendor/ace/snippets/turtle.js +15 -0
- data/assets/_vendor/ace/snippets/twig.js +15 -0
- data/assets/_vendor/ace/snippets/typescript.js +15 -0
- data/assets/_vendor/ace/snippets/vala.js +201 -0
- data/assets/_vendor/ace/snippets/vbscript.js +15 -0
- data/assets/_vendor/ace/snippets/velocity.js +44 -0
- data/assets/_vendor/ace/snippets/verilog.js +15 -0
- data/assets/_vendor/ace/snippets/vhdl.js +15 -0
- data/assets/_vendor/ace/snippets/wollok.js +99 -0
- data/assets/_vendor/ace/snippets/xml.js +15 -0
- data/assets/_vendor/ace/snippets/xquery.js +76 -0
- data/assets/_vendor/ace/snippets/yaml.js +15 -0
- data/assets/_vendor/ace/theme-ambiance.js +185 -0
- data/assets/_vendor/ace/theme-chaos.js +164 -0
- data/assets/_vendor/ace/theme-chrome.js +136 -0
- data/assets/_vendor/ace/theme-clouds.js +103 -0
- data/assets/_vendor/ace/theme-clouds_midnight.js +104 -0
- data/assets/_vendor/ace/theme-cobalt.js +121 -0
- data/assets/_vendor/ace/theme-crimson_editor.js +126 -0
- data/assets/_vendor/ace/theme-dawn.js +116 -0
- data/assets/_vendor/ace/theme-dracula.js +136 -0
- data/assets/_vendor/ace/theme-dreamweaver.js +149 -0
- data/assets/_vendor/ace/theme-eclipse.js +106 -0
- data/assets/_vendor/ace/theme-github.js +110 -0
- data/assets/_vendor/ace/theme-gob.js +120 -0
- data/assets/_vendor/ace/theme-gruvbox.js +90 -0
- data/assets/_vendor/ace/theme-idle_fingers.js +104 -0
- data/assets/_vendor/ace/theme-iplastic.js +129 -0
- data/assets/_vendor/ace/theme-katzenmilch.js +129 -0
- data/assets/_vendor/ace/theme-kr_theme.js +112 -0
- data/assets/_vendor/ace/theme-kuroir.js +69 -0
- data/assets/_vendor/ace/theme-merbivore.js +103 -0
- data/assets/_vendor/ace/theme-merbivore_soft.js +104 -0
- data/assets/_vendor/ace/theme-mono_industrial.js +115 -0
- data/assets/_vendor/ace/theme-monokai.js +113 -0
- data/assets/_vendor/ace/theme-pastel_on_dark.js +116 -0
- data/assets/_vendor/ace/theme-solarized_dark.js +96 -0
- data/assets/_vendor/ace/theme-solarized_light.js +99 -0
- data/assets/_vendor/ace/theme-sqlserver.js +146 -0
- data/assets/_vendor/ace/theme-terminal.js +122 -0
- data/assets/_vendor/ace/theme-textmate.js +138 -0
- data/assets/_vendor/ace/theme-tomorrow.js +116 -0
- data/assets/_vendor/ace/theme-tomorrow_night.js +116 -0
- data/assets/_vendor/ace/theme-tomorrow_night_blue.js +114 -0
- data/assets/_vendor/ace/theme-tomorrow_night_bright.js +129 -0
- data/assets/_vendor/ace/theme-tomorrow_night_eighties.js +116 -0
- data/assets/_vendor/ace/theme-twilight.js +117 -0
- data/assets/_vendor/ace/theme-vibrant_ink.js +102 -0
- data/assets/_vendor/ace/theme-xcode.js +96 -0
- data/assets/_vendor/ace/worker-coffee.js +2165 -0
- data/assets/_vendor/ace/worker-css.js +8764 -0
- data/assets/_vendor/ace/worker-html.js +11614 -0
- data/assets/_vendor/ace/worker-javascript.js +12491 -0
- data/assets/_vendor/ace/worker-json.js +2396 -0
- data/assets/_vendor/ace/worker-lua.js +3637 -0
- data/assets/_vendor/ace/worker-php.js +4313 -0
- data/assets/_vendor/ace/worker-xml.js +3899 -0
- data/assets/_vendor/ace/worker-xquery.js +70688 -0
- data/assets/_vendor/motion-ui/_settings.scss +1 -0
- data/assets/_vendor/motion-ui/effects/_fade.scss +1 -4
- data/assets/_vendor/motion-ui/effects/_hinge.scss +4 -3
- data/assets/_vendor/motion-ui/effects/_shake.scss +1 -1
- data/assets/_vendor/motion-ui/effects/_slide.scss +4 -3
- data/assets/_vendor/motion-ui/effects/_spin.scss +4 -3
- data/assets/_vendor/motion-ui/effects/_wiggle.scss +1 -1
- data/assets/_vendor/motion-ui/effects/_zoom.scss +2 -2
- data/assets/_vendor/motion-ui/motion-ui.scss +2 -0
- data/assets/_vendor/motion-ui/transitions/_fade.scss +6 -4
- data/assets/_vendor/motion-ui/transitions/_hinge.scss +3 -2
- data/assets/_vendor/motion-ui/transitions/_slide.scss +3 -2
- data/assets/_vendor/motion-ui/transitions/_spin.scss +2 -1
- data/assets/_vendor/motion-ui/transitions/_zoom.scss +6 -4
- data/assets/_vendor/motion-ui/util/_animation.scss +1 -1
- data/assets/_vendor/motion-ui/util/_args.scss +2 -2
- data/assets/_vendor/motion-ui/util/_function.scss +94 -0
- data/assets/_vendor/motion-ui/util/_keyframe.scss +5 -5
- data/assets/_vendor/motion-ui/util/_series.scss +20 -17
- data/assets/_vendor/motion-ui/util/_string.scss +36 -0
- data/assets/_vendor/tinymce/plugins/advlist/plugin.js +136 -404
- data/assets/_vendor/tinymce/plugins/advlist/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/anchor/plugin.js +103 -323
- data/assets/_vendor/tinymce/plugins/anchor/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/autolink/plugin.js +153 -377
- data/assets/_vendor/tinymce/plugins/autolink/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/autoresize/plugin.js +145 -427
- data/assets/_vendor/tinymce/plugins/autoresize/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/autosave/plugin.js +197 -579
- data/assets/_vendor/tinymce/plugins/autosave/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/bbcode/plugin.js +88 -251
- data/assets/_vendor/tinymce/plugins/bbcode/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/charmap/plugin.js +1243 -818
- data/assets/_vendor/tinymce/plugins/charmap/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/code/plugin.js +82 -326
- data/assets/_vendor/tinymce/plugins/code/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/codesample/plugin.js +829 -1444
- data/assets/_vendor/tinymce/plugins/codesample/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/colorpicker/plugin.js +111 -257
- data/assets/_vendor/tinymce/plugins/colorpicker/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/contextmenu/plugin.js +141 -469
- data/assets/_vendor/tinymce/plugins/contextmenu/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/directionality/plugin.js +57 -261
- data/assets/_vendor/tinymce/plugins/directionality/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/emoticons/plugin.js +78 -247
- data/assets/_vendor/tinymce/plugins/emoticons/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/fullpage/plugin.js +463 -906
- data/assets/_vendor/tinymce/plugins/fullpage/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/fullscreen/plugin.js +149 -427
- data/assets/_vendor/tinymce/plugins/fullscreen/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/help/plugin.js +634 -1434
- data/assets/_vendor/tinymce/plugins/help/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/hr/plugin.js +29 -185
- data/assets/_vendor/tinymce/plugins/hr/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/image/plugin.js +1147 -1508
- data/assets/_vendor/tinymce/plugins/image/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/imagetools/plugin.js +3319 -4079
- data/assets/_vendor/tinymce/plugins/imagetools/plugin.min.js +1 -2
- data/assets/_vendor/tinymce/plugins/importcss/plugin.js +230 -543
- data/assets/_vendor/tinymce/plugins/importcss/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.js +151 -460
- data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.js +204 -379
- data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/link/plugin.js +644 -1162
- data/assets/_vendor/tinymce/plugins/link/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/lists/plugin.js +1005 -1875
- data/assets/_vendor/tinymce/plugins/lists/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/media/plugin.js +1066 -1926
- data/assets/_vendor/tinymce/plugins/media/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.js +70 -298
- data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/noneditable/plugin.js +96 -294
- data/assets/_vendor/tinymce/plugins/noneditable/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/pagebreak/plugin.js +92 -337
- data/assets/_vendor/tinymce/plugins/pagebreak/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/paste/plugin.js +1363 -2801
- data/assets/_vendor/tinymce/plugins/paste/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/preview/plugin.js +106 -393
- data/assets/_vendor/tinymce/plugins/preview/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/print/plugin.js +29 -185
- data/assets/_vendor/tinymce/plugins/print/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/save/plugin.js +100 -350
- data/assets/_vendor/tinymce/plugins/save/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/searchreplace/plugin.js +491 -865
- data/assets/_vendor/tinymce/plugins/searchreplace/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/spellchecker/plugin.js +630 -1292
- data/assets/_vendor/tinymce/plugins/spellchecker/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/tabfocus/plugin.js +96 -391
- data/assets/_vendor/tinymce/plugins/tabfocus/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/table/plugin.js +9537 -14920
- data/assets/_vendor/tinymce/plugins/table/plugin.min.js +1 -5
- data/assets/_vendor/tinymce/plugins/template/plugin.js +309 -771
- data/assets/_vendor/tinymce/plugins/template/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/textcolor/plugin.js +319 -592
- data/assets/_vendor/tinymce/plugins/textcolor/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/textpattern/plugin.js +326 -674
- data/assets/_vendor/tinymce/plugins/textpattern/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/toc/plugin.js +199 -530
- data/assets/_vendor/tinymce/plugins/toc/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/visualblocks/plugin.js +112 -436
- data/assets/_vendor/tinymce/plugins/visualblocks/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/visualchars/plugin.js +428 -1248
- data/assets/_vendor/tinymce/plugins/visualchars/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/wordcount/plugin.js +307 -699
- data/assets/_vendor/tinymce/plugins/wordcount/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/content.inline.min.css +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/content.min.css +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.svg +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/skin.min.css +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/skin.mobile.min.css +1 -1
- data/assets/_vendor/tinymce/themes/inlite/theme.js +9693 -18245
- data/assets/_vendor/tinymce/themes/inlite/theme.min.js +1 -5
- data/assets/_vendor/tinymce/themes/mobile/theme.js +12629 -22467
- data/assets/_vendor/tinymce/themes/mobile/theme.min.js +1 -8
- data/assets/_vendor/tinymce/themes/modern/theme.js +9510 -17780
- data/assets/_vendor/tinymce/themes/modern/theme.min.js +1 -5
- data/assets/_vendor/tinymce/tinymce.js +25087 -42606
- data/assets/_vendor/yoastseo/css/_icons.scss +7 -7
- data/assets/_vendor/yoastseo/css/_snippet-editor.scss +1 -1
- data/assets/bedrock/js/bedrock.js +1 -71697
- data/assets/bedrock/scss/_bedrock-components.scss +20 -0
- data/assets/bedrock/scss/_bedrock-settings.scss +12 -4
- data/assets/bedrock/scss/_foundation-settings.scss +4 -2
- data/assets/bedrock/scss/components/ace-editor.scss +21 -0
- data/assets/bedrock/scss/components/attachments-grid.scss +18 -15
- data/assets/bedrock/scss/components/date-picker.scss +146 -0
- data/assets/bedrock/scss/components/dropzone-upload.scss +7 -0
- data/assets/bedrock/scss/components/file-input.scss +7 -0
- data/assets/bedrock/scss/components/file-preview.scss +36 -0
- data/assets/bedrock/scss/components/frame-embed.scss +23 -0
- data/assets/bedrock/scss/components/global.scss +27 -0
- data/assets/bedrock/scss/components/helper-classes.scss +1 -0
- data/assets/bedrock/scss/components/icon-box.scss +38 -0
- data/assets/bedrock/scss/components/item-list.scss +66 -0
- data/assets/bedrock/scss/components/lists.scss +58 -0
- data/assets/bedrock/scss/components/off-canvas-menu.scss +27 -15
- data/assets/bedrock/scss/components/place-autocomplete.scss +90 -0
- data/assets/bedrock/scss/components/rrule-generator.scss +102 -0
- data/assets/bedrock/scss/components/rrule-reveal.scss +14 -0
- data/assets/bedrock/scss/components/select-box.scss +1 -0
- data/assets/bedrock/scss/components/seo-analysis.scss +5 -0
- data/assets/bedrock/scss/components/textarea.scss +14 -2
- data/assets/bedrock/scss/components/tiny-mce-editor.scss +5 -16
- data/lib/bedrock_sass.rb +5 -0
- data/lib/bedrock_sass/version.rb +1 -1
- data/lib/tasks/before_assets_precompile.rake +1 -0
- metadata +395 -4
- data/CODE_OF_CONDUCT.md +0 -74
@@ -0,0 +1,65 @@
|
|
1
|
+
define("ace/ext/linking",["require","exports","module","ace/editor","ace/config"], function(require, exports, module) {
|
2
|
+
|
3
|
+
var Editor = require("ace/editor").Editor;
|
4
|
+
|
5
|
+
require("../config").defineOptions(Editor.prototype, "editor", {
|
6
|
+
enableLinking: {
|
7
|
+
set: function(val) {
|
8
|
+
if (val) {
|
9
|
+
this.on("click", onClick);
|
10
|
+
this.on("mousemove", onMouseMove);
|
11
|
+
} else {
|
12
|
+
this.off("click", onClick);
|
13
|
+
this.off("mousemove", onMouseMove);
|
14
|
+
}
|
15
|
+
},
|
16
|
+
value: false
|
17
|
+
}
|
18
|
+
});
|
19
|
+
|
20
|
+
exports.previousLinkingHover = false;
|
21
|
+
|
22
|
+
function onMouseMove(e) {
|
23
|
+
var editor = e.editor;
|
24
|
+
var ctrl = e.getAccelKey();
|
25
|
+
|
26
|
+
if (ctrl) {
|
27
|
+
var editor = e.editor;
|
28
|
+
var docPos = e.getDocumentPosition();
|
29
|
+
var session = editor.session;
|
30
|
+
var token = session.getTokenAt(docPos.row, docPos.column);
|
31
|
+
|
32
|
+
if (exports.previousLinkingHover && exports.previousLinkingHover != token) {
|
33
|
+
editor._emit("linkHoverOut");
|
34
|
+
}
|
35
|
+
editor._emit("linkHover", {position: docPos, token: token});
|
36
|
+
exports.previousLinkingHover = token;
|
37
|
+
} else if (exports.previousLinkingHover) {
|
38
|
+
editor._emit("linkHoverOut");
|
39
|
+
exports.previousLinkingHover = false;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
function onClick(e) {
|
44
|
+
var ctrl = e.getAccelKey();
|
45
|
+
var button = e.getButton();
|
46
|
+
|
47
|
+
if (button == 0 && ctrl) {
|
48
|
+
var editor = e.editor;
|
49
|
+
var docPos = e.getDocumentPosition();
|
50
|
+
var session = editor.session;
|
51
|
+
var token = session.getTokenAt(docPos.row, docPos.column);
|
52
|
+
|
53
|
+
editor._emit("linkClick", {position: docPos, token: token});
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
});
|
58
|
+
(function() {
|
59
|
+
window.require(["ace/ext/linking"], function(m) {
|
60
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
61
|
+
module.exports = m;
|
62
|
+
}
|
63
|
+
});
|
64
|
+
})();
|
65
|
+
|
@@ -0,0 +1,228 @@
|
|
1
|
+
define("ace/ext/modelist",["require","exports","module"], function(require, exports, module) {
|
2
|
+
"use strict";
|
3
|
+
|
4
|
+
var modes = [];
|
5
|
+
function getModeForPath(path) {
|
6
|
+
var mode = modesByName.text;
|
7
|
+
var fileName = path.split(/[\/\\]/).pop();
|
8
|
+
for (var i = 0; i < modes.length; i++) {
|
9
|
+
if (modes[i].supportsFile(fileName)) {
|
10
|
+
mode = modes[i];
|
11
|
+
break;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
return mode;
|
15
|
+
}
|
16
|
+
|
17
|
+
var Mode = function(name, caption, extensions) {
|
18
|
+
this.name = name;
|
19
|
+
this.caption = caption;
|
20
|
+
this.mode = "ace/mode/" + name;
|
21
|
+
this.extensions = extensions;
|
22
|
+
var re;
|
23
|
+
if (/\^/.test(extensions)) {
|
24
|
+
re = extensions.replace(/\|(\^)?/g, function(a, b){
|
25
|
+
return "$|" + (b ? "^" : "^.*\\.");
|
26
|
+
}) + "$";
|
27
|
+
} else {
|
28
|
+
re = "^.*\\.(" + extensions + ")$";
|
29
|
+
}
|
30
|
+
|
31
|
+
this.extRe = new RegExp(re, "gi");
|
32
|
+
};
|
33
|
+
|
34
|
+
Mode.prototype.supportsFile = function(filename) {
|
35
|
+
return filename.match(this.extRe);
|
36
|
+
};
|
37
|
+
var supportedModes = {
|
38
|
+
ABAP: ["abap"],
|
39
|
+
ABC: ["abc"],
|
40
|
+
ActionScript:["as"],
|
41
|
+
ADA: ["ada|adb"],
|
42
|
+
Apache_Conf: ["^htaccess|^htgroups|^htpasswd|^conf|htaccess|htgroups|htpasswd"],
|
43
|
+
AsciiDoc: ["asciidoc|adoc"],
|
44
|
+
ASL: ["dsl|asl"],
|
45
|
+
Assembly_x86:["asm|a"],
|
46
|
+
AutoHotKey: ["ahk"],
|
47
|
+
BatchFile: ["bat|cmd"],
|
48
|
+
Bro: ["bro"],
|
49
|
+
C_Cpp: ["cpp|c|cc|cxx|h|hh|hpp|ino"],
|
50
|
+
C9Search: ["c9search_results"],
|
51
|
+
Cirru: ["cirru|cr"],
|
52
|
+
Clojure: ["clj|cljs"],
|
53
|
+
Cobol: ["CBL|COB"],
|
54
|
+
coffee: ["coffee|cf|cson|^Cakefile"],
|
55
|
+
ColdFusion: ["cfm"],
|
56
|
+
CSharp: ["cs"],
|
57
|
+
Csound_Document: ["csd"],
|
58
|
+
Csound_Orchestra: ["orc"],
|
59
|
+
Csound_Score: ["sco"],
|
60
|
+
CSS: ["css"],
|
61
|
+
Curly: ["curly"],
|
62
|
+
D: ["d|di"],
|
63
|
+
Dart: ["dart"],
|
64
|
+
Diff: ["diff|patch"],
|
65
|
+
Dockerfile: ["^Dockerfile"],
|
66
|
+
Dot: ["dot"],
|
67
|
+
Drools: ["drl"],
|
68
|
+
Edifact: ["edi"],
|
69
|
+
Eiffel: ["e|ge"],
|
70
|
+
EJS: ["ejs"],
|
71
|
+
Elixir: ["ex|exs"],
|
72
|
+
Elm: ["elm"],
|
73
|
+
Erlang: ["erl|hrl"],
|
74
|
+
Forth: ["frt|fs|ldr|fth|4th"],
|
75
|
+
Fortran: ["f|f90"],
|
76
|
+
FSharp: ["fsi|fs|ml|mli|fsx|fsscript"],
|
77
|
+
FTL: ["ftl"],
|
78
|
+
Gcode: ["gcode"],
|
79
|
+
Gherkin: ["feature"],
|
80
|
+
Gitignore: ["^.gitignore"],
|
81
|
+
Glsl: ["glsl|frag|vert"],
|
82
|
+
Gobstones: ["gbs"],
|
83
|
+
golang: ["go"],
|
84
|
+
GraphQLSchema: ["gql"],
|
85
|
+
Groovy: ["groovy"],
|
86
|
+
HAML: ["haml"],
|
87
|
+
Handlebars: ["hbs|handlebars|tpl|mustache"],
|
88
|
+
Haskell: ["hs"],
|
89
|
+
Haskell_Cabal: ["cabal"],
|
90
|
+
haXe: ["hx"],
|
91
|
+
Hjson: ["hjson"],
|
92
|
+
HTML: ["html|htm|xhtml|vue|we|wpy"],
|
93
|
+
HTML_Elixir: ["eex|html.eex"],
|
94
|
+
HTML_Ruby: ["erb|rhtml|html.erb"],
|
95
|
+
INI: ["ini|conf|cfg|prefs"],
|
96
|
+
Io: ["io"],
|
97
|
+
Jack: ["jack"],
|
98
|
+
Jade: ["jade|pug"],
|
99
|
+
Java: ["java"],
|
100
|
+
JavaScript: ["js|jsm|jsx"],
|
101
|
+
JSON: ["json"],
|
102
|
+
JSONiq: ["jq"],
|
103
|
+
JSP: ["jsp"],
|
104
|
+
JSSM: ["jssm|jssm_state"],
|
105
|
+
JSX: ["jsx"],
|
106
|
+
Julia: ["jl"],
|
107
|
+
Kotlin: ["kt|kts"],
|
108
|
+
LaTeX: ["tex|latex|ltx|bib"],
|
109
|
+
LESS: ["less"],
|
110
|
+
Liquid: ["liquid"],
|
111
|
+
Lisp: ["lisp"],
|
112
|
+
LiveScript: ["ls"],
|
113
|
+
LogiQL: ["logic|lql"],
|
114
|
+
LSL: ["lsl"],
|
115
|
+
Lua: ["lua"],
|
116
|
+
LuaPage: ["lp"],
|
117
|
+
Lucene: ["lucene"],
|
118
|
+
Makefile: ["^Makefile|^GNUmakefile|^makefile|^OCamlMakefile|make"],
|
119
|
+
Markdown: ["md|markdown"],
|
120
|
+
Mask: ["mask"],
|
121
|
+
MATLAB: ["matlab"],
|
122
|
+
Maze: ["mz"],
|
123
|
+
MEL: ["mel"],
|
124
|
+
MIXAL: ["mixal"],
|
125
|
+
MUSHCode: ["mc|mush"],
|
126
|
+
MySQL: ["mysql"],
|
127
|
+
Nix: ["nix"],
|
128
|
+
NSIS: ["nsi|nsh"],
|
129
|
+
ObjectiveC: ["m|mm"],
|
130
|
+
OCaml: ["ml|mli"],
|
131
|
+
Pascal: ["pas|p"],
|
132
|
+
Perl: ["pl|pm"],
|
133
|
+
pgSQL: ["pgsql"],
|
134
|
+
PHP_Laravel_blade: ["blade.php"],
|
135
|
+
PHP: ["php|phtml|shtml|php3|php4|php5|phps|phpt|aw|ctp|module"],
|
136
|
+
Puppet: ["epp|pp"],
|
137
|
+
Pig: ["pig"],
|
138
|
+
Powershell: ["ps1"],
|
139
|
+
Praat: ["praat|praatscript|psc|proc"],
|
140
|
+
Prolog: ["plg|prolog"],
|
141
|
+
Properties: ["properties"],
|
142
|
+
Protobuf: ["proto"],
|
143
|
+
Python: ["py"],
|
144
|
+
R: ["r"],
|
145
|
+
Razor: ["cshtml|asp"],
|
146
|
+
RDoc: ["Rd"],
|
147
|
+
Red: ["red|reds"],
|
148
|
+
RHTML: ["Rhtml"],
|
149
|
+
RST: ["rst"],
|
150
|
+
Ruby: ["rb|ru|gemspec|rake|^Guardfile|^Rakefile|^Gemfile"],
|
151
|
+
Rust: ["rs"],
|
152
|
+
SASS: ["sass"],
|
153
|
+
SCAD: ["scad"],
|
154
|
+
Scala: ["scala"],
|
155
|
+
Scheme: ["scm|sm|rkt|oak|scheme"],
|
156
|
+
SCSS: ["scss"],
|
157
|
+
SH: ["sh|bash|^.bashrc"],
|
158
|
+
SJS: ["sjs"],
|
159
|
+
Slim: ["slim|skim"],
|
160
|
+
Smarty: ["smarty|tpl"],
|
161
|
+
snippets: ["snippets"],
|
162
|
+
Soy_Template:["soy"],
|
163
|
+
Space: ["space"],
|
164
|
+
SQL: ["sql"],
|
165
|
+
SQLServer: ["sqlserver"],
|
166
|
+
Stylus: ["styl|stylus"],
|
167
|
+
SVG: ["svg"],
|
168
|
+
Swift: ["swift"],
|
169
|
+
Tcl: ["tcl"],
|
170
|
+
Terraform: ["tf", "tfvars", "terragrunt"],
|
171
|
+
Tex: ["tex"],
|
172
|
+
Text: ["txt"],
|
173
|
+
Textile: ["textile"],
|
174
|
+
Toml: ["toml"],
|
175
|
+
TSX: ["tsx"],
|
176
|
+
Twig: ["twig|swig"],
|
177
|
+
Typescript: ["ts|typescript|str"],
|
178
|
+
Vala: ["vala"],
|
179
|
+
VBScript: ["vbs|vb"],
|
180
|
+
Velocity: ["vm"],
|
181
|
+
Verilog: ["v|vh|sv|svh"],
|
182
|
+
VHDL: ["vhd|vhdl"],
|
183
|
+
Wollok: ["wlk|wpgm|wtest"],
|
184
|
+
XML: ["xml|rdf|rss|wsdl|xslt|atom|mathml|mml|xul|xbl|xaml"],
|
185
|
+
XQuery: ["xq"],
|
186
|
+
YAML: ["yaml|yml"],
|
187
|
+
Django: ["html"]
|
188
|
+
};
|
189
|
+
|
190
|
+
var nameOverrides = {
|
191
|
+
ObjectiveC: "Objective-C",
|
192
|
+
CSharp: "C#",
|
193
|
+
golang: "Go",
|
194
|
+
C_Cpp: "C and C++",
|
195
|
+
Csound_Document: "Csound Document",
|
196
|
+
Csound_Orchestra: "Csound",
|
197
|
+
Csound_Score: "Csound Score",
|
198
|
+
coffee: "CoffeeScript",
|
199
|
+
HTML_Ruby: "HTML (Ruby)",
|
200
|
+
HTML_Elixir: "HTML (Elixir)",
|
201
|
+
FTL: "FreeMarker",
|
202
|
+
PHP_Laravel_blade: "PHP (Blade Template)"
|
203
|
+
};
|
204
|
+
var modesByName = {};
|
205
|
+
for (var name in supportedModes) {
|
206
|
+
var data = supportedModes[name];
|
207
|
+
var displayName = (nameOverrides[name] || name).replace(/_/g, " ");
|
208
|
+
var filename = name.toLowerCase();
|
209
|
+
var mode = new Mode(filename, displayName, data[0]);
|
210
|
+
modesByName[filename] = mode;
|
211
|
+
modes.push(mode);
|
212
|
+
}
|
213
|
+
|
214
|
+
module.exports = {
|
215
|
+
getModeForPath: getModeForPath,
|
216
|
+
modes: modes,
|
217
|
+
modesByName: modesByName
|
218
|
+
};
|
219
|
+
|
220
|
+
});
|
221
|
+
(function() {
|
222
|
+
window.require(["ace/ext/modelist"], function(m) {
|
223
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
224
|
+
module.exports = m;
|
225
|
+
}
|
226
|
+
});
|
227
|
+
})();
|
228
|
+
|
@@ -0,0 +1,750 @@
|
|
1
|
+
define("ace/ext/menu_tools/overlay_page",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
|
2
|
+
'use strict';
|
3
|
+
var dom = require("../../lib/dom");
|
4
|
+
var cssText = "#ace_settingsmenu, #kbshortcutmenu {\
|
5
|
+
background-color: #F7F7F7;\
|
6
|
+
color: black;\
|
7
|
+
box-shadow: -5px 4px 5px rgba(126, 126, 126, 0.55);\
|
8
|
+
padding: 1em 0.5em 2em 1em;\
|
9
|
+
overflow: auto;\
|
10
|
+
position: absolute;\
|
11
|
+
margin: 0;\
|
12
|
+
bottom: 0;\
|
13
|
+
right: 0;\
|
14
|
+
top: 0;\
|
15
|
+
z-index: 9991;\
|
16
|
+
cursor: default;\
|
17
|
+
}\
|
18
|
+
.ace_dark #ace_settingsmenu, .ace_dark #kbshortcutmenu {\
|
19
|
+
box-shadow: -20px 10px 25px rgba(126, 126, 126, 0.25);\
|
20
|
+
background-color: rgba(255, 255, 255, 0.6);\
|
21
|
+
color: black;\
|
22
|
+
}\
|
23
|
+
.ace_optionsMenuEntry:hover {\
|
24
|
+
background-color: rgba(100, 100, 100, 0.1);\
|
25
|
+
transition: all 0.3s\
|
26
|
+
}\
|
27
|
+
.ace_closeButton {\
|
28
|
+
background: rgba(245, 146, 146, 0.5);\
|
29
|
+
border: 1px solid #F48A8A;\
|
30
|
+
border-radius: 50%;\
|
31
|
+
padding: 7px;\
|
32
|
+
position: absolute;\
|
33
|
+
right: -8px;\
|
34
|
+
top: -8px;\
|
35
|
+
z-index: 100000;\
|
36
|
+
}\
|
37
|
+
.ace_closeButton{\
|
38
|
+
background: rgba(245, 146, 146, 0.9);\
|
39
|
+
}\
|
40
|
+
.ace_optionsMenuKey {\
|
41
|
+
color: darkslateblue;\
|
42
|
+
font-weight: bold;\
|
43
|
+
}\
|
44
|
+
.ace_optionsMenuCommand {\
|
45
|
+
color: darkcyan;\
|
46
|
+
font-weight: normal;\
|
47
|
+
}\
|
48
|
+
.ace_optionsMenuEntry input, .ace_optionsMenuEntry button {\
|
49
|
+
vertical-align: middle;\
|
50
|
+
}\
|
51
|
+
.ace_optionsMenuEntry button[ace_selected_button=true] {\
|
52
|
+
background: #e7e7e7;\
|
53
|
+
box-shadow: 1px 0px 2px 0px #adadad inset;\
|
54
|
+
border-color: #adadad;\
|
55
|
+
}\
|
56
|
+
.ace_optionsMenuEntry button {\
|
57
|
+
background: white;\
|
58
|
+
border: 1px solid lightgray;\
|
59
|
+
margin: 0px;\
|
60
|
+
}\
|
61
|
+
.ace_optionsMenuEntry button:hover{\
|
62
|
+
background: #f0f0f0;\
|
63
|
+
}";
|
64
|
+
dom.importCssString(cssText);
|
65
|
+
module.exports.overlayPage = function overlayPage(editor, contentElement, top, right, bottom, left) {
|
66
|
+
top = top ? 'top: ' + top + ';' : '';
|
67
|
+
bottom = bottom ? 'bottom: ' + bottom + ';' : '';
|
68
|
+
right = right ? 'right: ' + right + ';' : '';
|
69
|
+
left = left ? 'left: ' + left + ';' : '';
|
70
|
+
|
71
|
+
var closer = document.createElement('div');
|
72
|
+
var contentContainer = document.createElement('div');
|
73
|
+
|
74
|
+
function documentEscListener(e) {
|
75
|
+
if (e.keyCode === 27) {
|
76
|
+
closer.click();
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
closer.style.cssText = 'margin: 0; padding: 0; ' +
|
81
|
+
'position: fixed; top:0; bottom:0; left:0; right:0;' +
|
82
|
+
'z-index: 9990; ' +
|
83
|
+
'background-color: rgba(0, 0, 0, 0.3);';
|
84
|
+
closer.addEventListener('click', function() {
|
85
|
+
document.removeEventListener('keydown', documentEscListener);
|
86
|
+
closer.parentNode.removeChild(closer);
|
87
|
+
editor.focus();
|
88
|
+
closer = null;
|
89
|
+
});
|
90
|
+
document.addEventListener('keydown', documentEscListener);
|
91
|
+
|
92
|
+
contentContainer.style.cssText = top + right + bottom + left;
|
93
|
+
contentContainer.addEventListener('click', function(e) {
|
94
|
+
e.stopPropagation();
|
95
|
+
});
|
96
|
+
|
97
|
+
var wrapper = dom.createElement("div");
|
98
|
+
wrapper.style.position = "relative";
|
99
|
+
|
100
|
+
var closeButton = dom.createElement("div");
|
101
|
+
closeButton.className = "ace_closeButton";
|
102
|
+
closeButton.addEventListener('click', function() {
|
103
|
+
closer.click();
|
104
|
+
});
|
105
|
+
|
106
|
+
wrapper.appendChild(closeButton);
|
107
|
+
contentContainer.appendChild(wrapper);
|
108
|
+
|
109
|
+
contentContainer.appendChild(contentElement);
|
110
|
+
closer.appendChild(contentContainer);
|
111
|
+
document.body.appendChild(closer);
|
112
|
+
editor.blur();
|
113
|
+
};
|
114
|
+
|
115
|
+
});
|
116
|
+
|
117
|
+
define("ace/ext/modelist",["require","exports","module"], function(require, exports, module) {
|
118
|
+
"use strict";
|
119
|
+
|
120
|
+
var modes = [];
|
121
|
+
function getModeForPath(path) {
|
122
|
+
var mode = modesByName.text;
|
123
|
+
var fileName = path.split(/[\/\\]/).pop();
|
124
|
+
for (var i = 0; i < modes.length; i++) {
|
125
|
+
if (modes[i].supportsFile(fileName)) {
|
126
|
+
mode = modes[i];
|
127
|
+
break;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
return mode;
|
131
|
+
}
|
132
|
+
|
133
|
+
var Mode = function(name, caption, extensions) {
|
134
|
+
this.name = name;
|
135
|
+
this.caption = caption;
|
136
|
+
this.mode = "ace/mode/" + name;
|
137
|
+
this.extensions = extensions;
|
138
|
+
var re;
|
139
|
+
if (/\^/.test(extensions)) {
|
140
|
+
re = extensions.replace(/\|(\^)?/g, function(a, b){
|
141
|
+
return "$|" + (b ? "^" : "^.*\\.");
|
142
|
+
}) + "$";
|
143
|
+
} else {
|
144
|
+
re = "^.*\\.(" + extensions + ")$";
|
145
|
+
}
|
146
|
+
|
147
|
+
this.extRe = new RegExp(re, "gi");
|
148
|
+
};
|
149
|
+
|
150
|
+
Mode.prototype.supportsFile = function(filename) {
|
151
|
+
return filename.match(this.extRe);
|
152
|
+
};
|
153
|
+
var supportedModes = {
|
154
|
+
ABAP: ["abap"],
|
155
|
+
ABC: ["abc"],
|
156
|
+
ActionScript:["as"],
|
157
|
+
ADA: ["ada|adb"],
|
158
|
+
Apache_Conf: ["^htaccess|^htgroups|^htpasswd|^conf|htaccess|htgroups|htpasswd"],
|
159
|
+
AsciiDoc: ["asciidoc|adoc"],
|
160
|
+
ASL: ["dsl|asl"],
|
161
|
+
Assembly_x86:["asm|a"],
|
162
|
+
AutoHotKey: ["ahk"],
|
163
|
+
BatchFile: ["bat|cmd"],
|
164
|
+
Bro: ["bro"],
|
165
|
+
C_Cpp: ["cpp|c|cc|cxx|h|hh|hpp|ino"],
|
166
|
+
C9Search: ["c9search_results"],
|
167
|
+
Cirru: ["cirru|cr"],
|
168
|
+
Clojure: ["clj|cljs"],
|
169
|
+
Cobol: ["CBL|COB"],
|
170
|
+
coffee: ["coffee|cf|cson|^Cakefile"],
|
171
|
+
ColdFusion: ["cfm"],
|
172
|
+
CSharp: ["cs"],
|
173
|
+
Csound_Document: ["csd"],
|
174
|
+
Csound_Orchestra: ["orc"],
|
175
|
+
Csound_Score: ["sco"],
|
176
|
+
CSS: ["css"],
|
177
|
+
Curly: ["curly"],
|
178
|
+
D: ["d|di"],
|
179
|
+
Dart: ["dart"],
|
180
|
+
Diff: ["diff|patch"],
|
181
|
+
Dockerfile: ["^Dockerfile"],
|
182
|
+
Dot: ["dot"],
|
183
|
+
Drools: ["drl"],
|
184
|
+
Edifact: ["edi"],
|
185
|
+
Eiffel: ["e|ge"],
|
186
|
+
EJS: ["ejs"],
|
187
|
+
Elixir: ["ex|exs"],
|
188
|
+
Elm: ["elm"],
|
189
|
+
Erlang: ["erl|hrl"],
|
190
|
+
Forth: ["frt|fs|ldr|fth|4th"],
|
191
|
+
Fortran: ["f|f90"],
|
192
|
+
FSharp: ["fsi|fs|ml|mli|fsx|fsscript"],
|
193
|
+
FTL: ["ftl"],
|
194
|
+
Gcode: ["gcode"],
|
195
|
+
Gherkin: ["feature"],
|
196
|
+
Gitignore: ["^.gitignore"],
|
197
|
+
Glsl: ["glsl|frag|vert"],
|
198
|
+
Gobstones: ["gbs"],
|
199
|
+
golang: ["go"],
|
200
|
+
GraphQLSchema: ["gql"],
|
201
|
+
Groovy: ["groovy"],
|
202
|
+
HAML: ["haml"],
|
203
|
+
Handlebars: ["hbs|handlebars|tpl|mustache"],
|
204
|
+
Haskell: ["hs"],
|
205
|
+
Haskell_Cabal: ["cabal"],
|
206
|
+
haXe: ["hx"],
|
207
|
+
Hjson: ["hjson"],
|
208
|
+
HTML: ["html|htm|xhtml|vue|we|wpy"],
|
209
|
+
HTML_Elixir: ["eex|html.eex"],
|
210
|
+
HTML_Ruby: ["erb|rhtml|html.erb"],
|
211
|
+
INI: ["ini|conf|cfg|prefs"],
|
212
|
+
Io: ["io"],
|
213
|
+
Jack: ["jack"],
|
214
|
+
Jade: ["jade|pug"],
|
215
|
+
Java: ["java"],
|
216
|
+
JavaScript: ["js|jsm|jsx"],
|
217
|
+
JSON: ["json"],
|
218
|
+
JSONiq: ["jq"],
|
219
|
+
JSP: ["jsp"],
|
220
|
+
JSSM: ["jssm|jssm_state"],
|
221
|
+
JSX: ["jsx"],
|
222
|
+
Julia: ["jl"],
|
223
|
+
Kotlin: ["kt|kts"],
|
224
|
+
LaTeX: ["tex|latex|ltx|bib"],
|
225
|
+
LESS: ["less"],
|
226
|
+
Liquid: ["liquid"],
|
227
|
+
Lisp: ["lisp"],
|
228
|
+
LiveScript: ["ls"],
|
229
|
+
LogiQL: ["logic|lql"],
|
230
|
+
LSL: ["lsl"],
|
231
|
+
Lua: ["lua"],
|
232
|
+
LuaPage: ["lp"],
|
233
|
+
Lucene: ["lucene"],
|
234
|
+
Makefile: ["^Makefile|^GNUmakefile|^makefile|^OCamlMakefile|make"],
|
235
|
+
Markdown: ["md|markdown"],
|
236
|
+
Mask: ["mask"],
|
237
|
+
MATLAB: ["matlab"],
|
238
|
+
Maze: ["mz"],
|
239
|
+
MEL: ["mel"],
|
240
|
+
MIXAL: ["mixal"],
|
241
|
+
MUSHCode: ["mc|mush"],
|
242
|
+
MySQL: ["mysql"],
|
243
|
+
Nix: ["nix"],
|
244
|
+
NSIS: ["nsi|nsh"],
|
245
|
+
ObjectiveC: ["m|mm"],
|
246
|
+
OCaml: ["ml|mli"],
|
247
|
+
Pascal: ["pas|p"],
|
248
|
+
Perl: ["pl|pm"],
|
249
|
+
pgSQL: ["pgsql"],
|
250
|
+
PHP_Laravel_blade: ["blade.php"],
|
251
|
+
PHP: ["php|phtml|shtml|php3|php4|php5|phps|phpt|aw|ctp|module"],
|
252
|
+
Puppet: ["epp|pp"],
|
253
|
+
Pig: ["pig"],
|
254
|
+
Powershell: ["ps1"],
|
255
|
+
Praat: ["praat|praatscript|psc|proc"],
|
256
|
+
Prolog: ["plg|prolog"],
|
257
|
+
Properties: ["properties"],
|
258
|
+
Protobuf: ["proto"],
|
259
|
+
Python: ["py"],
|
260
|
+
R: ["r"],
|
261
|
+
Razor: ["cshtml|asp"],
|
262
|
+
RDoc: ["Rd"],
|
263
|
+
Red: ["red|reds"],
|
264
|
+
RHTML: ["Rhtml"],
|
265
|
+
RST: ["rst"],
|
266
|
+
Ruby: ["rb|ru|gemspec|rake|^Guardfile|^Rakefile|^Gemfile"],
|
267
|
+
Rust: ["rs"],
|
268
|
+
SASS: ["sass"],
|
269
|
+
SCAD: ["scad"],
|
270
|
+
Scala: ["scala"],
|
271
|
+
Scheme: ["scm|sm|rkt|oak|scheme"],
|
272
|
+
SCSS: ["scss"],
|
273
|
+
SH: ["sh|bash|^.bashrc"],
|
274
|
+
SJS: ["sjs"],
|
275
|
+
Slim: ["slim|skim"],
|
276
|
+
Smarty: ["smarty|tpl"],
|
277
|
+
snippets: ["snippets"],
|
278
|
+
Soy_Template:["soy"],
|
279
|
+
Space: ["space"],
|
280
|
+
SQL: ["sql"],
|
281
|
+
SQLServer: ["sqlserver"],
|
282
|
+
Stylus: ["styl|stylus"],
|
283
|
+
SVG: ["svg"],
|
284
|
+
Swift: ["swift"],
|
285
|
+
Tcl: ["tcl"],
|
286
|
+
Terraform: ["tf", "tfvars", "terragrunt"],
|
287
|
+
Tex: ["tex"],
|
288
|
+
Text: ["txt"],
|
289
|
+
Textile: ["textile"],
|
290
|
+
Toml: ["toml"],
|
291
|
+
TSX: ["tsx"],
|
292
|
+
Twig: ["twig|swig"],
|
293
|
+
Typescript: ["ts|typescript|str"],
|
294
|
+
Vala: ["vala"],
|
295
|
+
VBScript: ["vbs|vb"],
|
296
|
+
Velocity: ["vm"],
|
297
|
+
Verilog: ["v|vh|sv|svh"],
|
298
|
+
VHDL: ["vhd|vhdl"],
|
299
|
+
Wollok: ["wlk|wpgm|wtest"],
|
300
|
+
XML: ["xml|rdf|rss|wsdl|xslt|atom|mathml|mml|xul|xbl|xaml"],
|
301
|
+
XQuery: ["xq"],
|
302
|
+
YAML: ["yaml|yml"],
|
303
|
+
Django: ["html"]
|
304
|
+
};
|
305
|
+
|
306
|
+
var nameOverrides = {
|
307
|
+
ObjectiveC: "Objective-C",
|
308
|
+
CSharp: "C#",
|
309
|
+
golang: "Go",
|
310
|
+
C_Cpp: "C and C++",
|
311
|
+
Csound_Document: "Csound Document",
|
312
|
+
Csound_Orchestra: "Csound",
|
313
|
+
Csound_Score: "Csound Score",
|
314
|
+
coffee: "CoffeeScript",
|
315
|
+
HTML_Ruby: "HTML (Ruby)",
|
316
|
+
HTML_Elixir: "HTML (Elixir)",
|
317
|
+
FTL: "FreeMarker",
|
318
|
+
PHP_Laravel_blade: "PHP (Blade Template)"
|
319
|
+
};
|
320
|
+
var modesByName = {};
|
321
|
+
for (var name in supportedModes) {
|
322
|
+
var data = supportedModes[name];
|
323
|
+
var displayName = (nameOverrides[name] || name).replace(/_/g, " ");
|
324
|
+
var filename = name.toLowerCase();
|
325
|
+
var mode = new Mode(filename, displayName, data[0]);
|
326
|
+
modesByName[filename] = mode;
|
327
|
+
modes.push(mode);
|
328
|
+
}
|
329
|
+
|
330
|
+
module.exports = {
|
331
|
+
getModeForPath: getModeForPath,
|
332
|
+
modes: modes,
|
333
|
+
modesByName: modesByName
|
334
|
+
};
|
335
|
+
|
336
|
+
});
|
337
|
+
|
338
|
+
define("ace/ext/themelist",["require","exports","module","ace/lib/fixoldbrowsers"], function(require, exports, module) {
|
339
|
+
"use strict";
|
340
|
+
require("ace/lib/fixoldbrowsers");
|
341
|
+
|
342
|
+
var themeData = [
|
343
|
+
["Chrome" ],
|
344
|
+
["Clouds" ],
|
345
|
+
["Crimson Editor" ],
|
346
|
+
["Dawn" ],
|
347
|
+
["Dreamweaver" ],
|
348
|
+
["Eclipse" ],
|
349
|
+
["GitHub" ],
|
350
|
+
["IPlastic" ],
|
351
|
+
["Solarized Light"],
|
352
|
+
["TextMate" ],
|
353
|
+
["Tomorrow" ],
|
354
|
+
["XCode" ],
|
355
|
+
["Kuroir"],
|
356
|
+
["KatzenMilch"],
|
357
|
+
["SQL Server" ,"sqlserver" , "light"],
|
358
|
+
["Ambiance" ,"ambiance" , "dark"],
|
359
|
+
["Chaos" ,"chaos" , "dark"],
|
360
|
+
["Clouds Midnight" ,"clouds_midnight" , "dark"],
|
361
|
+
["Dracula" ,"" , "dark"],
|
362
|
+
["Cobalt" ,"cobalt" , "dark"],
|
363
|
+
["Gruvbox" ,"gruvbox" , "dark"],
|
364
|
+
["Green on Black" ,"gob" , "dark"],
|
365
|
+
["idle Fingers" ,"idle_fingers" , "dark"],
|
366
|
+
["krTheme" ,"kr_theme" , "dark"],
|
367
|
+
["Merbivore" ,"merbivore" , "dark"],
|
368
|
+
["Merbivore Soft" ,"merbivore_soft" , "dark"],
|
369
|
+
["Mono Industrial" ,"mono_industrial" , "dark"],
|
370
|
+
["Monokai" ,"monokai" , "dark"],
|
371
|
+
["Pastel on dark" ,"pastel_on_dark" , "dark"],
|
372
|
+
["Solarized Dark" ,"solarized_dark" , "dark"],
|
373
|
+
["Terminal" ,"terminal" , "dark"],
|
374
|
+
["Tomorrow Night" ,"tomorrow_night" , "dark"],
|
375
|
+
["Tomorrow Night Blue" ,"tomorrow_night_blue" , "dark"],
|
376
|
+
["Tomorrow Night Bright","tomorrow_night_bright" , "dark"],
|
377
|
+
["Tomorrow Night 80s" ,"tomorrow_night_eighties" , "dark"],
|
378
|
+
["Twilight" ,"twilight" , "dark"],
|
379
|
+
["Vibrant Ink" ,"vibrant_ink" , "dark"]
|
380
|
+
];
|
381
|
+
|
382
|
+
|
383
|
+
exports.themesByName = {};
|
384
|
+
exports.themes = themeData.map(function(data) {
|
385
|
+
var name = data[1] || data[0].replace(/ /g, "_").toLowerCase();
|
386
|
+
var theme = {
|
387
|
+
caption: data[0],
|
388
|
+
theme: "ace/theme/" + name,
|
389
|
+
isDark: data[2] == "dark",
|
390
|
+
name: name
|
391
|
+
};
|
392
|
+
exports.themesByName[name] = theme;
|
393
|
+
return theme;
|
394
|
+
});
|
395
|
+
|
396
|
+
});
|
397
|
+
|
398
|
+
define("ace/ext/options",["require","exports","module","ace/ext/menu_tools/overlay_page","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter","ace/ext/modelist","ace/ext/themelist"], function(require, exports, module) {
|
399
|
+
"use strict";
|
400
|
+
var overlayPage = require('./menu_tools/overlay_page').overlayPage;
|
401
|
+
|
402
|
+
|
403
|
+
var dom = require("../lib/dom");
|
404
|
+
var oop = require("../lib/oop");
|
405
|
+
var EventEmitter = require("../lib/event_emitter").EventEmitter;
|
406
|
+
var buildDom = dom.buildDom;
|
407
|
+
|
408
|
+
var modelist = require("./modelist");
|
409
|
+
var themelist = require("./themelist");
|
410
|
+
|
411
|
+
var themes = { Bright: [], Dark: [] };
|
412
|
+
themelist.themes.forEach(function(x) {
|
413
|
+
themes[x.isDark ? "Dark" : "Bright"].push({ caption: x.caption, value: x.theme });
|
414
|
+
});
|
415
|
+
|
416
|
+
var modes = modelist.modes.map(function(x){
|
417
|
+
return { caption: x.caption, value: x.mode };
|
418
|
+
});
|
419
|
+
|
420
|
+
|
421
|
+
var optionGroups = {
|
422
|
+
Main: {
|
423
|
+
Mode: {
|
424
|
+
path: "mode",
|
425
|
+
type: "select",
|
426
|
+
items: modes
|
427
|
+
},
|
428
|
+
Theme: {
|
429
|
+
path: "theme",
|
430
|
+
type: "select",
|
431
|
+
items: themes
|
432
|
+
},
|
433
|
+
"Keybinding": {
|
434
|
+
type: "buttonBar",
|
435
|
+
path: "keyboardHandler",
|
436
|
+
items: [
|
437
|
+
{ caption : "Ace", value : null },
|
438
|
+
{ caption : "Vim", value : "ace/keyboard/vim" },
|
439
|
+
{ caption : "Emacs", value : "ace/keyboard/emacs" }
|
440
|
+
]
|
441
|
+
},
|
442
|
+
"Font Size": {
|
443
|
+
path: "fontSize",
|
444
|
+
type: "number",
|
445
|
+
defaultValue: 12,
|
446
|
+
defaults: [
|
447
|
+
{caption: "12px", value: 12},
|
448
|
+
{caption: "24px", value: 24}
|
449
|
+
]
|
450
|
+
},
|
451
|
+
"Soft Wrap": {
|
452
|
+
type: "buttonBar",
|
453
|
+
path: "wrap",
|
454
|
+
items: [
|
455
|
+
{ caption : "Off", value : "off" },
|
456
|
+
{ caption : "View", value : "free" },
|
457
|
+
{ caption : "margin", value : "printMargin" },
|
458
|
+
{ caption : "40", value : "40" }
|
459
|
+
]
|
460
|
+
},
|
461
|
+
"Cursor Style": {
|
462
|
+
path: "cursorStyle",
|
463
|
+
items: [
|
464
|
+
{ caption : "Ace", value : "ace" },
|
465
|
+
{ caption : "Slim", value : "slim" },
|
466
|
+
{ caption : "Smooth", value : "smooth" },
|
467
|
+
{ caption : "Smooth And Slim", value : "smooth slim" },
|
468
|
+
{ caption : "Wide", value : "wide" }
|
469
|
+
]
|
470
|
+
},
|
471
|
+
"Folding": {
|
472
|
+
path: "foldStyle",
|
473
|
+
items: [
|
474
|
+
{ caption : "Manual", value : "manual" },
|
475
|
+
{ caption : "Mark begin", value : "markbegin" },
|
476
|
+
{ caption : "Mark begin and end", value : "markbeginend" }
|
477
|
+
]
|
478
|
+
},
|
479
|
+
"Soft Tabs": [{
|
480
|
+
path: "useSoftTabs"
|
481
|
+
}, {
|
482
|
+
path: "tabSize",
|
483
|
+
type: "number",
|
484
|
+
values: [2, 3, 4, 8, 16]
|
485
|
+
}],
|
486
|
+
"Overscroll": {
|
487
|
+
type: "buttonBar",
|
488
|
+
path: "scrollPastEnd",
|
489
|
+
items: [
|
490
|
+
{ caption : "None", value : 0 },
|
491
|
+
{ caption : "Half", value : 0.5 },
|
492
|
+
{ caption : "Full", value : 1 }
|
493
|
+
]
|
494
|
+
}
|
495
|
+
},
|
496
|
+
More: {
|
497
|
+
"Atomic soft tabs": {
|
498
|
+
path: "navigateWithinSoftTabs"
|
499
|
+
},
|
500
|
+
"Enable Behaviours": {
|
501
|
+
path: "behavioursEnabled"
|
502
|
+
},
|
503
|
+
"Full Line Selection": {
|
504
|
+
type: "checkbox",
|
505
|
+
values: "text|line",
|
506
|
+
path: "selectionStyle"
|
507
|
+
},
|
508
|
+
"Highlight Active Line": {
|
509
|
+
path: "highlightActiveLine"
|
510
|
+
},
|
511
|
+
"Show Invisibles": {
|
512
|
+
path: "showInvisibles"
|
513
|
+
},
|
514
|
+
"Show Indent Guides": {
|
515
|
+
path: "displayIndentGuides"
|
516
|
+
},
|
517
|
+
"Persistent Scrollbar": [{
|
518
|
+
path: "hScrollBarAlwaysVisible"
|
519
|
+
}, {
|
520
|
+
path: "vScrollBarAlwaysVisible"
|
521
|
+
}],
|
522
|
+
"Animate scrolling": {
|
523
|
+
path: "animatedScroll"
|
524
|
+
},
|
525
|
+
"Show Gutter": {
|
526
|
+
path: "showGutter"
|
527
|
+
},
|
528
|
+
"Show Line Numbers": {
|
529
|
+
path: "showLineNumbers"
|
530
|
+
},
|
531
|
+
"Relative Line Numbers": {
|
532
|
+
path: "relativeLineNumbers"
|
533
|
+
},
|
534
|
+
"Fixed Gutter Width": {
|
535
|
+
path: "fixedWidthGutter"
|
536
|
+
},
|
537
|
+
"Show Print Margin": [{
|
538
|
+
path: "showPrintMargin"
|
539
|
+
}, {
|
540
|
+
type: "number",
|
541
|
+
path: "printMarginColumn"
|
542
|
+
}],
|
543
|
+
"Indented Soft Wrap": {
|
544
|
+
path: "indentedSoftWrap"
|
545
|
+
},
|
546
|
+
"Highlight selected word": {
|
547
|
+
path: "highlightSelectedWord"
|
548
|
+
},
|
549
|
+
"Fade Fold Widgets": {
|
550
|
+
path: "fadeFoldWidgets"
|
551
|
+
},
|
552
|
+
"Use textarea for IME": {
|
553
|
+
path: "useTextareaForIME"
|
554
|
+
},
|
555
|
+
"Merge Undo Deltas": {
|
556
|
+
path: "mergeUndoDeltas",
|
557
|
+
items: [
|
558
|
+
{ caption : "Always", value : "always" },
|
559
|
+
{ caption : "Never", value : "false" },
|
560
|
+
{ caption : "Timed", value : "true" }
|
561
|
+
]
|
562
|
+
},
|
563
|
+
"Elastic Tabstops": {
|
564
|
+
path: "useElasticTabstops"
|
565
|
+
},
|
566
|
+
"Incremental Search": {
|
567
|
+
path: "useIncrementalSearch"
|
568
|
+
},
|
569
|
+
"Read-only": {
|
570
|
+
path: "readOnly"
|
571
|
+
},
|
572
|
+
"Copy without selection": {
|
573
|
+
path: "copyWithEmptySelection"
|
574
|
+
},
|
575
|
+
"Live Autocompletion": {
|
576
|
+
path: "enableLiveAutocompletion"
|
577
|
+
}
|
578
|
+
}
|
579
|
+
};
|
580
|
+
|
581
|
+
|
582
|
+
var OptionPanel = function(editor, element) {
|
583
|
+
this.editor = editor;
|
584
|
+
this.container = element || document.createElement("div");
|
585
|
+
this.groups = [];
|
586
|
+
this.options = {};
|
587
|
+
};
|
588
|
+
|
589
|
+
(function() {
|
590
|
+
|
591
|
+
oop.implement(this, EventEmitter);
|
592
|
+
|
593
|
+
this.add = function(config) {
|
594
|
+
if (config.Main)
|
595
|
+
oop.mixin(optionGroups.Main, config.Main);
|
596
|
+
if (config.More)
|
597
|
+
oop.mixin(optionGroups.More, config.More);
|
598
|
+
};
|
599
|
+
|
600
|
+
this.render = function() {
|
601
|
+
this.container.innerHTML = "";
|
602
|
+
buildDom(["table", {id: "controls"},
|
603
|
+
this.renderOptionGroup(optionGroups.Main),
|
604
|
+
["tr", null, ["td", {colspan: 2},
|
605
|
+
["table", {id: "more-controls"},
|
606
|
+
this.renderOptionGroup(optionGroups.More)
|
607
|
+
]
|
608
|
+
]]
|
609
|
+
], this.container);
|
610
|
+
};
|
611
|
+
|
612
|
+
this.renderOptionGroup = function(group) {
|
613
|
+
return Object.keys(group).map(function(key, i) {
|
614
|
+
var item = group[key];
|
615
|
+
if (!item.position)
|
616
|
+
item.position = i / 10000;
|
617
|
+
if (!item.label)
|
618
|
+
item.label = key;
|
619
|
+
return item;
|
620
|
+
}).sort(function(a, b) {
|
621
|
+
return a.position - b.position;
|
622
|
+
}).map(function(item) {
|
623
|
+
return this.renderOption(item.label, item);
|
624
|
+
}, this);
|
625
|
+
};
|
626
|
+
|
627
|
+
this.renderOptionControl = function(key, option) {
|
628
|
+
var self = this;
|
629
|
+
if (Array.isArray(option)) {
|
630
|
+
return option.map(function(x) {
|
631
|
+
return self.renderOptionControl(key, x);
|
632
|
+
});
|
633
|
+
}
|
634
|
+
var control;
|
635
|
+
|
636
|
+
var value = self.getOption(option);
|
637
|
+
|
638
|
+
if (option.values && option.type != "checkbox") {
|
639
|
+
if (typeof option.values == "string")
|
640
|
+
option.values = option.values.split("|");
|
641
|
+
option.items = option.values.map(function(v) {
|
642
|
+
return { value: v, name: v };
|
643
|
+
});
|
644
|
+
}
|
645
|
+
|
646
|
+
if (option.type == "buttonBar") {
|
647
|
+
control = ["div", option.items.map(function(item) {
|
648
|
+
return ["button", {
|
649
|
+
value: item.value,
|
650
|
+
ace_selected_button: value == item.value,
|
651
|
+
onclick: function() {
|
652
|
+
self.setOption(option, item.value);
|
653
|
+
var nodes = this.parentNode.querySelectorAll("[ace_selected_button]");
|
654
|
+
for (var i = 0; i < nodes.length; i++) {
|
655
|
+
nodes[i].removeAttribute("ace_selected_button");
|
656
|
+
}
|
657
|
+
this.setAttribute("ace_selected_button", true);
|
658
|
+
}
|
659
|
+
}, item.desc || item.caption || item.name];
|
660
|
+
})];
|
661
|
+
} else if (option.type == "number") {
|
662
|
+
control = ["input", {type: "number", value: value || option.defaultValue, style:"width:3em", oninput: function() {
|
663
|
+
self.setOption(option, parseInt(this.value));
|
664
|
+
}}];
|
665
|
+
if (option.defaults) {
|
666
|
+
control = [control, option.defaults.map(function(item) {
|
667
|
+
return ["button", {onclick: function() {
|
668
|
+
var input = this.parentNode.firstChild;
|
669
|
+
input.value = item.value;
|
670
|
+
input.oninput();
|
671
|
+
}}, item.caption];
|
672
|
+
})];
|
673
|
+
}
|
674
|
+
} else if (option.items) {
|
675
|
+
var buildItems = function(items) {
|
676
|
+
return items.map(function(item) {
|
677
|
+
return ["option", { value: item.value || item.name }, item.desc || item.caption || item.name];
|
678
|
+
});
|
679
|
+
};
|
680
|
+
|
681
|
+
var items = Array.isArray(option.items)
|
682
|
+
? buildItems(option.items)
|
683
|
+
: Object.keys(option.items).map(function(key) {
|
684
|
+
return ["optgroup", {"label": key}, buildItems(option.items[key])];
|
685
|
+
});
|
686
|
+
control = ["select", { id: key, value: value, onchange: function() {
|
687
|
+
self.setOption(option, this.value);
|
688
|
+
} }, items];
|
689
|
+
} else {
|
690
|
+
if (typeof option.values == "string")
|
691
|
+
option.values = option.values.split("|");
|
692
|
+
if (option.values) value = value == option.values[1];
|
693
|
+
control = ["input", { type: "checkbox", id: key, checked: value || null, onchange: function() {
|
694
|
+
var value = this.checked;
|
695
|
+
if (option.values) value = option.values[value ? 1 : 0];
|
696
|
+
self.setOption(option, value);
|
697
|
+
}}];
|
698
|
+
if (option.type == "checkedNumber") {
|
699
|
+
control = [control, []];
|
700
|
+
}
|
701
|
+
}
|
702
|
+
return control;
|
703
|
+
};
|
704
|
+
|
705
|
+
this.renderOption = function(key, option) {
|
706
|
+
if (option.path && !option.onchange && !this.editor.$options[option.path])
|
707
|
+
return;
|
708
|
+
this.options[option.path] = option;
|
709
|
+
var safeKey = "-" + option.path;
|
710
|
+
var control = this.renderOptionControl(safeKey, option);
|
711
|
+
return ["tr", {class: "ace_optionsMenuEntry"}, ["td",
|
712
|
+
["label", {for: safeKey}, key]
|
713
|
+
], ["td", control]];
|
714
|
+
};
|
715
|
+
|
716
|
+
this.setOption = function(option, value) {
|
717
|
+
if (typeof option == "string")
|
718
|
+
option = this.options[option];
|
719
|
+
if (value == "false") value = false;
|
720
|
+
if (value == "true") value = true;
|
721
|
+
if (value == "null") value = null;
|
722
|
+
if (value == "undefined") value = undefined;
|
723
|
+
if (typeof value == "string" && parseFloat(value).toString() == value)
|
724
|
+
value = parseFloat(value);
|
725
|
+
if (option.onchange)
|
726
|
+
option.onchange(value);
|
727
|
+
else if (option.path)
|
728
|
+
this.editor.setOption(option.path, value);
|
729
|
+
this._signal("setOption", {name: option.path, value: value});
|
730
|
+
};
|
731
|
+
|
732
|
+
this.getOption = function(option) {
|
733
|
+
if (option.getValue)
|
734
|
+
return option.getValue();
|
735
|
+
return this.editor.getOption(option.path);
|
736
|
+
};
|
737
|
+
|
738
|
+
}).call(OptionPanel.prototype);
|
739
|
+
|
740
|
+
exports.OptionPanel = OptionPanel;
|
741
|
+
|
742
|
+
});
|
743
|
+
(function() {
|
744
|
+
window.require(["ace/ext/options"], function(m) {
|
745
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
746
|
+
module.exports = m;
|
747
|
+
}
|
748
|
+
});
|
749
|
+
})();
|
750
|
+
|