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,677 @@
|
|
1
|
+
define("ace/mode/xml_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 XmlHighlightRules = function(normalize) {
|
8
|
+
var tagRegex = "[_:a-zA-Z\xc0-\uffff][-_:.a-zA-Z0-9\xc0-\uffff]*";
|
9
|
+
|
10
|
+
this.$rules = {
|
11
|
+
start : [
|
12
|
+
{token : "string.cdata.xml", regex : "<\\!\\[CDATA\\[", next : "cdata"},
|
13
|
+
{
|
14
|
+
token : ["punctuation.instruction.xml", "keyword.instruction.xml"],
|
15
|
+
regex : "(<\\?)(" + tagRegex + ")", next : "processing_instruction"
|
16
|
+
},
|
17
|
+
{token : "comment.start.xml", regex : "<\\!--", next : "comment"},
|
18
|
+
{
|
19
|
+
token : ["xml-pe.doctype.xml", "xml-pe.doctype.xml"],
|
20
|
+
regex : "(<\\!)(DOCTYPE)(?=[\\s])", next : "doctype", caseInsensitive: true
|
21
|
+
},
|
22
|
+
{include : "tag"},
|
23
|
+
{token : "text.end-tag-open.xml", regex: "</"},
|
24
|
+
{token : "text.tag-open.xml", regex: "<"},
|
25
|
+
{include : "reference"},
|
26
|
+
{defaultToken : "text.xml"}
|
27
|
+
],
|
28
|
+
|
29
|
+
processing_instruction : [{
|
30
|
+
token : "entity.other.attribute-name.decl-attribute-name.xml",
|
31
|
+
regex : tagRegex
|
32
|
+
}, {
|
33
|
+
token : "keyword.operator.decl-attribute-equals.xml",
|
34
|
+
regex : "="
|
35
|
+
}, {
|
36
|
+
include: "whitespace"
|
37
|
+
}, {
|
38
|
+
include: "string"
|
39
|
+
}, {
|
40
|
+
token : "punctuation.xml-decl.xml",
|
41
|
+
regex : "\\?>",
|
42
|
+
next : "start"
|
43
|
+
}],
|
44
|
+
|
45
|
+
doctype : [
|
46
|
+
{include : "whitespace"},
|
47
|
+
{include : "string"},
|
48
|
+
{token : "xml-pe.doctype.xml", regex : ">", next : "start"},
|
49
|
+
{token : "xml-pe.xml", regex : "[-_a-zA-Z0-9:]+"},
|
50
|
+
{token : "punctuation.int-subset", regex : "\\[", push : "int_subset"}
|
51
|
+
],
|
52
|
+
|
53
|
+
int_subset : [{
|
54
|
+
token : "text.xml",
|
55
|
+
regex : "\\s+"
|
56
|
+
}, {
|
57
|
+
token: "punctuation.int-subset.xml",
|
58
|
+
regex: "]",
|
59
|
+
next: "pop"
|
60
|
+
}, {
|
61
|
+
token : ["punctuation.markup-decl.xml", "keyword.markup-decl.xml"],
|
62
|
+
regex : "(<\\!)(" + tagRegex + ")",
|
63
|
+
push : [{
|
64
|
+
token : "text",
|
65
|
+
regex : "\\s+"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
token : "punctuation.markup-decl.xml",
|
69
|
+
regex : ">",
|
70
|
+
next : "pop"
|
71
|
+
},
|
72
|
+
{include : "string"}]
|
73
|
+
}],
|
74
|
+
|
75
|
+
cdata : [
|
76
|
+
{token : "string.cdata.xml", regex : "\\]\\]>", next : "start"},
|
77
|
+
{token : "text.xml", regex : "\\s+"},
|
78
|
+
{token : "text.xml", regex : "(?:[^\\]]|\\](?!\\]>))+"}
|
79
|
+
],
|
80
|
+
|
81
|
+
comment : [
|
82
|
+
{token : "comment.end.xml", regex : "-->", next : "start"},
|
83
|
+
{defaultToken : "comment.xml"}
|
84
|
+
],
|
85
|
+
|
86
|
+
reference : [{
|
87
|
+
token : "constant.language.escape.reference.xml",
|
88
|
+
regex : "(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"
|
89
|
+
}],
|
90
|
+
|
91
|
+
attr_reference : [{
|
92
|
+
token : "constant.language.escape.reference.attribute-value.xml",
|
93
|
+
regex : "(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"
|
94
|
+
}],
|
95
|
+
|
96
|
+
tag : [{
|
97
|
+
token : ["meta.tag.punctuation.tag-open.xml", "meta.tag.punctuation.end-tag-open.xml", "meta.tag.tag-name.xml"],
|
98
|
+
regex : "(?:(<)|(</))((?:" + tagRegex + ":)?" + tagRegex + ")",
|
99
|
+
next: [
|
100
|
+
{include : "attributes"},
|
101
|
+
{token : "meta.tag.punctuation.tag-close.xml", regex : "/?>", next : "start"}
|
102
|
+
]
|
103
|
+
}],
|
104
|
+
|
105
|
+
tag_whitespace : [
|
106
|
+
{token : "text.tag-whitespace.xml", regex : "\\s+"}
|
107
|
+
],
|
108
|
+
whitespace : [
|
109
|
+
{token : "text.whitespace.xml", regex : "\\s+"}
|
110
|
+
],
|
111
|
+
string: [{
|
112
|
+
token : "string.xml",
|
113
|
+
regex : "'",
|
114
|
+
push : [
|
115
|
+
{token : "string.xml", regex: "'", next: "pop"},
|
116
|
+
{defaultToken : "string.xml"}
|
117
|
+
]
|
118
|
+
}, {
|
119
|
+
token : "string.xml",
|
120
|
+
regex : '"',
|
121
|
+
push : [
|
122
|
+
{token : "string.xml", regex: '"', next: "pop"},
|
123
|
+
{defaultToken : "string.xml"}
|
124
|
+
]
|
125
|
+
}],
|
126
|
+
|
127
|
+
attributes: [{
|
128
|
+
token : "entity.other.attribute-name.xml",
|
129
|
+
regex : tagRegex
|
130
|
+
}, {
|
131
|
+
token : "keyword.operator.attribute-equals.xml",
|
132
|
+
regex : "="
|
133
|
+
}, {
|
134
|
+
include: "tag_whitespace"
|
135
|
+
}, {
|
136
|
+
include: "attribute_value"
|
137
|
+
}],
|
138
|
+
|
139
|
+
attribute_value: [{
|
140
|
+
token : "string.attribute-value.xml",
|
141
|
+
regex : "'",
|
142
|
+
push : [
|
143
|
+
{token : "string.attribute-value.xml", regex: "'", next: "pop"},
|
144
|
+
{include : "attr_reference"},
|
145
|
+
{defaultToken : "string.attribute-value.xml"}
|
146
|
+
]
|
147
|
+
}, {
|
148
|
+
token : "string.attribute-value.xml",
|
149
|
+
regex : '"',
|
150
|
+
push : [
|
151
|
+
{token : "string.attribute-value.xml", regex: '"', next: "pop"},
|
152
|
+
{include : "attr_reference"},
|
153
|
+
{defaultToken : "string.attribute-value.xml"}
|
154
|
+
]
|
155
|
+
}]
|
156
|
+
};
|
157
|
+
|
158
|
+
if (this.constructor === XmlHighlightRules)
|
159
|
+
this.normalizeRules();
|
160
|
+
};
|
161
|
+
|
162
|
+
|
163
|
+
(function() {
|
164
|
+
|
165
|
+
this.embedTagRules = function(HighlightRules, prefix, tag){
|
166
|
+
this.$rules.tag.unshift({
|
167
|
+
token : ["meta.tag.punctuation.tag-open.xml", "meta.tag." + tag + ".tag-name.xml"],
|
168
|
+
regex : "(<)(" + tag + "(?=\\s|>|$))",
|
169
|
+
next: [
|
170
|
+
{include : "attributes"},
|
171
|
+
{token : "meta.tag.punctuation.tag-close.xml", regex : "/?>", next : prefix + "start"}
|
172
|
+
]
|
173
|
+
});
|
174
|
+
|
175
|
+
this.$rules[tag + "-end"] = [
|
176
|
+
{include : "attributes"},
|
177
|
+
{token : "meta.tag.punctuation.tag-close.xml", regex : "/?>", next: "start",
|
178
|
+
onMatch : function(value, currentState, stack) {
|
179
|
+
stack.splice(0);
|
180
|
+
return this.token;
|
181
|
+
}}
|
182
|
+
];
|
183
|
+
|
184
|
+
this.embedRules(HighlightRules, prefix, [{
|
185
|
+
token: ["meta.tag.punctuation.end-tag-open.xml", "meta.tag." + tag + ".tag-name.xml"],
|
186
|
+
regex : "(</)(" + tag + "(?=\\s|>|$))",
|
187
|
+
next: tag + "-end"
|
188
|
+
}, {
|
189
|
+
token: "string.cdata.xml",
|
190
|
+
regex : "<\\!\\[CDATA\\["
|
191
|
+
}, {
|
192
|
+
token: "string.cdata.xml",
|
193
|
+
regex : "\\]\\]>"
|
194
|
+
}]);
|
195
|
+
};
|
196
|
+
|
197
|
+
}).call(TextHighlightRules.prototype);
|
198
|
+
|
199
|
+
oop.inherits(XmlHighlightRules, TextHighlightRules);
|
200
|
+
|
201
|
+
exports.XmlHighlightRules = XmlHighlightRules;
|
202
|
+
});
|
203
|
+
|
204
|
+
define("ace/mode/behaviour/xml",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"], function(require, exports, module) {
|
205
|
+
"use strict";
|
206
|
+
|
207
|
+
var oop = require("../../lib/oop");
|
208
|
+
var Behaviour = require("../behaviour").Behaviour;
|
209
|
+
var TokenIterator = require("../../token_iterator").TokenIterator;
|
210
|
+
var lang = require("../../lib/lang");
|
211
|
+
|
212
|
+
function is(token, type) {
|
213
|
+
return token && token.type.lastIndexOf(type + ".xml") > -1;
|
214
|
+
}
|
215
|
+
|
216
|
+
var XmlBehaviour = function () {
|
217
|
+
|
218
|
+
this.add("string_dquotes", "insertion", function (state, action, editor, session, text) {
|
219
|
+
if (text == '"' || text == "'") {
|
220
|
+
var quote = text;
|
221
|
+
var selected = session.doc.getTextRange(editor.getSelectionRange());
|
222
|
+
if (selected !== "" && selected !== "'" && selected != '"' && editor.getWrapBehavioursEnabled()) {
|
223
|
+
return {
|
224
|
+
text: quote + selected + quote,
|
225
|
+
selection: false
|
226
|
+
};
|
227
|
+
}
|
228
|
+
|
229
|
+
var cursor = editor.getCursorPosition();
|
230
|
+
var line = session.doc.getLine(cursor.row);
|
231
|
+
var rightChar = line.substring(cursor.column, cursor.column + 1);
|
232
|
+
var iterator = new TokenIterator(session, cursor.row, cursor.column);
|
233
|
+
var token = iterator.getCurrentToken();
|
234
|
+
|
235
|
+
if (rightChar == quote && (is(token, "attribute-value") || is(token, "string"))) {
|
236
|
+
return {
|
237
|
+
text: "",
|
238
|
+
selection: [1, 1]
|
239
|
+
};
|
240
|
+
}
|
241
|
+
|
242
|
+
if (!token)
|
243
|
+
token = iterator.stepBackward();
|
244
|
+
|
245
|
+
if (!token)
|
246
|
+
return;
|
247
|
+
|
248
|
+
while (is(token, "tag-whitespace") || is(token, "whitespace")) {
|
249
|
+
token = iterator.stepBackward();
|
250
|
+
}
|
251
|
+
var rightSpace = !rightChar || rightChar.match(/\s/);
|
252
|
+
if (is(token, "attribute-equals") && (rightSpace || rightChar == '>') || (is(token, "decl-attribute-equals") && (rightSpace || rightChar == '?'))) {
|
253
|
+
return {
|
254
|
+
text: quote + quote,
|
255
|
+
selection: [1, 1]
|
256
|
+
};
|
257
|
+
}
|
258
|
+
}
|
259
|
+
});
|
260
|
+
|
261
|
+
this.add("string_dquotes", "deletion", function(state, action, editor, session, range) {
|
262
|
+
var selected = session.doc.getTextRange(range);
|
263
|
+
if (!range.isMultiLine() && (selected == '"' || selected == "'")) {
|
264
|
+
var line = session.doc.getLine(range.start.row);
|
265
|
+
var rightChar = line.substring(range.start.column + 1, range.start.column + 2);
|
266
|
+
if (rightChar == selected) {
|
267
|
+
range.end.column++;
|
268
|
+
return range;
|
269
|
+
}
|
270
|
+
}
|
271
|
+
});
|
272
|
+
|
273
|
+
this.add("autoclosing", "insertion", function (state, action, editor, session, text) {
|
274
|
+
if (text == '>') {
|
275
|
+
var position = editor.getSelectionRange().start;
|
276
|
+
var iterator = new TokenIterator(session, position.row, position.column);
|
277
|
+
var token = iterator.getCurrentToken() || iterator.stepBackward();
|
278
|
+
if (!token || !(is(token, "tag-name") || is(token, "tag-whitespace") || is(token, "attribute-name") || is(token, "attribute-equals") || is(token, "attribute-value")))
|
279
|
+
return;
|
280
|
+
if (is(token, "reference.attribute-value"))
|
281
|
+
return;
|
282
|
+
if (is(token, "attribute-value")) {
|
283
|
+
var tokenEndColumn = iterator.getCurrentTokenColumn() + token.value.length;
|
284
|
+
if (position.column < tokenEndColumn)
|
285
|
+
return;
|
286
|
+
if (position.column == tokenEndColumn) {
|
287
|
+
var nextToken = iterator.stepForward();
|
288
|
+
if (nextToken && is(nextToken, "attribute-value"))
|
289
|
+
return;
|
290
|
+
iterator.stepBackward();
|
291
|
+
}
|
292
|
+
}
|
293
|
+
|
294
|
+
if (/^\s*>/.test(session.getLine(position.row).slice(position.column)))
|
295
|
+
return;
|
296
|
+
while (!is(token, "tag-name")) {
|
297
|
+
token = iterator.stepBackward();
|
298
|
+
if (token.value == "<") {
|
299
|
+
token = iterator.stepForward();
|
300
|
+
break;
|
301
|
+
}
|
302
|
+
}
|
303
|
+
|
304
|
+
var tokenRow = iterator.getCurrentTokenRow();
|
305
|
+
var tokenColumn = iterator.getCurrentTokenColumn();
|
306
|
+
if (is(iterator.stepBackward(), "end-tag-open"))
|
307
|
+
return;
|
308
|
+
|
309
|
+
var element = token.value;
|
310
|
+
if (tokenRow == position.row)
|
311
|
+
element = element.substring(0, position.column - tokenColumn);
|
312
|
+
|
313
|
+
if (this.voidElements.hasOwnProperty(element.toLowerCase()))
|
314
|
+
return;
|
315
|
+
|
316
|
+
return {
|
317
|
+
text: ">" + "</" + element + ">",
|
318
|
+
selection: [1, 1]
|
319
|
+
};
|
320
|
+
}
|
321
|
+
});
|
322
|
+
|
323
|
+
this.add("autoindent", "insertion", function (state, action, editor, session, text) {
|
324
|
+
if (text == "\n") {
|
325
|
+
var cursor = editor.getCursorPosition();
|
326
|
+
var line = session.getLine(cursor.row);
|
327
|
+
var iterator = new TokenIterator(session, cursor.row, cursor.column);
|
328
|
+
var token = iterator.getCurrentToken();
|
329
|
+
|
330
|
+
if (token && token.type.indexOf("tag-close") !== -1) {
|
331
|
+
if (token.value == "/>")
|
332
|
+
return;
|
333
|
+
while (token && token.type.indexOf("tag-name") === -1) {
|
334
|
+
token = iterator.stepBackward();
|
335
|
+
}
|
336
|
+
|
337
|
+
if (!token) {
|
338
|
+
return;
|
339
|
+
}
|
340
|
+
|
341
|
+
var tag = token.value;
|
342
|
+
var row = iterator.getCurrentTokenRow();
|
343
|
+
token = iterator.stepBackward();
|
344
|
+
if (!token || token.type.indexOf("end-tag") !== -1) {
|
345
|
+
return;
|
346
|
+
}
|
347
|
+
|
348
|
+
if (this.voidElements && !this.voidElements[tag]) {
|
349
|
+
var nextToken = session.getTokenAt(cursor.row, cursor.column+1);
|
350
|
+
var line = session.getLine(row);
|
351
|
+
var nextIndent = this.$getIndent(line);
|
352
|
+
var indent = nextIndent + session.getTabString();
|
353
|
+
|
354
|
+
if (nextToken && nextToken.value === "</") {
|
355
|
+
return {
|
356
|
+
text: "\n" + indent + "\n" + nextIndent,
|
357
|
+
selection: [1, indent.length, 1, indent.length]
|
358
|
+
};
|
359
|
+
} else {
|
360
|
+
return {
|
361
|
+
text: "\n" + indent
|
362
|
+
};
|
363
|
+
}
|
364
|
+
}
|
365
|
+
}
|
366
|
+
}
|
367
|
+
});
|
368
|
+
|
369
|
+
};
|
370
|
+
|
371
|
+
oop.inherits(XmlBehaviour, Behaviour);
|
372
|
+
|
373
|
+
exports.XmlBehaviour = XmlBehaviour;
|
374
|
+
});
|
375
|
+
|
376
|
+
define("ace/mode/folding/xml",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/range","ace/mode/folding/fold_mode","ace/token_iterator"], function(require, exports, module) {
|
377
|
+
"use strict";
|
378
|
+
|
379
|
+
var oop = require("../../lib/oop");
|
380
|
+
var lang = require("../../lib/lang");
|
381
|
+
var Range = require("../../range").Range;
|
382
|
+
var BaseFoldMode = require("./fold_mode").FoldMode;
|
383
|
+
var TokenIterator = require("../../token_iterator").TokenIterator;
|
384
|
+
|
385
|
+
var FoldMode = exports.FoldMode = function(voidElements, optionalEndTags) {
|
386
|
+
BaseFoldMode.call(this);
|
387
|
+
this.voidElements = voidElements || {};
|
388
|
+
this.optionalEndTags = oop.mixin({}, this.voidElements);
|
389
|
+
if (optionalEndTags)
|
390
|
+
oop.mixin(this.optionalEndTags, optionalEndTags);
|
391
|
+
|
392
|
+
};
|
393
|
+
oop.inherits(FoldMode, BaseFoldMode);
|
394
|
+
|
395
|
+
var Tag = function() {
|
396
|
+
this.tagName = "";
|
397
|
+
this.closing = false;
|
398
|
+
this.selfClosing = false;
|
399
|
+
this.start = {row: 0, column: 0};
|
400
|
+
this.end = {row: 0, column: 0};
|
401
|
+
};
|
402
|
+
|
403
|
+
function is(token, type) {
|
404
|
+
return token.type.lastIndexOf(type + ".xml") > -1;
|
405
|
+
}
|
406
|
+
|
407
|
+
(function() {
|
408
|
+
|
409
|
+
this.getFoldWidget = function(session, foldStyle, row) {
|
410
|
+
var tag = this._getFirstTagInLine(session, row);
|
411
|
+
|
412
|
+
if (!tag)
|
413
|
+
return this.getCommentFoldWidget(session, row);
|
414
|
+
|
415
|
+
if (tag.closing || (!tag.tagName && tag.selfClosing))
|
416
|
+
return foldStyle == "markbeginend" ? "end" : "";
|
417
|
+
|
418
|
+
if (!tag.tagName || tag.selfClosing || this.voidElements.hasOwnProperty(tag.tagName.toLowerCase()))
|
419
|
+
return "";
|
420
|
+
|
421
|
+
if (this._findEndTagInLine(session, row, tag.tagName, tag.end.column))
|
422
|
+
return "";
|
423
|
+
|
424
|
+
return "start";
|
425
|
+
};
|
426
|
+
|
427
|
+
this.getCommentFoldWidget = function(session, row) {
|
428
|
+
if (/comment/.test(session.getState(row)) && /<!-/.test(session.getLine(row)))
|
429
|
+
return "start";
|
430
|
+
return "";
|
431
|
+
};
|
432
|
+
this._getFirstTagInLine = function(session, row) {
|
433
|
+
var tokens = session.getTokens(row);
|
434
|
+
var tag = new Tag();
|
435
|
+
|
436
|
+
for (var i = 0; i < tokens.length; i++) {
|
437
|
+
var token = tokens[i];
|
438
|
+
if (is(token, "tag-open")) {
|
439
|
+
tag.end.column = tag.start.column + token.value.length;
|
440
|
+
tag.closing = is(token, "end-tag-open");
|
441
|
+
token = tokens[++i];
|
442
|
+
if (!token)
|
443
|
+
return null;
|
444
|
+
tag.tagName = token.value;
|
445
|
+
tag.end.column += token.value.length;
|
446
|
+
for (i++; i < tokens.length; i++) {
|
447
|
+
token = tokens[i];
|
448
|
+
tag.end.column += token.value.length;
|
449
|
+
if (is(token, "tag-close")) {
|
450
|
+
tag.selfClosing = token.value == '/>';
|
451
|
+
break;
|
452
|
+
}
|
453
|
+
}
|
454
|
+
return tag;
|
455
|
+
} else if (is(token, "tag-close")) {
|
456
|
+
tag.selfClosing = token.value == '/>';
|
457
|
+
return tag;
|
458
|
+
}
|
459
|
+
tag.start.column += token.value.length;
|
460
|
+
}
|
461
|
+
|
462
|
+
return null;
|
463
|
+
};
|
464
|
+
|
465
|
+
this._findEndTagInLine = function(session, row, tagName, startColumn) {
|
466
|
+
var tokens = session.getTokens(row);
|
467
|
+
var column = 0;
|
468
|
+
for (var i = 0; i < tokens.length; i++) {
|
469
|
+
var token = tokens[i];
|
470
|
+
column += token.value.length;
|
471
|
+
if (column < startColumn)
|
472
|
+
continue;
|
473
|
+
if (is(token, "end-tag-open")) {
|
474
|
+
token = tokens[i + 1];
|
475
|
+
if (token && token.value == tagName)
|
476
|
+
return true;
|
477
|
+
}
|
478
|
+
}
|
479
|
+
return false;
|
480
|
+
};
|
481
|
+
this._readTagForward = function(iterator) {
|
482
|
+
var token = iterator.getCurrentToken();
|
483
|
+
if (!token)
|
484
|
+
return null;
|
485
|
+
|
486
|
+
var tag = new Tag();
|
487
|
+
do {
|
488
|
+
if (is(token, "tag-open")) {
|
489
|
+
tag.closing = is(token, "end-tag-open");
|
490
|
+
tag.start.row = iterator.getCurrentTokenRow();
|
491
|
+
tag.start.column = iterator.getCurrentTokenColumn();
|
492
|
+
} else if (is(token, "tag-name")) {
|
493
|
+
tag.tagName = token.value;
|
494
|
+
} else if (is(token, "tag-close")) {
|
495
|
+
tag.selfClosing = token.value == "/>";
|
496
|
+
tag.end.row = iterator.getCurrentTokenRow();
|
497
|
+
tag.end.column = iterator.getCurrentTokenColumn() + token.value.length;
|
498
|
+
iterator.stepForward();
|
499
|
+
return tag;
|
500
|
+
}
|
501
|
+
} while(token = iterator.stepForward());
|
502
|
+
|
503
|
+
return null;
|
504
|
+
};
|
505
|
+
|
506
|
+
this._readTagBackward = function(iterator) {
|
507
|
+
var token = iterator.getCurrentToken();
|
508
|
+
if (!token)
|
509
|
+
return null;
|
510
|
+
|
511
|
+
var tag = new Tag();
|
512
|
+
do {
|
513
|
+
if (is(token, "tag-open")) {
|
514
|
+
tag.closing = is(token, "end-tag-open");
|
515
|
+
tag.start.row = iterator.getCurrentTokenRow();
|
516
|
+
tag.start.column = iterator.getCurrentTokenColumn();
|
517
|
+
iterator.stepBackward();
|
518
|
+
return tag;
|
519
|
+
} else if (is(token, "tag-name")) {
|
520
|
+
tag.tagName = token.value;
|
521
|
+
} else if (is(token, "tag-close")) {
|
522
|
+
tag.selfClosing = token.value == "/>";
|
523
|
+
tag.end.row = iterator.getCurrentTokenRow();
|
524
|
+
tag.end.column = iterator.getCurrentTokenColumn() + token.value.length;
|
525
|
+
}
|
526
|
+
} while(token = iterator.stepBackward());
|
527
|
+
|
528
|
+
return null;
|
529
|
+
};
|
530
|
+
|
531
|
+
this._pop = function(stack, tag) {
|
532
|
+
while (stack.length) {
|
533
|
+
|
534
|
+
var top = stack[stack.length-1];
|
535
|
+
if (!tag || top.tagName == tag.tagName) {
|
536
|
+
return stack.pop();
|
537
|
+
}
|
538
|
+
else if (this.optionalEndTags.hasOwnProperty(top.tagName)) {
|
539
|
+
stack.pop();
|
540
|
+
continue;
|
541
|
+
} else {
|
542
|
+
return null;
|
543
|
+
}
|
544
|
+
}
|
545
|
+
};
|
546
|
+
|
547
|
+
this.getFoldWidgetRange = function(session, foldStyle, row) {
|
548
|
+
var firstTag = this._getFirstTagInLine(session, row);
|
549
|
+
|
550
|
+
if (!firstTag) {
|
551
|
+
return this.getCommentFoldWidget(session, row)
|
552
|
+
&& session.getCommentFoldRange(row, session.getLine(row).length);
|
553
|
+
}
|
554
|
+
|
555
|
+
var isBackward = firstTag.closing || firstTag.selfClosing;
|
556
|
+
var stack = [];
|
557
|
+
var tag;
|
558
|
+
|
559
|
+
if (!isBackward) {
|
560
|
+
var iterator = new TokenIterator(session, row, firstTag.start.column);
|
561
|
+
var start = {
|
562
|
+
row: row,
|
563
|
+
column: firstTag.start.column + firstTag.tagName.length + 2
|
564
|
+
};
|
565
|
+
if (firstTag.start.row == firstTag.end.row)
|
566
|
+
start.column = firstTag.end.column;
|
567
|
+
while (tag = this._readTagForward(iterator)) {
|
568
|
+
if (tag.selfClosing) {
|
569
|
+
if (!stack.length) {
|
570
|
+
tag.start.column += tag.tagName.length + 2;
|
571
|
+
tag.end.column -= 2;
|
572
|
+
return Range.fromPoints(tag.start, tag.end);
|
573
|
+
} else
|
574
|
+
continue;
|
575
|
+
}
|
576
|
+
|
577
|
+
if (tag.closing) {
|
578
|
+
this._pop(stack, tag);
|
579
|
+
if (stack.length == 0)
|
580
|
+
return Range.fromPoints(start, tag.start);
|
581
|
+
}
|
582
|
+
else {
|
583
|
+
stack.push(tag);
|
584
|
+
}
|
585
|
+
}
|
586
|
+
}
|
587
|
+
else {
|
588
|
+
var iterator = new TokenIterator(session, row, firstTag.end.column);
|
589
|
+
var end = {
|
590
|
+
row: row,
|
591
|
+
column: firstTag.start.column
|
592
|
+
};
|
593
|
+
|
594
|
+
while (tag = this._readTagBackward(iterator)) {
|
595
|
+
if (tag.selfClosing) {
|
596
|
+
if (!stack.length) {
|
597
|
+
tag.start.column += tag.tagName.length + 2;
|
598
|
+
tag.end.column -= 2;
|
599
|
+
return Range.fromPoints(tag.start, tag.end);
|
600
|
+
} else
|
601
|
+
continue;
|
602
|
+
}
|
603
|
+
|
604
|
+
if (!tag.closing) {
|
605
|
+
this._pop(stack, tag);
|
606
|
+
if (stack.length == 0) {
|
607
|
+
tag.start.column += tag.tagName.length + 2;
|
608
|
+
if (tag.start.row == tag.end.row && tag.start.column < tag.end.column)
|
609
|
+
tag.start.column = tag.end.column;
|
610
|
+
return Range.fromPoints(tag.start, end);
|
611
|
+
}
|
612
|
+
}
|
613
|
+
else {
|
614
|
+
stack.push(tag);
|
615
|
+
}
|
616
|
+
}
|
617
|
+
}
|
618
|
+
|
619
|
+
};
|
620
|
+
|
621
|
+
}).call(FoldMode.prototype);
|
622
|
+
|
623
|
+
});
|
624
|
+
|
625
|
+
define("ace/mode/xml",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text","ace/mode/xml_highlight_rules","ace/mode/behaviour/xml","ace/mode/folding/xml","ace/worker/worker_client"], function(require, exports, module) {
|
626
|
+
"use strict";
|
627
|
+
|
628
|
+
var oop = require("../lib/oop");
|
629
|
+
var lang = require("../lib/lang");
|
630
|
+
var TextMode = require("./text").Mode;
|
631
|
+
var XmlHighlightRules = require("./xml_highlight_rules").XmlHighlightRules;
|
632
|
+
var XmlBehaviour = require("./behaviour/xml").XmlBehaviour;
|
633
|
+
var XmlFoldMode = require("./folding/xml").FoldMode;
|
634
|
+
var WorkerClient = require("../worker/worker_client").WorkerClient;
|
635
|
+
|
636
|
+
var Mode = function() {
|
637
|
+
this.HighlightRules = XmlHighlightRules;
|
638
|
+
this.$behaviour = new XmlBehaviour();
|
639
|
+
this.foldingRules = new XmlFoldMode();
|
640
|
+
};
|
641
|
+
|
642
|
+
oop.inherits(Mode, TextMode);
|
643
|
+
|
644
|
+
(function() {
|
645
|
+
|
646
|
+
this.voidElements = lang.arrayToMap([]);
|
647
|
+
|
648
|
+
this.blockComment = {start: "<!--", end: "-->"};
|
649
|
+
|
650
|
+
this.createWorker = function(session) {
|
651
|
+
var worker = new WorkerClient(["ace"], "ace/mode/xml_worker", "Worker");
|
652
|
+
worker.attachToDocument(session.getDocument());
|
653
|
+
|
654
|
+
worker.on("error", function(e) {
|
655
|
+
session.setAnnotations(e.data);
|
656
|
+
});
|
657
|
+
|
658
|
+
worker.on("terminate", function() {
|
659
|
+
session.clearAnnotations();
|
660
|
+
});
|
661
|
+
|
662
|
+
return worker;
|
663
|
+
};
|
664
|
+
|
665
|
+
this.$id = "ace/mode/xml";
|
666
|
+
}).call(Mode.prototype);
|
667
|
+
|
668
|
+
exports.Mode = Mode;
|
669
|
+
});
|
670
|
+
(function() {
|
671
|
+
window.require(["ace/mode/xml"], function(m) {
|
672
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
673
|
+
module.exports = m;
|
674
|
+
}
|
675
|
+
});
|
676
|
+
})();
|
677
|
+
|