bedrock_sass 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/_vendor/ace/ace.js +255 -589
- data/assets/_vendor/ace/ext-beautify.js +1 -2
- data/assets/_vendor/ace/ext-elastic_tabstops_lite.js +2 -2
- data/assets/_vendor/ace/ext-emmet.js +4 -4
- data/assets/_vendor/ace/ext-error_marker.js +1 -2
- data/assets/_vendor/ace/ext-keybinding_menu.js +1 -2
- data/assets/_vendor/ace/ext-language_tools.js +5 -9
- data/assets/_vendor/ace/ext-linking.js +1 -2
- data/assets/_vendor/ace/ext-modelist.js +9 -5
- data/assets/_vendor/ace/ext-options.js +10 -7
- data/assets/_vendor/ace/ext-rtl.js +1 -2
- data/assets/_vendor/ace/ext-searchbox.js +8 -4
- data/assets/_vendor/ace/ext-settings_menu.js +10 -7
- data/assets/_vendor/ace/ext-spellcheck.js +1 -2
- data/assets/_vendor/ace/ext-split.js +1 -2
- data/assets/_vendor/ace/ext-static_highlight.js +11 -8
- data/assets/_vendor/ace/ext-statusbar.js +1 -2
- data/assets/_vendor/ace/ext-textarea.js +1 -5
- data/assets/_vendor/ace/ext-themelist.js +2 -4
- data/assets/_vendor/ace/ext-whitespace.js +1 -2
- data/assets/_vendor/ace/keybinding-emacs.js +6 -2
- data/assets/_vendor/ace/keybinding-vim.js +13 -25
- data/assets/_vendor/ace/mode-abap.js +2 -3
- data/assets/_vendor/ace/mode-abc.js +3 -2
- data/assets/_vendor/ace/mode-actionscript.js +2 -2
- data/assets/_vendor/ace/mode-ada.js +1 -2
- data/assets/_vendor/ace/mode-apache_conf.js +2 -2
- data/assets/_vendor/ace/mode-apex.js +457 -0
- data/assets/_vendor/ace/mode-applescript.js +1 -2
- data/assets/_vendor/ace/mode-asciidoc.js +2 -2
- data/assets/_vendor/ace/mode-asl.js +1 -2
- data/assets/_vendor/ace/mode-assembly_x86.js +2 -2
- data/assets/_vendor/ace/mode-autohotkey.js +1 -2
- data/assets/_vendor/ace/mode-batchfile.js +2 -2
- data/assets/_vendor/ace/mode-bro.js +2 -2
- data/assets/_vendor/ace/mode-c9search.js +1 -2
- data/assets/_vendor/ace/mode-c_cpp.js +2 -2
- data/assets/_vendor/ace/mode-cirru.js +1 -2
- data/assets/_vendor/ace/mode-clojure.js +2 -2
- data/assets/_vendor/ace/mode-cobol.js +1 -2
- data/assets/_vendor/ace/mode-coffee.js +1 -2
- data/assets/_vendor/ace/mode-coldfusion.js +3 -2
- data/assets/_vendor/ace/mode-csharp.js +3 -3
- data/assets/_vendor/ace/mode-csound_document.js +319 -80
- data/assets/_vendor/ace/mode-csound_orchestra.js +323 -86
- data/assets/_vendor/ace/mode-csound_score.js +1 -2
- data/assets/_vendor/ace/mode-csp.js +1 -2
- data/assets/_vendor/ace/mode-css.js +2 -2
- data/assets/_vendor/ace/mode-curly.js +3 -2
- data/assets/_vendor/ace/mode-d.js +2 -2
- data/assets/_vendor/ace/mode-dart.js +24 -14
- data/assets/_vendor/ace/mode-diff.js +4 -4
- data/assets/_vendor/ace/mode-django.js +3 -2
- data/assets/_vendor/ace/mode-dockerfile.js +3 -2
- data/assets/_vendor/ace/mode-dot.js +1 -2
- data/assets/_vendor/ace/mode-drools.js +3 -2
- data/assets/_vendor/ace/mode-edifact.js +2 -2
- data/assets/_vendor/ace/mode-eiffel.js +1 -2
- data/assets/_vendor/ace/mode-ejs.js +5 -2
- data/assets/_vendor/ace/mode-elixir.js +2 -2
- data/assets/_vendor/ace/mode-elm.js +1 -2
- data/assets/_vendor/ace/mode-erlang.js +2 -2
- data/assets/_vendor/ace/mode-forth.js +2 -2
- data/assets/_vendor/ace/mode-fortran.js +1 -2
- data/assets/_vendor/ace/mode-fsharp.js +1 -2
- data/assets/_vendor/ace/mode-fsl.js +258 -0
- data/assets/_vendor/ace/mode-ftl.js +3 -2
- data/assets/_vendor/ace/mode-gcode.js +1 -2
- data/assets/_vendor/ace/mode-gherkin.js +2 -4
- data/assets/_vendor/ace/mode-gitignore.js +1 -2
- data/assets/_vendor/ace/mode-glsl.js +2 -2
- data/assets/_vendor/ace/mode-gobstones.js +3 -2
- data/assets/_vendor/ace/mode-golang.js +1 -2
- data/assets/_vendor/ace/mode-graphqlschema.js +1 -2
- data/assets/_vendor/ace/mode-groovy.js +4 -2
- data/assets/_vendor/ace/mode-haml.js +5 -2
- data/assets/_vendor/ace/mode-handlebars.js +3 -2
- data/assets/_vendor/ace/mode-haskell.js +2 -2
- data/assets/_vendor/ace/mode-haskell_cabal.js +1 -2
- data/assets/_vendor/ace/mode-haxe.js +2 -2
- data/assets/_vendor/ace/mode-hjson.js +2 -2
- data/assets/_vendor/ace/mode-html.js +3 -2
- data/assets/_vendor/ace/mode-html_elixir.js +4 -2
- data/assets/_vendor/ace/mode-html_ruby.js +5 -2
- data/assets/_vendor/ace/mode-ini.js +1 -2
- data/assets/_vendor/ace/mode-io.js +2 -2
- data/assets/_vendor/ace/mode-jack.js +1 -2
- data/assets/_vendor/ace/mode-jade.js +14 -115
- data/assets/_vendor/ace/mode-java.js +64 -3
- data/assets/_vendor/ace/mode-javascript.js +2 -2
- data/assets/_vendor/ace/mode-json.js +1 -2
- data/assets/_vendor/ace/mode-jsoniq.js +8 -2317
- data/assets/_vendor/ace/mode-jsp.js +4 -2
- data/assets/_vendor/ace/mode-jssm.js +2 -2
- data/assets/_vendor/ace/mode-jsx.js +1 -2
- data/assets/_vendor/ace/mode-julia.js +2 -2
- data/assets/_vendor/ace/mode-kotlin.js +2 -2
- data/assets/_vendor/ace/mode-latex.js +1 -2
- data/assets/_vendor/ace/mode-less.js +4 -2
- data/assets/_vendor/ace/mode-liquid.js +2026 -477
- data/assets/_vendor/ace/mode-lisp.js +2 -2
- data/assets/_vendor/ace/mode-livescript.js +1 -2
- data/assets/_vendor/ace/mode-logiql.js +2 -2
- data/assets/_vendor/ace/mode-logtalk.js +352 -0
- data/assets/_vendor/ace/mode-lsl.js +1 -2
- data/assets/_vendor/ace/mode-lua.js +1 -2
- data/assets/_vendor/ace/mode-luapage.js +3 -2
- data/assets/_vendor/ace/mode-lucene.js +2 -3
- data/assets/_vendor/ace/mode-makefile.js +3 -2
- data/assets/_vendor/ace/mode-markdown.js +5 -2
- data/assets/_vendor/ace/mode-mask.js +3 -2
- data/assets/_vendor/ace/mode-matlab.js +1 -2
- data/assets/_vendor/ace/mode-maze.js +2 -2
- data/assets/_vendor/ace/mode-mel.js +2 -2
- data/assets/_vendor/ace/mode-mixal.js +1 -2
- data/assets/_vendor/ace/mode-mushcode.js +2 -2
- data/assets/_vendor/ace/mode-mysql.js +3 -4
- data/assets/_vendor/ace/mode-nix.js +2 -2
- data/assets/_vendor/ace/mode-nsis.js +2 -2
- data/assets/_vendor/ace/mode-objectivec.js +3 -2
- data/assets/_vendor/ace/mode-ocaml.js +1 -2
- data/assets/_vendor/ace/mode-pascal.js +2 -2
- data/assets/_vendor/ace/mode-perl.js +2 -2
- data/assets/_vendor/ace/mode-perl6.js +593 -0
- data/assets/_vendor/ace/mode-pgsql.js +304 -69
- data/assets/_vendor/ace/mode-php.js +844 -1029
- data/assets/_vendor/ace/mode-php_laravel_blade.js +844 -1029
- data/assets/_vendor/ace/mode-pig.js +2 -2
- data/assets/_vendor/ace/mode-plain_text.js +1 -2
- data/assets/_vendor/ace/mode-powershell.js +2 -2
- data/assets/_vendor/ace/mode-praat.js +2 -2
- data/assets/_vendor/ace/mode-prolog.js +2 -2
- data/assets/_vendor/ace/mode-properties.js +1 -2
- data/assets/_vendor/ace/mode-protobuf.js +2 -2
- data/assets/_vendor/ace/mode-puppet.js +1 -2
- data/assets/_vendor/ace/mode-python.js +297 -63
- data/assets/_vendor/ace/mode-r.js +3 -2
- data/assets/_vendor/ace/mode-razor.js +9 -3
- data/assets/_vendor/ace/mode-rdoc.js +2 -2
- data/assets/_vendor/ace/mode-red.js +2 -2
- data/assets/_vendor/ace/mode-redshift.js +1 -2
- data/assets/_vendor/ace/mode-rhtml.js +5 -2
- data/assets/_vendor/ace/mode-rst.js +1 -2
- data/assets/_vendor/ace/mode-ruby.js +3 -2
- data/assets/_vendor/ace/mode-rust.js +2 -2
- data/assets/_vendor/ace/mode-sass.js +205 -117
- data/assets/_vendor/ace/mode-scad.js +2 -2
- data/assets/_vendor/ace/mode-scala.js +3 -2
- data/assets/_vendor/ace/mode-scheme.js +2 -2
- data/assets/_vendor/ace/mode-scss.js +204 -115
- data/assets/_vendor/ace/mode-sh.js +3 -2
- data/assets/_vendor/ace/mode-sjs.js +2 -2
- data/assets/_vendor/ace/mode-slim.js +18 -117
- data/assets/_vendor/ace/mode-smarty.js +3 -2
- data/assets/_vendor/ace/mode-snippets.js +1 -2
- data/assets/_vendor/ace/mode-soy_template.js +4 -2
- data/assets/_vendor/ace/mode-space.js +1 -2
- data/assets/_vendor/ace/mode-sparql.js +2 -2
- data/assets/_vendor/ace/mode-sql.js +2 -3
- data/assets/_vendor/ace/mode-sqlserver.js +2 -2
- data/assets/_vendor/ace/mode-stylus.js +3 -2
- data/assets/_vendor/ace/mode-svg.js +2 -2
- data/assets/_vendor/ace/mode-swift.js +1 -2
- data/assets/_vendor/ace/mode-tcl.js +2 -2
- data/assets/_vendor/ace/mode-terraform.js +1 -2
- data/assets/_vendor/ace/mode-tex.js +2 -2
- data/assets/_vendor/ace/mode-text.js +1 -2
- data/assets/_vendor/ace/mode-textile.js +1 -2
- data/assets/_vendor/ace/mode-toml.js +1 -2
- data/assets/_vendor/ace/mode-tsx.js +2 -2
- data/assets/_vendor/ace/mode-turtle.js +2 -2
- data/assets/_vendor/ace/mode-twig.js +3 -2
- data/assets/_vendor/ace/mode-typescript.js +2 -2
- data/assets/_vendor/ace/mode-vala.js +2 -2
- data/assets/_vendor/ace/mode-vbscript.js +1 -2
- data/assets/_vendor/ace/mode-velocity.js +4 -2
- data/assets/_vendor/ace/mode-verilog.js +1 -2
- data/assets/_vendor/ace/mode-vhdl.js +1 -2
- data/assets/_vendor/ace/mode-visualforce.js +2641 -0
- data/assets/_vendor/ace/mode-wollok.js +3 -2
- data/assets/_vendor/ace/mode-xml.js +1 -2
- data/assets/_vendor/ace/mode-xquery.js +8 -2287
- data/assets/_vendor/ace/mode-yaml.js +1 -2
- data/assets/_vendor/ace/snippets/abap.js +2 -3
- data/assets/_vendor/ace/snippets/abc.js +1 -2
- data/assets/_vendor/ace/snippets/actionscript.js +1 -2
- data/assets/_vendor/ace/snippets/ada.js +2 -3
- data/assets/_vendor/ace/snippets/apache_conf.js +2 -3
- data/assets/_vendor/ace/snippets/apex.js +14 -0
- data/assets/_vendor/ace/snippets/applescript.js +2 -3
- data/assets/_vendor/ace/snippets/asciidoc.js +2 -3
- data/assets/_vendor/ace/snippets/asl.js +2 -3
- data/assets/_vendor/ace/snippets/assembly_x86.js +2 -3
- data/assets/_vendor/ace/snippets/autohotkey.js +2 -3
- data/assets/_vendor/ace/snippets/batchfile.js +2 -3
- data/assets/_vendor/ace/snippets/bro.js +1 -2
- data/assets/_vendor/ace/snippets/c9search.js +2 -3
- data/assets/_vendor/ace/snippets/c_cpp.js +1 -2
- data/assets/_vendor/ace/snippets/cirru.js +2 -3
- data/assets/_vendor/ace/snippets/clojure.js +1 -2
- data/assets/_vendor/ace/snippets/cobol.js +2 -3
- data/assets/_vendor/ace/snippets/coffee.js +1 -2
- data/assets/_vendor/ace/snippets/coldfusion.js +2 -3
- data/assets/_vendor/ace/snippets/csharp.js +2 -3
- data/assets/_vendor/ace/snippets/csound_document.js +1 -2
- data/assets/_vendor/ace/snippets/csound_orchestra.js +1 -2
- data/assets/_vendor/ace/snippets/csound_score.js +2 -3
- data/assets/_vendor/ace/snippets/csp.js +1 -2
- data/assets/_vendor/ace/snippets/css.js +1 -2
- data/assets/_vendor/ace/snippets/curly.js +2 -3
- data/assets/_vendor/ace/snippets/d.js +2 -3
- data/assets/_vendor/ace/snippets/dart.js +1 -2
- data/assets/_vendor/ace/snippets/diff.js +1 -2
- data/assets/_vendor/ace/snippets/django.js +1 -2
- data/assets/_vendor/ace/snippets/dockerfile.js +2 -3
- data/assets/_vendor/ace/snippets/dot.js +2 -3
- data/assets/_vendor/ace/snippets/drools.js +1 -2
- data/assets/_vendor/ace/snippets/edifact.js +1 -2
- data/assets/_vendor/ace/snippets/eiffel.js +2 -3
- data/assets/_vendor/ace/snippets/ejs.js +2 -3
- data/assets/_vendor/ace/snippets/elixir.js +1 -2
- data/assets/_vendor/ace/snippets/elm.js +2 -3
- data/assets/_vendor/ace/snippets/erlang.js +1 -2
- data/assets/_vendor/ace/snippets/forth.js +2 -3
- data/assets/_vendor/ace/snippets/fortran.js +2 -3
- data/assets/_vendor/ace/snippets/fsharp.js +2 -3
- data/assets/_vendor/ace/snippets/fsl.js +14 -0
- data/assets/_vendor/ace/snippets/ftl.js +2 -3
- data/assets/_vendor/ace/snippets/gcode.js +2 -3
- data/assets/_vendor/ace/snippets/gherkin.js +2 -3
- data/assets/_vendor/ace/snippets/gitignore.js +2 -3
- data/assets/_vendor/ace/snippets/glsl.js +2 -3
- data/assets/_vendor/ace/snippets/gobstones.js +1 -2
- data/assets/_vendor/ace/snippets/golang.js +2 -3
- data/assets/_vendor/ace/snippets/graphqlschema.js +1 -2
- data/assets/_vendor/ace/snippets/groovy.js +2 -3
- data/assets/_vendor/ace/snippets/haml.js +1 -2
- data/assets/_vendor/ace/snippets/handlebars.js +2 -3
- data/assets/_vendor/ace/snippets/haskell.js +1 -2
- data/assets/_vendor/ace/snippets/haskell_cabal.js +2 -3
- data/assets/_vendor/ace/snippets/haxe.js +2 -3
- data/assets/_vendor/ace/snippets/hjson.js +1 -2
- data/assets/_vendor/ace/snippets/html.js +1 -2
- data/assets/_vendor/ace/snippets/html_elixir.js +2 -3
- data/assets/_vendor/ace/snippets/html_ruby.js +2 -3
- data/assets/_vendor/ace/snippets/ini.js +2 -3
- data/assets/_vendor/ace/snippets/io.js +1 -2
- data/assets/_vendor/ace/snippets/jack.js +2 -3
- data/assets/_vendor/ace/snippets/jade.js +2 -3
- data/assets/_vendor/ace/snippets/java.js +1 -2
- data/assets/_vendor/ace/snippets/javascript.js +1 -2
- data/assets/_vendor/ace/snippets/json.js +2 -3
- data/assets/_vendor/ace/snippets/jsoniq.js +1 -2
- data/assets/_vendor/ace/snippets/jsp.js +1 -2
- data/assets/_vendor/ace/snippets/jssm.js +1 -2
- data/assets/_vendor/ace/snippets/jsx.js +2 -3
- data/assets/_vendor/ace/snippets/julia.js +2 -3
- data/assets/_vendor/ace/snippets/kotlin.js +1 -2
- data/assets/_vendor/ace/snippets/latex.js +2 -3
- data/assets/_vendor/ace/snippets/less.js +2 -3
- data/assets/_vendor/ace/snippets/liquid.js +883 -3
- data/assets/_vendor/ace/snippets/lisp.js +2 -3
- data/assets/_vendor/ace/snippets/livescript.js +2 -3
- data/assets/_vendor/ace/snippets/logiql.js +2 -3
- data/assets/_vendor/ace/snippets/logtalk.js +14 -0
- data/assets/_vendor/ace/snippets/lsl.js +1 -2
- data/assets/_vendor/ace/snippets/lua.js +1 -2
- data/assets/_vendor/ace/snippets/luapage.js +2 -3
- data/assets/_vendor/ace/snippets/lucene.js +2 -3
- data/assets/_vendor/ace/snippets/makefile.js +1 -2
- data/assets/_vendor/ace/snippets/markdown.js +1 -2
- data/assets/_vendor/ace/snippets/mask.js +2 -3
- data/assets/_vendor/ace/snippets/matlab.js +2 -3
- data/assets/_vendor/ace/snippets/maze.js +1 -2
- data/assets/_vendor/ace/snippets/mel.js +2 -3
- data/assets/_vendor/ace/snippets/mixal.js +2 -3
- data/assets/_vendor/ace/snippets/mushcode.js +2 -3
- data/assets/_vendor/ace/snippets/mysql.js +2 -3
- data/assets/_vendor/ace/snippets/nix.js +2 -3
- data/assets/_vendor/ace/snippets/nsis.js +1 -2
- data/assets/_vendor/ace/snippets/objectivec.js +2 -3
- data/assets/_vendor/ace/snippets/ocaml.js +2 -3
- data/assets/_vendor/ace/snippets/pascal.js +2 -3
- data/assets/_vendor/ace/snippets/perl.js +1 -2
- data/assets/_vendor/ace/snippets/perl6.js +14 -0
- data/assets/_vendor/ace/snippets/pgsql.js +2 -3
- data/assets/_vendor/ace/snippets/php.js +1 -2
- data/assets/_vendor/ace/snippets/php_laravel_blade.js +2 -3
- data/assets/_vendor/ace/snippets/pig.js +2 -3
- data/assets/_vendor/ace/snippets/plain_text.js +2 -3
- data/assets/_vendor/ace/snippets/powershell.js +2 -3
- data/assets/_vendor/ace/snippets/praat.js +2 -3
- data/assets/_vendor/ace/snippets/prolog.js +2 -3
- data/assets/_vendor/ace/snippets/properties.js +2 -3
- data/assets/_vendor/ace/snippets/protobuf.js +1 -2
- data/assets/_vendor/ace/snippets/puppet.js +2 -3
- data/assets/_vendor/ace/snippets/python.js +1 -2
- data/assets/_vendor/ace/snippets/r.js +1 -2
- data/assets/_vendor/ace/snippets/razor.js +1 -2
- data/assets/_vendor/ace/snippets/rdoc.js +2 -3
- data/assets/_vendor/ace/snippets/red.js +1 -2
- data/assets/_vendor/ace/snippets/redshift.js +2 -3
- data/assets/_vendor/ace/snippets/rhtml.js +2 -3
- data/assets/_vendor/ace/snippets/rst.js +1 -2
- data/assets/_vendor/ace/snippets/ruby.js +1 -2
- data/assets/_vendor/ace/snippets/rust.js +2 -3
- data/assets/_vendor/ace/snippets/sass.js +2 -3
- data/assets/_vendor/ace/snippets/scad.js +2 -3
- data/assets/_vendor/ace/snippets/scala.js +2 -3
- data/assets/_vendor/ace/snippets/scheme.js +2 -3
- data/assets/_vendor/ace/snippets/scss.js +2 -3
- data/assets/_vendor/ace/snippets/sh.js +1 -2
- data/assets/_vendor/ace/snippets/sjs.js +2 -3
- data/assets/_vendor/ace/snippets/slim.js +2 -3
- data/assets/_vendor/ace/snippets/smarty.js +2 -3
- data/assets/_vendor/ace/snippets/snippets.js +1 -2
- data/assets/_vendor/ace/snippets/soy_template.js +2 -3
- data/assets/_vendor/ace/snippets/space.js +2 -3
- data/assets/_vendor/ace/snippets/sparql.js +1 -2
- data/assets/_vendor/ace/snippets/sql.js +1 -2
- data/assets/_vendor/ace/snippets/sqlserver.js +1 -2
- data/assets/_vendor/ace/snippets/stylus.js +2 -3
- data/assets/_vendor/ace/snippets/svg.js +2 -3
- data/assets/_vendor/ace/snippets/swift.js +2 -3
- data/assets/_vendor/ace/snippets/tcl.js +1 -2
- data/assets/_vendor/ace/snippets/terraform.js +2 -3
- data/assets/_vendor/ace/snippets/tex.js +1 -2
- data/assets/_vendor/ace/snippets/text.js +2 -3
- data/assets/_vendor/ace/snippets/textile.js +1 -2
- data/assets/_vendor/ace/snippets/toml.js +2 -3
- data/assets/_vendor/ace/snippets/tsx.js +2 -3
- data/assets/_vendor/ace/snippets/turtle.js +1 -2
- data/assets/_vendor/ace/snippets/twig.js +2 -3
- data/assets/_vendor/ace/snippets/typescript.js +2 -3
- data/assets/_vendor/ace/snippets/vala.js +1 -2
- data/assets/_vendor/ace/snippets/vbscript.js +2 -3
- data/assets/_vendor/ace/snippets/velocity.js +1 -2
- data/assets/_vendor/ace/snippets/verilog.js +2 -3
- data/assets/_vendor/ace/snippets/vhdl.js +2 -3
- data/assets/_vendor/ace/snippets/visualforce.js +14 -0
- data/assets/_vendor/ace/snippets/wollok.js +1 -2
- data/assets/_vendor/ace/snippets/xml.js +2 -3
- data/assets/_vendor/ace/snippets/xquery.js +1 -2
- data/assets/_vendor/ace/snippets/yaml.js +2 -3
- data/assets/_vendor/ace/theme-ambiance.js +1 -2
- data/assets/_vendor/ace/theme-chaos.js +1 -2
- data/assets/_vendor/ace/theme-chrome.js +1 -2
- data/assets/_vendor/ace/theme-clouds.js +1 -2
- data/assets/_vendor/ace/theme-clouds_midnight.js +1 -2
- data/assets/_vendor/ace/theme-cobalt.js +1 -2
- data/assets/_vendor/ace/theme-crimson_editor.js +1 -2
- data/assets/_vendor/ace/theme-dawn.js +1 -2
- data/assets/_vendor/ace/theme-dracula.js +1 -2
- data/assets/_vendor/ace/theme-dreamweaver.js +1 -2
- data/assets/_vendor/ace/theme-eclipse.js +1 -2
- data/assets/_vendor/ace/theme-github.js +3 -3
- data/assets/_vendor/ace/theme-gob.js +1 -2
- data/assets/_vendor/ace/theme-gruvbox.js +1 -2
- data/assets/_vendor/ace/theme-idle_fingers.js +1 -2
- data/assets/_vendor/ace/theme-iplastic.js +1 -2
- data/assets/_vendor/ace/theme-katzenmilch.js +1 -2
- data/assets/_vendor/ace/theme-kr_theme.js +1 -2
- data/assets/_vendor/ace/theme-kuroir.js +1 -2
- data/assets/_vendor/ace/theme-merbivore.js +1 -2
- data/assets/_vendor/ace/theme-merbivore_soft.js +1 -2
- data/assets/_vendor/ace/theme-mono_industrial.js +1 -2
- data/assets/_vendor/ace/theme-monokai.js +1 -2
- data/assets/_vendor/ace/theme-pastel_on_dark.js +1 -2
- data/assets/_vendor/ace/theme-solarized_dark.js +1 -2
- data/assets/_vendor/ace/theme-solarized_light.js +1 -2
- data/assets/_vendor/ace/theme-sqlserver.js +1 -2
- data/assets/_vendor/ace/theme-terminal.js +1 -2
- data/assets/_vendor/ace/theme-textmate.js +1 -2
- data/assets/_vendor/ace/theme-tomorrow.js +1 -2
- data/assets/_vendor/ace/theme-tomorrow_night.js +1 -2
- data/assets/_vendor/ace/theme-tomorrow_night_blue.js +1 -2
- data/assets/_vendor/ace/theme-tomorrow_night_bright.js +1 -2
- data/assets/_vendor/ace/theme-tomorrow_night_eighties.js +1 -2
- data/assets/_vendor/ace/theme-twilight.js +1 -2
- data/assets/_vendor/ace/theme-vibrant_ink.js +1 -2
- data/assets/_vendor/ace/theme-xcode.js +1 -2
- data/assets/_vendor/ace/worker-coffee.js +11 -20
- data/assets/_vendor/ace/worker-css.js +23 -20
- data/assets/_vendor/ace/worker-html.js +25 -31
- data/assets/_vendor/ace/worker-javascript.js +76 -36
- data/assets/_vendor/ace/worker-json.js +25 -20
- data/assets/_vendor/ace/worker-lua.js +68 -69
- data/assets/_vendor/ace/worker-php.js +12 -20
- data/assets/_vendor/ace/worker-xml.js +12 -22
- data/assets/_vendor/ace/worker-xquery.js +44 -12378
- data/assets/_vendor/tinymce/plugins/advlist/plugin.js +137 -137
- data/assets/_vendor/tinymce/plugins/anchor/plugin.js +102 -102
- data/assets/_vendor/tinymce/plugins/autolink/plugin.js +154 -154
- data/assets/_vendor/tinymce/plugins/autoresize/plugin.js +145 -145
- data/assets/_vendor/tinymce/plugins/autosave/plugin.js +207 -217
- data/assets/_vendor/tinymce/plugins/autosave/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/bbcode/plugin.js +89 -89
- data/assets/_vendor/tinymce/plugins/charmap/plugin.js +1246 -1246
- data/assets/_vendor/tinymce/plugins/code/plugin.js +80 -80
- data/assets/_vendor/tinymce/plugins/codesample/plugin.js +852 -852
- data/assets/_vendor/tinymce/plugins/colorpicker/plugin.js +109 -109
- data/assets/_vendor/tinymce/plugins/contextmenu/plugin.js +144 -144
- data/assets/_vendor/tinymce/plugins/directionality/plugin.js +53 -53
- data/assets/_vendor/tinymce/plugins/emoticons/plugin.js +74 -74
- data/assets/_vendor/tinymce/plugins/fullpage/plugin.js +464 -464
- data/assets/_vendor/tinymce/plugins/fullscreen/plugin.js +152 -152
- data/assets/_vendor/tinymce/plugins/help/plugin.js +639 -678
- data/assets/_vendor/tinymce/plugins/help/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/hr/plugin.js +29 -29
- data/assets/_vendor/tinymce/plugins/image/plugin.js +1119 -1126
- data/assets/_vendor/tinymce/plugins/image/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/imagetools/plugin.js +3414 -3445
- data/assets/_vendor/tinymce/plugins/imagetools/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/importcss/plugin.js +230 -230
- data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.js +152 -152
- data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.js +193 -193
- data/assets/_vendor/tinymce/plugins/link/plugin.js +646 -646
- data/assets/_vendor/tinymce/plugins/lists/plugin.js +2103 -1037
- data/assets/_vendor/tinymce/plugins/lists/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/media/plugin.js +1050 -1050
- data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.js +69 -69
- data/assets/_vendor/tinymce/plugins/noneditable/plugin.js +98 -98
- data/assets/_vendor/tinymce/plugins/pagebreak/plugin.js +91 -91
- data/assets/_vendor/tinymce/plugins/paste/plugin.js +1725 -1364
- data/assets/_vendor/tinymce/plugins/paste/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/preview/plugin.js +107 -107
- data/assets/_vendor/tinymce/plugins/print/plugin.js +28 -28
- data/assets/_vendor/tinymce/plugins/save/plugin.js +101 -101
- data/assets/_vendor/tinymce/plugins/searchreplace/plugin.js +535 -537
- data/assets/_vendor/tinymce/plugins/searchreplace/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/spellchecker/plugin.js +683 -681
- data/assets/_vendor/tinymce/plugins/spellchecker/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/tabfocus/plugin.js +95 -95
- data/assets/_vendor/tinymce/plugins/table/plugin.js +8927 -9805
- data/assets/_vendor/tinymce/plugins/table/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/template/plugin.js +305 -311
- data/assets/_vendor/tinymce/plugins/template/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/textcolor/plugin.js +317 -317
- data/assets/_vendor/tinymce/plugins/textpattern/plugin.js +575 -329
- data/assets/_vendor/tinymce/plugins/textpattern/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/toc/plugin.js +201 -201
- data/assets/_vendor/tinymce/plugins/visualblocks/plugin.js +113 -113
- data/assets/_vendor/tinymce/plugins/visualchars/plugin.js +419 -471
- data/assets/_vendor/tinymce/plugins/visualchars/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/wordcount/plugin.js +371 -308
- data/assets/_vendor/tinymce/plugins/wordcount/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.svg +1 -0
- 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/themes/inlite/theme.js +9272 -9686
- data/assets/_vendor/tinymce/themes/inlite/theme.min.js +1 -1
- data/assets/_vendor/tinymce/themes/mobile/theme.js +12130 -13042
- data/assets/_vendor/tinymce/themes/mobile/theme.min.js +1 -1
- data/assets/_vendor/tinymce/themes/modern/theme.js +9090 -9504
- data/assets/_vendor/tinymce/themes/modern/theme.min.js +1 -1
- data/assets/_vendor/tinymce/tinymce.js +24914 -25218
- data/assets/bedrock/js/bedrock.js +1 -1
- data/assets/bedrock/scss/components/no-content.scss +5 -0
- data/assets/bedrock/scss/components/select-box.scss +1 -1
- data/lib/bedrock_sass.rb +51 -16
- data/lib/bedrock_sass/engine.rb +3 -2
- data/lib/bedrock_sass/version.rb +1 -1
- metadata +17 -7
@@ -1,505 +1,453 @@
|
|
1
1
|
(function () {
|
2
2
|
var visualchars = (function () {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
3
|
+
'use strict';
|
4
|
+
|
5
|
+
var Cell = function (initial) {
|
6
|
+
var value = initial;
|
7
|
+
var get = function () {
|
8
|
+
return value;
|
9
|
+
};
|
10
|
+
var set = function (v) {
|
11
|
+
value = v;
|
12
|
+
};
|
13
|
+
var clone = function () {
|
14
|
+
return Cell(get());
|
15
|
+
};
|
16
|
+
return {
|
17
|
+
get: get,
|
18
|
+
set: set,
|
19
|
+
clone: clone
|
20
|
+
};
|
20
21
|
};
|
21
|
-
};
|
22
22
|
|
23
|
-
|
23
|
+
var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
24
24
|
|
25
|
-
|
26
|
-
|
27
|
-
|
25
|
+
var get = function (toggleState) {
|
26
|
+
var isEnabled = function () {
|
27
|
+
return toggleState.get();
|
28
|
+
};
|
29
|
+
return { isEnabled: isEnabled };
|
28
30
|
};
|
29
|
-
|
30
|
-
};
|
31
|
-
var $_91givrssjm0og28e = { get: get };
|
31
|
+
var Api = { get: get };
|
32
32
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
33
|
+
var fireVisualChars = function (editor, state) {
|
34
|
+
return editor.fire('VisualChars', { state: state });
|
35
|
+
};
|
36
|
+
var Events = { fireVisualChars: fireVisualChars };
|
37
37
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
}
|
47
|
-
return new RegExp('[' + regExp + ']', global ? 'g' : '');
|
48
|
-
};
|
49
|
-
var charMapToSelector = function (charMap) {
|
50
|
-
var key, selector = '';
|
51
|
-
for (key in charMap) {
|
52
|
-
if (selector) {
|
53
|
-
selector += ',';
|
38
|
+
var charMap = {
|
39
|
+
'\xA0': 'nbsp',
|
40
|
+
'\xAD': 'shy'
|
41
|
+
};
|
42
|
+
var charMapToRegExp = function (charMap, global) {
|
43
|
+
var key, regExp = '';
|
44
|
+
for (key in charMap) {
|
45
|
+
regExp += key;
|
54
46
|
}
|
55
|
-
|
56
|
-
}
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
47
|
+
return new RegExp('[' + regExp + ']', global ? 'g' : '');
|
48
|
+
};
|
49
|
+
var charMapToSelector = function (charMap) {
|
50
|
+
var key, selector = '';
|
51
|
+
for (key in charMap) {
|
52
|
+
if (selector) {
|
53
|
+
selector += ',';
|
54
|
+
}
|
55
|
+
selector += 'span.mce-' + charMap[key];
|
56
|
+
}
|
57
|
+
return selector;
|
58
|
+
};
|
59
|
+
var Data = {
|
60
|
+
charMap: charMap,
|
61
|
+
regExp: charMapToRegExp(charMap),
|
62
|
+
regExpGlobal: charMapToRegExp(charMap, true),
|
63
|
+
selector: charMapToSelector(charMap),
|
64
|
+
charMapToRegExp: charMapToRegExp,
|
65
|
+
charMapToSelector: charMapToSelector
|
71
66
|
};
|
72
|
-
};
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
67
|
|
80
|
-
|
81
|
-
|
68
|
+
var constant = function (value) {
|
69
|
+
return function () {
|
70
|
+
return value;
|
71
|
+
};
|
72
|
+
};
|
73
|
+
var never = constant(false);
|
74
|
+
var always = constant(true);
|
82
75
|
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
76
|
+
var never$1 = never;
|
77
|
+
var always$1 = always;
|
78
|
+
var none = function () {
|
79
|
+
return NONE;
|
80
|
+
};
|
81
|
+
var NONE = function () {
|
82
|
+
var eq = function (o) {
|
83
|
+
return o.isNone();
|
84
|
+
};
|
85
|
+
var call$$1 = function (thunk) {
|
86
|
+
return thunk();
|
87
|
+
};
|
88
|
+
var id = function (n) {
|
89
|
+
return n;
|
90
|
+
};
|
91
|
+
var noop$$1 = function () {
|
92
|
+
};
|
93
|
+
var nul = function () {
|
94
|
+
return null;
|
95
|
+
};
|
96
|
+
var undef = function () {
|
97
|
+
return undefined;
|
98
|
+
};
|
99
|
+
var me = {
|
100
|
+
fold: function (n, s) {
|
101
|
+
return n();
|
102
|
+
},
|
103
|
+
is: never$1,
|
104
|
+
isSome: never$1,
|
105
|
+
isNone: always$1,
|
106
|
+
getOr: id,
|
107
|
+
getOrThunk: call$$1,
|
108
|
+
getOrDie: function (msg) {
|
109
|
+
throw new Error(msg || 'error: getOrDie called on none.');
|
110
|
+
},
|
111
|
+
getOrNull: nul,
|
112
|
+
getOrUndefined: undef,
|
113
|
+
or: id,
|
114
|
+
orThunk: call$$1,
|
115
|
+
map: none,
|
116
|
+
ap: none,
|
117
|
+
each: noop$$1,
|
118
|
+
bind: none,
|
119
|
+
flatten: none,
|
120
|
+
exists: never$1,
|
121
|
+
forall: always$1,
|
122
|
+
filter: none,
|
123
|
+
equals: eq,
|
124
|
+
equals_: eq,
|
125
|
+
toArray: function () {
|
126
|
+
return [];
|
127
|
+
},
|
128
|
+
toString: constant('none()')
|
129
|
+
};
|
130
|
+
if (Object.freeze)
|
131
|
+
Object.freeze(me);
|
132
|
+
return me;
|
133
|
+
}();
|
134
|
+
var some = function (a) {
|
135
|
+
var constant_a = function () {
|
136
|
+
return a;
|
137
|
+
};
|
138
|
+
var self = function () {
|
139
|
+
return me;
|
140
|
+
};
|
141
|
+
var map = function (f) {
|
142
|
+
return some(f(a));
|
143
|
+
};
|
144
|
+
var bind = function (f) {
|
145
|
+
return f(a);
|
146
|
+
};
|
147
|
+
var me = {
|
148
|
+
fold: function (n, s) {
|
149
|
+
return s(a);
|
150
|
+
},
|
151
|
+
is: function (v) {
|
152
|
+
return a === v;
|
153
|
+
},
|
154
|
+
isSome: always$1,
|
155
|
+
isNone: never$1,
|
156
|
+
getOr: constant_a,
|
157
|
+
getOrThunk: constant_a,
|
158
|
+
getOrDie: constant_a,
|
159
|
+
getOrNull: constant_a,
|
160
|
+
getOrUndefined: constant_a,
|
161
|
+
or: self,
|
162
|
+
orThunk: self,
|
163
|
+
map: map,
|
164
|
+
ap: function (optfab) {
|
165
|
+
return optfab.fold(none, function (fab) {
|
166
|
+
return some(fab(a));
|
167
|
+
});
|
168
|
+
},
|
169
|
+
each: function (f) {
|
170
|
+
f(a);
|
171
|
+
},
|
172
|
+
bind: bind,
|
173
|
+
flatten: constant_a,
|
174
|
+
exists: bind,
|
175
|
+
forall: bind,
|
176
|
+
filter: function (f) {
|
177
|
+
return f(a) ? me : NONE;
|
178
|
+
},
|
179
|
+
equals: function (o) {
|
180
|
+
return o.is(a);
|
181
|
+
},
|
182
|
+
equals_: function (o, elementEq) {
|
183
|
+
return o.fold(never$1, function (b) {
|
184
|
+
return elementEq(a, b);
|
185
|
+
});
|
186
|
+
},
|
187
|
+
toArray: function () {
|
188
|
+
return [a];
|
189
|
+
},
|
190
|
+
toString: function () {
|
191
|
+
return 'some(' + a + ')';
|
192
|
+
}
|
193
|
+
};
|
146
194
|
return me;
|
147
195
|
};
|
148
|
-
var
|
149
|
-
return some(
|
150
|
-
};
|
151
|
-
var
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
fold: function (n, s) {
|
156
|
-
return s(a);
|
157
|
-
},
|
158
|
-
is: function (v) {
|
159
|
-
return a === v;
|
160
|
-
},
|
161
|
-
isSome: always$1,
|
162
|
-
isNone: never$1,
|
163
|
-
getOr: constant_a,
|
164
|
-
getOrThunk: constant_a,
|
165
|
-
getOrDie: constant_a,
|
166
|
-
getOrNull: constant_a,
|
167
|
-
getOrUndefined: constant_a,
|
168
|
-
or: self,
|
169
|
-
orThunk: self,
|
170
|
-
map: map,
|
171
|
-
ap: function (optfab) {
|
172
|
-
return optfab.fold(none, function (fab) {
|
173
|
-
return some(fab(a));
|
174
|
-
});
|
175
|
-
},
|
176
|
-
each: function (f) {
|
177
|
-
f(a);
|
178
|
-
},
|
179
|
-
bind: bind,
|
180
|
-
flatten: constant_a,
|
181
|
-
exists: bind,
|
182
|
-
forall: bind,
|
183
|
-
filter: function (f) {
|
184
|
-
return f(a) ? me : NONE;
|
185
|
-
},
|
186
|
-
equals: function (o) {
|
187
|
-
return o.is(a);
|
188
|
-
},
|
189
|
-
equals_: function (o, elementEq) {
|
190
|
-
return o.fold(never$1, function (b) {
|
191
|
-
return elementEq(a, b);
|
192
|
-
});
|
193
|
-
},
|
194
|
-
toArray: function () {
|
195
|
-
return [a];
|
196
|
-
},
|
197
|
-
toString: function () {
|
198
|
-
return 'some(' + a + ')';
|
199
|
-
}
|
196
|
+
var from = function (value) {
|
197
|
+
return value === null || value === undefined ? NONE : some(value);
|
198
|
+
};
|
199
|
+
var Option = {
|
200
|
+
some: some,
|
201
|
+
none: none,
|
202
|
+
from: from
|
200
203
|
};
|
201
|
-
return me;
|
202
|
-
};
|
203
|
-
var from = function (value) {
|
204
|
-
return value === null || value === undefined ? NONE : some(value);
|
205
|
-
};
|
206
|
-
var Option = {
|
207
|
-
some: some,
|
208
|
-
none: none,
|
209
|
-
from: from
|
210
|
-
};
|
211
|
-
|
212
|
-
var typeOf = function (x) {
|
213
|
-
if (x === null)
|
214
|
-
return 'null';
|
215
|
-
var t = typeof x;
|
216
|
-
if (t === 'object' && Array.prototype.isPrototypeOf(x))
|
217
|
-
return 'array';
|
218
|
-
if (t === 'object' && String.prototype.isPrototypeOf(x))
|
219
|
-
return 'string';
|
220
|
-
return t;
|
221
|
-
};
|
222
|
-
var isType = function (type) {
|
223
|
-
return function (value) {
|
224
|
-
return typeOf(value) === type;
|
225
|
-
};
|
226
|
-
};
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
var isFunction = isType('function');
|
234
|
-
|
235
|
-
var map = function (xs, f) {
|
236
|
-
var len = xs.length;
|
237
|
-
var r = new Array(len);
|
238
|
-
for (var i = 0; i < len; i++) {
|
239
|
-
var x = xs[i];
|
240
|
-
r[i] = f(x, i, xs);
|
241
|
-
}
|
242
|
-
return r;
|
243
|
-
};
|
244
|
-
var each = function (xs, f) {
|
245
|
-
for (var i = 0, len = xs.length; i < len; i++) {
|
246
|
-
var x = xs[i];
|
247
|
-
f(x, i, xs);
|
248
|
-
}
|
249
|
-
};
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
var slice = Array.prototype.slice;
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
var from$1 = isFunction(Array.from) ? Array.from : function (x) {
|
271
|
-
return slice.call(x);
|
272
|
-
};
|
273
|
-
|
274
|
-
var fromHtml = function (html, scope) {
|
275
|
-
var doc = scope || document;
|
276
|
-
var div = doc.createElement('div');
|
277
|
-
div.innerHTML = html;
|
278
|
-
if (!div.hasChildNodes() || div.childNodes.length > 1) {
|
279
|
-
console.error('HTML does not have a single root node', html);
|
280
|
-
throw 'HTML must have a single root node';
|
281
|
-
}
|
282
|
-
return fromDom(div.childNodes[0]);
|
283
|
-
};
|
284
|
-
var fromTag = function (tag, scope) {
|
285
|
-
var doc = scope || document;
|
286
|
-
var node = doc.createElement(tag);
|
287
|
-
return fromDom(node);
|
288
|
-
};
|
289
|
-
var fromText = function (text, scope) {
|
290
|
-
var doc = scope || document;
|
291
|
-
var node = doc.createTextNode(text);
|
292
|
-
return fromDom(node);
|
293
|
-
};
|
294
|
-
var fromDom = function (node) {
|
295
|
-
if (node === null || node === undefined)
|
296
|
-
throw new Error('Node cannot be null or undefined');
|
297
|
-
return { dom: constant(node) };
|
298
|
-
};
|
299
|
-
var fromPoint = function (docElm, x, y) {
|
300
|
-
var doc = docElm.dom();
|
301
|
-
return Option.from(doc.elementFromPoint(x, y)).map(fromDom);
|
302
|
-
};
|
303
|
-
var Element$$1 = {
|
304
|
-
fromHtml: fromHtml,
|
305
|
-
fromTag: fromTag,
|
306
|
-
fromText: fromText,
|
307
|
-
fromDom: fromDom,
|
308
|
-
fromPoint: fromPoint
|
309
|
-
};
|
310
|
-
|
311
|
-
var $_5ao1w8t6jm0og29y = {
|
312
|
-
ATTRIBUTE: Node.ATTRIBUTE_NODE,
|
313
|
-
CDATA_SECTION: Node.CDATA_SECTION_NODE,
|
314
|
-
COMMENT: Node.COMMENT_NODE,
|
315
|
-
DOCUMENT: Node.DOCUMENT_NODE,
|
316
|
-
DOCUMENT_TYPE: Node.DOCUMENT_TYPE_NODE,
|
317
|
-
DOCUMENT_FRAGMENT: Node.DOCUMENT_FRAGMENT_NODE,
|
318
|
-
ELEMENT: Node.ELEMENT_NODE,
|
319
|
-
TEXT: Node.TEXT_NODE,
|
320
|
-
PROCESSING_INSTRUCTION: Node.PROCESSING_INSTRUCTION_NODE,
|
321
|
-
ENTITY_REFERENCE: Node.ENTITY_REFERENCE_NODE,
|
322
|
-
ENTITY: Node.ENTITY_NODE,
|
323
|
-
NOTATION: Node.NOTATION_NODE
|
324
|
-
};
|
325
|
-
|
326
|
-
var name = function (element) {
|
327
|
-
var r = element.dom().nodeName;
|
328
|
-
return r.toLowerCase();
|
329
|
-
};
|
330
|
-
var type = function (element) {
|
331
|
-
return element.dom().nodeType;
|
332
|
-
};
|
333
|
-
var value = function (element) {
|
334
|
-
return element.dom().nodeValue;
|
335
|
-
};
|
336
|
-
var isType$1 = function (t) {
|
337
|
-
return function (element) {
|
338
|
-
return type(element) === t;
|
339
|
-
};
|
340
|
-
};
|
341
|
-
var isComment = function (element) {
|
342
|
-
return type(element) === $_5ao1w8t6jm0og29y.COMMENT || name(element) === '#comment';
|
343
|
-
};
|
344
|
-
var isElement = isType$1($_5ao1w8t6jm0og29y.ELEMENT);
|
345
|
-
var isText = isType$1($_5ao1w8t6jm0og29y.TEXT);
|
346
|
-
var isDocument = isType$1($_5ao1w8t6jm0og29y.DOCUMENT);
|
347
|
-
var $_6qboq0t5jm0og29x = {
|
348
|
-
name: name,
|
349
|
-
type: type,
|
350
|
-
value: value,
|
351
|
-
isElement: isElement,
|
352
|
-
isText: isText,
|
353
|
-
isDocument: isDocument,
|
354
|
-
isComment: isComment
|
355
|
-
};
|
356
|
-
|
357
|
-
var wrapCharWithSpan = function (value) {
|
358
|
-
return '<span data-mce-bogus="1" class="mce-' + $_aa0v31sxjm0og28p.charMap[value] + '">' + value + '</span>';
|
359
|
-
};
|
360
|
-
var $_724dsdt7jm0og2a0 = { wrapCharWithSpan: wrapCharWithSpan };
|
361
204
|
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
205
|
+
var typeOf = function (x) {
|
206
|
+
if (x === null)
|
207
|
+
return 'null';
|
208
|
+
var t = typeof x;
|
209
|
+
if (t === 'object' && Array.prototype.isPrototypeOf(x))
|
210
|
+
return 'array';
|
211
|
+
if (t === 'object' && String.prototype.isPrototypeOf(x))
|
212
|
+
return 'string';
|
213
|
+
return t;
|
214
|
+
};
|
215
|
+
var isType = function (type) {
|
216
|
+
return function (value) {
|
217
|
+
return typeOf(value) === type;
|
218
|
+
};
|
219
|
+
};
|
220
|
+
var isFunction = isType('function');
|
221
|
+
|
222
|
+
var map = function (xs, f) {
|
223
|
+
var len = xs.length;
|
224
|
+
var r = new Array(len);
|
225
|
+
for (var i = 0; i < len; i++) {
|
226
|
+
var x = xs[i];
|
227
|
+
r[i] = f(x, i, xs);
|
372
228
|
}
|
373
|
-
|
374
|
-
}
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
if (elm.parentNode === rootElm) {
|
380
|
-
return elm;
|
229
|
+
return r;
|
230
|
+
};
|
231
|
+
var each = function (xs, f) {
|
232
|
+
for (var i = 0, len = xs.length; i < len; i++) {
|
233
|
+
var x = xs[i];
|
234
|
+
f(x, i, xs);
|
381
235
|
}
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
};
|
388
|
-
var $_4qefmtsyjm0og28r = {
|
389
|
-
isMatch: isMatch,
|
390
|
-
filterDescendants: filterDescendants,
|
391
|
-
findParentElm: findParentElm,
|
392
|
-
replaceWithSpans: replaceWithSpans
|
393
|
-
};
|
236
|
+
};
|
237
|
+
var slice = Array.prototype.slice;
|
238
|
+
var from$1 = isFunction(Array.from) ? Array.from : function (x) {
|
239
|
+
return slice.call(x);
|
240
|
+
};
|
394
241
|
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
editor.dom.insertAfter(node, n.dom());
|
242
|
+
var fromHtml = function (html, scope) {
|
243
|
+
var doc = scope || document;
|
244
|
+
var div = doc.createElement('div');
|
245
|
+
div.innerHTML = html;
|
246
|
+
if (!div.hasChildNodes() || div.childNodes.length > 1) {
|
247
|
+
console.error('HTML does not have a single root node', html);
|
248
|
+
throw 'HTML must have a single root node';
|
403
249
|
}
|
404
|
-
|
405
|
-
}
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
var
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
250
|
+
return fromDom(div.childNodes[0]);
|
251
|
+
};
|
252
|
+
var fromTag = function (tag, scope) {
|
253
|
+
var doc = scope || document;
|
254
|
+
var node = doc.createElement(tag);
|
255
|
+
return fromDom(node);
|
256
|
+
};
|
257
|
+
var fromText = function (text, scope) {
|
258
|
+
var doc = scope || document;
|
259
|
+
var node = doc.createTextNode(text);
|
260
|
+
return fromDom(node);
|
261
|
+
};
|
262
|
+
var fromDom = function (node) {
|
263
|
+
if (node === null || node === undefined)
|
264
|
+
throw new Error('Node cannot be null or undefined');
|
265
|
+
return { dom: constant(node) };
|
266
|
+
};
|
267
|
+
var fromPoint = function (docElm, x, y) {
|
268
|
+
var doc = docElm.dom();
|
269
|
+
return Option.from(doc.elementFromPoint(x, y)).map(fromDom);
|
270
|
+
};
|
271
|
+
var Element$$1 = {
|
272
|
+
fromHtml: fromHtml,
|
273
|
+
fromTag: fromTag,
|
274
|
+
fromText: fromText,
|
275
|
+
fromDom: fromDom,
|
276
|
+
fromPoint: fromPoint
|
277
|
+
};
|
427
278
|
|
428
|
-
|
429
|
-
var
|
430
|
-
var
|
431
|
-
var
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
279
|
+
var ATTRIBUTE = Node.ATTRIBUTE_NODE;
|
280
|
+
var CDATA_SECTION = Node.CDATA_SECTION_NODE;
|
281
|
+
var COMMENT = Node.COMMENT_NODE;
|
282
|
+
var DOCUMENT = Node.DOCUMENT_NODE;
|
283
|
+
var DOCUMENT_TYPE = Node.DOCUMENT_TYPE_NODE;
|
284
|
+
var DOCUMENT_FRAGMENT = Node.DOCUMENT_FRAGMENT_NODE;
|
285
|
+
var ELEMENT = Node.ELEMENT_NODE;
|
286
|
+
var TEXT = Node.TEXT_NODE;
|
287
|
+
var PROCESSING_INSTRUCTION = Node.PROCESSING_INSTRUCTION_NODE;
|
288
|
+
var ENTITY_REFERENCE = Node.ENTITY_REFERENCE_NODE;
|
289
|
+
var ENTITY = Node.ENTITY_NODE;
|
290
|
+
var NOTATION = Node.NOTATION_NODE;
|
291
|
+
|
292
|
+
var type = function (element) {
|
293
|
+
return element.dom().nodeType;
|
294
|
+
};
|
295
|
+
var value = function (element) {
|
296
|
+
return element.dom().nodeValue;
|
297
|
+
};
|
298
|
+
var isType$1 = function (t) {
|
299
|
+
return function (element) {
|
300
|
+
return type(element) === t;
|
301
|
+
};
|
302
|
+
};
|
303
|
+
var isText = isType$1(TEXT);
|
443
304
|
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
}
|
448
|
-
};
|
449
|
-
var $_77bhnbstjm0og28f = { register: register };
|
305
|
+
var wrapCharWithSpan = function (value) {
|
306
|
+
return '<span data-mce-bogus="1" class="mce-' + Data.charMap[value] + '">' + value + '</span>';
|
307
|
+
};
|
308
|
+
var Html = { wrapCharWithSpan: wrapCharWithSpan };
|
450
309
|
|
451
|
-
|
310
|
+
var isMatch = function (n) {
|
311
|
+
return isText(n) && value(n) !== undefined && Data.regExp.test(value(n));
|
312
|
+
};
|
313
|
+
var filterDescendants = function (scope, predicate) {
|
314
|
+
var result = [];
|
315
|
+
var dom = scope.dom();
|
316
|
+
var children = map(dom.childNodes, Element$$1.fromDom);
|
317
|
+
each(children, function (x) {
|
318
|
+
if (predicate(x)) {
|
319
|
+
result = result.concat([x]);
|
320
|
+
}
|
321
|
+
result = result.concat(filterDescendants(x, predicate));
|
322
|
+
});
|
323
|
+
return result;
|
324
|
+
};
|
325
|
+
var findParentElm = function (elm, rootElm) {
|
326
|
+
while (elm.parentNode) {
|
327
|
+
if (elm.parentNode === rootElm) {
|
328
|
+
return elm;
|
329
|
+
}
|
330
|
+
elm = elm.parentNode;
|
331
|
+
}
|
332
|
+
};
|
333
|
+
var replaceWithSpans = function (html) {
|
334
|
+
return html.replace(Data.regExpGlobal, Html.wrapCharWithSpan);
|
335
|
+
};
|
336
|
+
var Nodes = {
|
337
|
+
isMatch: isMatch,
|
338
|
+
filterDescendants: filterDescendants,
|
339
|
+
findParentElm: findParentElm,
|
340
|
+
replaceWithSpans: replaceWithSpans
|
341
|
+
};
|
452
342
|
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
343
|
+
var show = function (editor, rootElm) {
|
344
|
+
var node, div;
|
345
|
+
var nodeList = Nodes.filterDescendants(Element$$1.fromDom(rootElm), Nodes.isMatch);
|
346
|
+
each(nodeList, function (n) {
|
347
|
+
var withSpans = Nodes.replaceWithSpans(value(n));
|
348
|
+
div = editor.dom.create('div', null, withSpans);
|
349
|
+
while (node = div.lastChild) {
|
350
|
+
editor.dom.insertAfter(node, n.dom());
|
461
351
|
}
|
352
|
+
editor.dom.remove(n.dom());
|
462
353
|
});
|
463
|
-
}
|
464
|
-
|
465
|
-
|
354
|
+
};
|
355
|
+
var hide = function (editor, body) {
|
356
|
+
var nodeList = editor.dom.select(Data.selector, body);
|
357
|
+
each(nodeList, function (node) {
|
358
|
+
editor.dom.remove(node, 1);
|
359
|
+
});
|
360
|
+
};
|
361
|
+
var toggle = function (editor) {
|
362
|
+
var body = editor.getBody();
|
363
|
+
var bookmark = editor.selection.getBookmark();
|
364
|
+
var parentNode = Nodes.findParentElm(editor.selection.getNode(), body);
|
365
|
+
parentNode = parentNode !== undefined ? parentNode : body;
|
366
|
+
hide(editor, parentNode);
|
367
|
+
show(editor, parentNode);
|
368
|
+
editor.selection.moveToBookmark(bookmark);
|
369
|
+
};
|
370
|
+
var VisualChars = {
|
371
|
+
show: show,
|
372
|
+
hide: hide,
|
373
|
+
toggle: toggle
|
374
|
+
};
|
375
|
+
|
376
|
+
var toggleVisualChars = function (editor, toggleState) {
|
377
|
+
var body = editor.getBody();
|
378
|
+
var selection = editor.selection;
|
379
|
+
var bookmark;
|
380
|
+
toggleState.set(!toggleState.get());
|
381
|
+
Events.fireVisualChars(editor, toggleState.get());
|
382
|
+
bookmark = selection.getBookmark();
|
383
|
+
if (toggleState.get() === true) {
|
384
|
+
VisualChars.show(editor, body);
|
385
|
+
} else {
|
386
|
+
VisualChars.hide(editor, body);
|
387
|
+
}
|
388
|
+
selection.moveToBookmark(bookmark);
|
389
|
+
};
|
390
|
+
var Actions = { toggleVisualChars: toggleVisualChars };
|
466
391
|
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
392
|
+
var register = function (editor, toggleState) {
|
393
|
+
editor.addCommand('mceVisualChars', function () {
|
394
|
+
Actions.toggleVisualChars(editor, toggleState);
|
395
|
+
});
|
396
|
+
};
|
397
|
+
var Commands = { register: register };
|
398
|
+
|
399
|
+
var global$1 = tinymce.util.Tools.resolve('tinymce.util.Delay');
|
400
|
+
|
401
|
+
var setup = function (editor, toggleState) {
|
402
|
+
var debouncedToggle = global$1.debounce(function () {
|
403
|
+
VisualChars.toggle(editor);
|
404
|
+
}, 300);
|
405
|
+
if (editor.settings.forced_root_block !== false) {
|
406
|
+
editor.on('keydown', function (e) {
|
407
|
+
if (toggleState.get() === true) {
|
408
|
+
e.keyCode === 13 ? VisualChars.toggle(editor) : debouncedToggle();
|
409
|
+
}
|
410
|
+
});
|
411
|
+
}
|
412
|
+
};
|
413
|
+
var Keyboard = { setup: setup };
|
414
|
+
|
415
|
+
var toggleActiveState = function (editor) {
|
416
|
+
return function (e) {
|
417
|
+
var ctrl = e.control;
|
418
|
+
editor.on('VisualChars', function (e) {
|
419
|
+
ctrl.active(e.state);
|
420
|
+
});
|
421
|
+
};
|
422
|
+
};
|
423
|
+
var register$1 = function (editor) {
|
424
|
+
editor.addButton('visualchars', {
|
425
|
+
active: false,
|
426
|
+
title: 'Show invisible characters',
|
427
|
+
cmd: 'mceVisualChars',
|
428
|
+
onPostRender: toggleActiveState(editor)
|
429
|
+
});
|
430
|
+
editor.addMenuItem('visualchars', {
|
431
|
+
text: 'Show invisible characters',
|
432
|
+
cmd: 'mceVisualChars',
|
433
|
+
onPostRender: toggleActiveState(editor),
|
434
|
+
selectable: true,
|
435
|
+
context: 'view',
|
436
|
+
prependToContext: true
|
472
437
|
});
|
473
438
|
};
|
474
|
-
};
|
475
|
-
var register$1 = function (editor) {
|
476
|
-
editor.addButton('visualchars', {
|
477
|
-
active: false,
|
478
|
-
title: 'Show invisible characters',
|
479
|
-
cmd: 'mceVisualChars',
|
480
|
-
onPostRender: toggleActiveState(editor)
|
481
|
-
});
|
482
|
-
editor.addMenuItem('visualchars', {
|
483
|
-
text: 'Show invisible characters',
|
484
|
-
cmd: 'mceVisualChars',
|
485
|
-
onPostRender: toggleActiveState(editor),
|
486
|
-
selectable: true,
|
487
|
-
context: 'view',
|
488
|
-
prependToContext: true
|
489
|
-
});
|
490
|
-
};
|
491
439
|
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
440
|
+
global.add('visualchars', function (editor) {
|
441
|
+
var toggleState = Cell(false);
|
442
|
+
Commands.register(editor, toggleState);
|
443
|
+
register$1(editor);
|
444
|
+
Keyboard.setup(editor, toggleState);
|
445
|
+
return Api.get(toggleState);
|
446
|
+
});
|
447
|
+
function Plugin () {
|
448
|
+
}
|
501
449
|
|
502
|
-
|
450
|
+
return Plugin;
|
503
451
|
|
504
452
|
}());
|
505
453
|
})();
|