weaver 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.rspec +2 -0
- data/.travis.yml +3 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +39 -0
- data/Rakefile +1 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/bin/weaver +76 -0
- data/data/weaver/css/animate.css +2848 -0
- data/data/weaver/css/bootstrap.css +6358 -0
- data/data/weaver/css/bootstrap.min.css +5 -0
- data/data/weaver/css/patterns/congruent_pentagon.png +0 -0
- data/data/weaver/css/patterns/header-profile-skin-1.png +0 -0
- data/data/weaver/css/patterns/header-profile-skin-2.png +0 -0
- data/data/weaver/css/patterns/header-profile-skin-3.png +0 -0
- data/data/weaver/css/patterns/header-profile.png +0 -0
- data/data/weaver/css/patterns/otis_redding.png +0 -0
- data/data/weaver/css/patterns/shattered.png +0 -0
- data/data/weaver/css/patterns/triangular.png +0 -0
- data/data/weaver/css/plugins/blueimp/css/blueimp-gallery-indicator.css +71 -0
- data/data/weaver/css/plugins/blueimp/css/blueimp-gallery-video.css +87 -0
- data/data/weaver/css/plugins/blueimp/css/blueimp-gallery.css +226 -0
- data/data/weaver/css/plugins/blueimp/css/blueimp-gallery.min.css +1 -0
- data/data/weaver/css/plugins/blueimp/css/demo.css +51 -0
- data/data/weaver/css/plugins/blueimp/img/error.png +0 -0
- data/data/weaver/css/plugins/blueimp/img/error.svg +5 -0
- data/data/weaver/css/plugins/blueimp/img/loading.gif +0 -0
- data/data/weaver/css/plugins/blueimp/img/play-pause.png +0 -0
- data/data/weaver/css/plugins/blueimp/img/play-pause.svg +6 -0
- data/data/weaver/css/plugins/blueimp/img/video-play.png +0 -0
- data/data/weaver/css/plugins/blueimp/img/video-play.svg +5 -0
- data/data/weaver/css/plugins/bootstrap-rtl/bootstrap-rtl.css +1468 -0
- data/data/weaver/css/plugins/bootstrap-rtl/bootstrap-rtl.css.map +1 -0
- data/data/weaver/css/plugins/bootstrap-rtl/bootstrap-rtl.min.css +9 -0
- data/data/weaver/css/plugins/chosen/chosen-sprite.png +0 -0
- data/data/weaver/css/plugins/chosen/chosen-sprite@2x.png +0 -0
- data/data/weaver/css/plugins/chosen/chosen.css +429 -0
- data/data/weaver/css/plugins/codemirror/ambiance.css +77 -0
- data/data/weaver/css/plugins/codemirror/codemirror.css +309 -0
- data/data/weaver/css/plugins/colorpicker/bootstrap-colorpicker.min.css +9 -0
- data/data/weaver/css/plugins/cropper/cropper.min.css +9 -0
- data/data/weaver/css/plugins/dataTables/dataTables.bootstrap.css +233 -0
- data/data/weaver/css/plugins/dataTables/dataTables.responsive.css +93 -0
- data/data/weaver/css/plugins/dataTables/dataTables.tableTools.min.css +1 -0
- data/data/weaver/css/plugins/datapicker/datepicker3.css +789 -0
- data/data/weaver/css/plugins/dropzone/basic.css +155 -0
- data/data/weaver/css/plugins/dropzone/dropzone.css +410 -0
- data/data/weaver/css/plugins/fullcalendar/fullcalendar.css +977 -0
- data/data/weaver/css/plugins/fullcalendar/fullcalendar.print.css +202 -0
- data/data/weaver/css/plugins/iCheck/custom.css +59 -0
- data/data/weaver/css/plugins/iCheck/green.png +0 -0
- data/data/weaver/css/plugins/iCheck/green@2x.png +0 -0
- data/data/weaver/css/plugins/images/bootstrap-colorpicker/alpha-horizontal.png +0 -0
- data/data/weaver/css/plugins/images/bootstrap-colorpicker/alpha.png +0 -0
- data/data/weaver/css/plugins/images/bootstrap-colorpicker/hue-horizontal.png +0 -0
- data/data/weaver/css/plugins/images/bootstrap-colorpicker/hue.png +0 -0
- data/data/weaver/css/plugins/images/bootstrap-colorpicker/saturation.png +0 -0
- data/data/weaver/css/plugins/images/sort.png +0 -0
- data/data/weaver/css/plugins/images/sort_asc.png +0 -0
- data/data/weaver/css/plugins/images/sort_desc.png +0 -0
- data/data/weaver/css/plugins/images/sprite-skin-flat.png +0 -0
- data/data/weaver/css/plugins/images/sprite-skin-flat2.png +0 -0
- data/data/weaver/css/plugins/images/sprite-skin-nice.png +0 -0
- data/data/weaver/css/plugins/images/sprite-skin-simple.png +0 -0
- data/data/weaver/css/plugins/images/spritemap.png +0 -0
- data/data/weaver/css/plugins/images/spritemap@2x.png +0 -0
- data/data/weaver/css/plugins/ionRangeSlider/ion.rangeSlider.css +126 -0
- data/data/weaver/css/plugins/ionRangeSlider/ion.rangeSlider.skinFlat.css +89 -0
- data/data/weaver/css/plugins/ionRangeSlider/ion.rangeSlider.skinNice.css +85 -0
- data/data/weaver/css/plugins/ionRangeSlider/ion.rangeSlider.skinSimple.css +85 -0
- data/data/weaver/css/plugins/jQueryUI/images/animated-overlay.gif +0 -0
- data/data/weaver/css/plugins/jQueryUI/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/data/weaver/css/plugins/jQueryUI/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/data/weaver/css/plugins/jQueryUI/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/data/weaver/css/plugins/jQueryUI/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/data/weaver/css/plugins/jQueryUI/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/data/weaver/css/plugins/jQueryUI/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/data/weaver/css/plugins/jQueryUI/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/data/weaver/css/plugins/jQueryUI/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/data/weaver/css/plugins/jQueryUI/images/ui-icons_222222_256x240.png +0 -0
- data/data/weaver/css/plugins/jQueryUI/images/ui-icons_2e83ff_256x240.png +0 -0
- data/data/weaver/css/plugins/jQueryUI/images/ui-icons_454545_256x240.png +0 -0
- data/data/weaver/css/plugins/jQueryUI/images/ui-icons_888888_256x240.png +0 -0
- data/data/weaver/css/plugins/jQueryUI/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/data/weaver/css/plugins/jQueryUI/jquery-ui-1.10.4.custom.min.css +7 -0
- data/data/weaver/css/plugins/jasny/jasny-bootstrap.min.css +7 -0
- data/data/weaver/css/plugins/jqGrid/ui.jqgrid.css +171 -0
- data/data/weaver/css/plugins/jsTree/32px.png +0 -0
- data/data/weaver/css/plugins/jsTree/39px.png +0 -0
- data/data/weaver/css/plugins/jsTree/40px.png +0 -0
- data/data/weaver/css/plugins/jsTree/style.css +1050 -0
- data/data/weaver/css/plugins/jsTree/style.min.css +1 -0
- data/data/weaver/css/plugins/jsTree/throbber.gif +0 -0
- data/data/weaver/css/plugins/morris/morris-0.4.3.min.css +2 -0
- data/data/weaver/css/plugins/nouslider/jquery.nouislider.css +165 -0
- data/data/weaver/css/plugins/social-buttons/social-buttons.css +68 -0
- data/data/weaver/css/plugins/steps/jquery.steps.css +380 -0
- data/data/weaver/css/plugins/summernote/summernote-bs3.css +5970 -0
- data/data/weaver/css/plugins/summernote/summernote.css +446 -0
- data/data/weaver/css/plugins/switchery/switchery.css +32 -0
- data/data/weaver/css/plugins/toastr/toastr.min.css +222 -0
- data/data/weaver/css/style.css +5031 -0
- data/data/weaver/css/style.min.css +1 -0
- data/data/weaver/font-awesome/css/font-awesome.css +1801 -0
- data/data/weaver/font-awesome/css/font-awesome.min.css +4 -0
- data/data/weaver/font-awesome/fonts/FontAwesome.otf +0 -0
- data/data/weaver/font-awesome/fonts/fontawesome-webfont.eot +0 -0
- data/data/weaver/font-awesome/fonts/fontawesome-webfont.svg +565 -0
- data/data/weaver/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
- data/data/weaver/font-awesome/fonts/fontawesome-webfont.woff +0 -0
- data/data/weaver/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
- data/data/weaver/font-awesome/less/animated.less +34 -0
- data/data/weaver/font-awesome/less/bordered-pulled.less +16 -0
- data/data/weaver/font-awesome/less/core.less +13 -0
- data/data/weaver/font-awesome/less/fixed-width.less +6 -0
- data/data/weaver/font-awesome/less/font-awesome.less +17 -0
- data/data/weaver/font-awesome/less/icons.less +596 -0
- data/data/weaver/font-awesome/less/larger.less +13 -0
- data/data/weaver/font-awesome/less/list.less +19 -0
- data/data/weaver/font-awesome/less/mixins.less +27 -0
- data/data/weaver/font-awesome/less/path.less +15 -0
- data/data/weaver/font-awesome/less/rotated-flipped.less +20 -0
- data/data/weaver/font-awesome/less/stacked.less +20 -0
- data/data/weaver/font-awesome/less/variables.less +606 -0
- data/data/weaver/font-awesome/scss/_animated.scss +34 -0
- data/data/weaver/font-awesome/scss/_bordered-pulled.scss +16 -0
- data/data/weaver/font-awesome/scss/_core.scss +13 -0
- data/data/weaver/font-awesome/scss/_fixed-width.scss +6 -0
- data/data/weaver/font-awesome/scss/_icons.scss +596 -0
- data/data/weaver/font-awesome/scss/_larger.scss +13 -0
- data/data/weaver/font-awesome/scss/_list.scss +19 -0
- data/data/weaver/font-awesome/scss/_mixins.scss +27 -0
- data/data/weaver/font-awesome/scss/_path.scss +15 -0
- data/data/weaver/font-awesome/scss/_rotated-flipped.scss +20 -0
- data/data/weaver/font-awesome/scss/_stacked.scss +20 -0
- data/data/weaver/font-awesome/scss/_variables.scss +606 -0
- data/data/weaver/font-awesome/scss/font-awesome.scss +17 -0
- data/data/weaver/fonts/OpenSans/OpenSans-Bold.ttf +0 -0
- data/data/weaver/fonts/OpenSans/OpenSans-BoldItalic.ttf +0 -0
- data/data/weaver/fonts/OpenSans/OpenSans-ExtraBold.ttf +0 -0
- data/data/weaver/fonts/OpenSans/OpenSans-ExtraBoldItalic.ttf +0 -0
- data/data/weaver/fonts/OpenSans/OpenSans-Italic.ttf +0 -0
- data/data/weaver/fonts/OpenSans/OpenSans-Light.ttf +0 -0
- data/data/weaver/fonts/OpenSans/OpenSans-LightItalic.ttf +0 -0
- data/data/weaver/fonts/OpenSans/OpenSans-Regular.ttf +0 -0
- data/data/weaver/fonts/OpenSans/OpenSans-Semibold.ttf +0 -0
- data/data/weaver/fonts/OpenSans/OpenSans-SemiboldItalic.ttf +0 -0
- data/data/weaver/fonts/glyphicons-halflings-regular.eot +0 -0
- data/data/weaver/fonts/glyphicons-halflings-regular.svg +229 -0
- data/data/weaver/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/data/weaver/fonts/glyphicons-halflings-regular.woff +0 -0
- data/data/weaver/js/bootstrap.js +2276 -0
- data/data/weaver/js/bootstrap.min.js +7 -0
- data/data/weaver/js/demo/chartjs-demo.js +217 -0
- data/data/weaver/js/demo/dashboard-demo.js +117 -0
- data/data/weaver/js/demo/flot-demo.js +308 -0
- data/data/weaver/js/demo/flot-demo2.js +377 -0
- data/data/weaver/js/demo/morris-demo.js +89 -0
- data/data/weaver/js/demo/peity-demo.js +33 -0
- data/data/weaver/js/demo/rickshaw-demo.js +103 -0
- data/data/weaver/js/demo/sparkline-demo.js +51 -0
- data/data/weaver/js/inspinia.js +149 -0
- data/data/weaver/js/jquery-2.1.1.js +4 -0
- data/data/weaver/js/jquery-ui-1.10.4.min.js +7 -0
- data/data/weaver/js/jquery-ui.custom.min.js +16 -0
- data/data/weaver/js/plugins/blueimp/jquery.blueimp-gallery.min.js +1 -0
- data/data/weaver/js/plugins/chartJs/Chart.min.js +11 -0
- data/data/weaver/js/plugins/chosen/chosen.jquery.js +1211 -0
- data/data/weaver/js/plugins/codemirror/codemirror.js +7830 -0
- data/data/weaver/js/plugins/codemirror/mode/apl/apl.js +175 -0
- data/data/weaver/js/plugins/codemirror/mode/apl/index.html +72 -0
- data/data/weaver/js/plugins/codemirror/mode/asterisk/asterisk.js +198 -0
- data/data/weaver/js/plugins/codemirror/mode/asterisk/index.html +154 -0
- data/data/weaver/js/plugins/codemirror/mode/clike/clike.js +474 -0
- data/data/weaver/js/plugins/codemirror/mode/clike/index.html +225 -0
- data/data/weaver/js/plugins/codemirror/mode/clike/scala.html +767 -0
- data/data/weaver/js/plugins/codemirror/mode/clojure/clojure.js +243 -0
- data/data/weaver/js/plugins/codemirror/mode/clojure/index.html +88 -0
- data/data/weaver/js/plugins/codemirror/mode/cobol/cobol.js +255 -0
- data/data/weaver/js/plugins/codemirror/mode/cobol/index.html +210 -0
- data/data/weaver/js/plugins/codemirror/mode/coffeescript/coffeescript.js +369 -0
- data/data/weaver/js/plugins/codemirror/mode/coffeescript/index.html +740 -0
- data/data/weaver/js/plugins/codemirror/mode/commonlisp/commonlisp.js +120 -0
- data/data/weaver/js/plugins/codemirror/mode/commonlisp/index.html +177 -0
- data/data/weaver/js/plugins/codemirror/mode/css/css.js +717 -0
- data/data/weaver/js/plugins/codemirror/mode/css/index.html +70 -0
- data/data/weaver/js/plugins/codemirror/mode/css/less.html +152 -0
- data/data/weaver/js/plugins/codemirror/mode/css/less_test.js +51 -0
- data/data/weaver/js/plugins/codemirror/mode/css/scss.html +157 -0
- data/data/weaver/js/plugins/codemirror/mode/css/scss_test.js +110 -0
- data/data/weaver/js/plugins/codemirror/mode/css/test.js +135 -0
- data/data/weaver/js/plugins/codemirror/mode/cypher/cypher.js +146 -0
- data/data/weaver/js/plugins/codemirror/mode/cypher/index.html +63 -0
- data/data/weaver/js/plugins/codemirror/mode/d/d.js +218 -0
- data/data/weaver/js/plugins/codemirror/mode/d/index.html +273 -0
- data/data/weaver/js/plugins/codemirror/mode/diff/diff.js +47 -0
- data/data/weaver/js/plugins/codemirror/mode/diff/index.html +117 -0
- data/data/weaver/js/plugins/codemirror/mode/django/django.js +67 -0
- data/data/weaver/js/plugins/codemirror/mode/django/index.html +63 -0
- data/data/weaver/js/plugins/codemirror/mode/dtd/dtd.js +142 -0
- data/data/weaver/js/plugins/codemirror/mode/dtd/index.html +89 -0
- data/data/weaver/js/plugins/codemirror/mode/dylan/dylan.js +299 -0
- data/data/weaver/js/plugins/codemirror/mode/dylan/index.html +407 -0
- data/data/weaver/js/plugins/codemirror/mode/ecl/ecl.js +207 -0
- data/data/weaver/js/plugins/codemirror/mode/ecl/index.html +52 -0
- data/data/weaver/js/plugins/codemirror/mode/eiffel/eiffel.js +162 -0
- data/data/weaver/js/plugins/codemirror/mode/eiffel/index.html +429 -0
- data/data/weaver/js/plugins/codemirror/mode/erlang/erlang.js +622 -0
- data/data/weaver/js/plugins/codemirror/mode/erlang/index.html +76 -0
- data/data/weaver/js/plugins/codemirror/mode/fortran/fortran.js +188 -0
- data/data/weaver/js/plugins/codemirror/mode/fortran/index.html +81 -0
- data/data/weaver/js/plugins/codemirror/mode/gas/gas.js +345 -0
- data/data/weaver/js/plugins/codemirror/mode/gas/index.html +68 -0
- data/data/weaver/js/plugins/codemirror/mode/gfm/gfm.js +122 -0
- data/data/weaver/js/plugins/codemirror/mode/gfm/index.html +82 -0
- data/data/weaver/js/plugins/codemirror/mode/gfm/test.js +164 -0
- data/data/weaver/js/plugins/codemirror/mode/gherkin/gherkin.js +178 -0
- data/data/weaver/js/plugins/codemirror/mode/gherkin/index.html +48 -0
- data/data/weaver/js/plugins/codemirror/mode/go/go.js +184 -0
- data/data/weaver/js/plugins/codemirror/mode/go/index.html +85 -0
- data/data/weaver/js/plugins/codemirror/mode/groovy/groovy.js +226 -0
- data/data/weaver/js/plugins/codemirror/mode/groovy/index.html +84 -0
- data/data/weaver/js/plugins/codemirror/mode/haml/haml.js +159 -0
- data/data/weaver/js/plugins/codemirror/mode/haml/index.html +79 -0
- data/data/weaver/js/plugins/codemirror/mode/haml/test.js +97 -0
- data/data/weaver/js/plugins/codemirror/mode/haskell/haskell.js +267 -0
- data/data/weaver/js/plugins/codemirror/mode/haskell/index.html +73 -0
- data/data/weaver/js/plugins/codemirror/mode/haxe/haxe.js +518 -0
- data/data/weaver/js/plugins/codemirror/mode/haxe/index.html +124 -0
- data/data/weaver/js/plugins/codemirror/mode/htmlembedded/htmlembedded.js +86 -0
- data/data/weaver/js/plugins/codemirror/mode/htmlembedded/index.html +58 -0
- data/data/weaver/js/plugins/codemirror/mode/htmlmixed/htmlmixed.js +121 -0
- data/data/weaver/js/plugins/codemirror/mode/htmlmixed/index.html +85 -0
- data/data/weaver/js/plugins/codemirror/mode/http/http.js +113 -0
- data/data/weaver/js/plugins/codemirror/mode/http/index.html +45 -0
- data/data/weaver/js/plugins/codemirror/mode/index.html +125 -0
- data/data/weaver/js/plugins/codemirror/mode/jade/index.html +70 -0
- data/data/weaver/js/plugins/codemirror/mode/jade/jade.js +590 -0
- data/data/weaver/js/plugins/codemirror/mode/javascript/index.html +114 -0
- data/data/weaver/js/plugins/codemirror/mode/javascript/javascript.js +684 -0
- data/data/weaver/js/plugins/codemirror/mode/javascript/json-ld.html +72 -0
- data/data/weaver/js/plugins/codemirror/mode/javascript/test.js +194 -0
- data/data/weaver/js/plugins/codemirror/mode/javascript/typescript.html +61 -0
- data/data/weaver/js/plugins/codemirror/mode/jinja2/index.html +54 -0
- data/data/weaver/js/plugins/codemirror/mode/jinja2/jinja2.js +142 -0
- data/data/weaver/js/plugins/codemirror/mode/julia/index.html +195 -0
- data/data/weaver/js/plugins/codemirror/mode/julia/julia.js +301 -0
- data/data/weaver/js/plugins/codemirror/mode/kotlin/index.html +89 -0
- data/data/weaver/js/plugins/codemirror/mode/kotlin/kotlin.js +280 -0
- data/data/weaver/js/plugins/codemirror/mode/livescript/index.html +459 -0
- data/data/weaver/js/plugins/codemirror/mode/livescript/livescript.js +280 -0
- data/data/weaver/js/plugins/codemirror/mode/lua/index.html +85 -0
- data/data/weaver/js/plugins/codemirror/mode/lua/lua.js +159 -0
- data/data/weaver/js/plugins/codemirror/mode/markdown/index.html +359 -0
- data/data/weaver/js/plugins/codemirror/mode/markdown/markdown.js +758 -0
- data/data/weaver/js/plugins/codemirror/mode/markdown/test.js +754 -0
- data/data/weaver/js/plugins/codemirror/mode/meta.js +144 -0
- data/data/weaver/js/plugins/codemirror/mode/mirc/index.html +160 -0
- data/data/weaver/js/plugins/codemirror/mode/mirc/mirc.js +193 -0
- data/data/weaver/js/plugins/codemirror/mode/mllike/index.html +179 -0
- data/data/weaver/js/plugins/codemirror/mode/mllike/mllike.js +205 -0
- data/data/weaver/js/plugins/codemirror/mode/modelica/index.html +67 -0
- data/data/weaver/js/plugins/codemirror/mode/modelica/modelica.js +245 -0
- data/data/weaver/js/plugins/codemirror/mode/nginx/index.html +181 -0
- data/data/weaver/js/plugins/codemirror/mode/nginx/nginx.js +178 -0
- data/data/weaver/js/plugins/codemirror/mode/ntriples/index.html +45 -0
- data/data/weaver/js/plugins/codemirror/mode/ntriples/ntriples.js +186 -0
- data/data/weaver/js/plugins/codemirror/mode/octave/index.html +83 -0
- data/data/weaver/js/plugins/codemirror/mode/octave/octave.js +135 -0
- data/data/weaver/js/plugins/codemirror/mode/pascal/index.html +61 -0
- data/data/weaver/js/plugins/codemirror/mode/pascal/pascal.js +109 -0
- data/data/weaver/js/plugins/codemirror/mode/pegjs/index.html +66 -0
- data/data/weaver/js/plugins/codemirror/mode/pegjs/pegjs.js +114 -0
- data/data/weaver/js/plugins/codemirror/mode/perl/index.html +75 -0
- data/data/weaver/js/plugins/codemirror/mode/perl/perl.js +832 -0
- data/data/weaver/js/plugins/codemirror/mode/php/index.html +64 -0
- data/data/weaver/js/plugins/codemirror/mode/php/php.js +226 -0
- data/data/weaver/js/plugins/codemirror/mode/php/test.js +154 -0
- data/data/weaver/js/plugins/codemirror/mode/pig/index.html +55 -0
- data/data/weaver/js/plugins/codemirror/mode/pig/pig.js +188 -0
- data/data/weaver/js/plugins/codemirror/mode/properties/index.html +53 -0
- data/data/weaver/js/plugins/codemirror/mode/properties/properties.js +78 -0
- data/data/weaver/js/plugins/codemirror/mode/puppet/index.html +121 -0
- data/data/weaver/js/plugins/codemirror/mode/puppet/puppet.js +220 -0
- data/data/weaver/js/plugins/codemirror/mode/python/index.html +198 -0
- data/data/weaver/js/plugins/codemirror/mode/python/python.js +359 -0
- data/data/weaver/js/plugins/codemirror/mode/q/index.html +144 -0
- data/data/weaver/js/plugins/codemirror/mode/q/q.js +139 -0
- data/data/weaver/js/plugins/codemirror/mode/r/index.html +85 -0
- data/data/weaver/js/plugins/codemirror/mode/r/r.js +162 -0
- data/data/weaver/js/plugins/codemirror/mode/rpm/changes/index.html +66 -0
- data/data/weaver/js/plugins/codemirror/mode/rpm/index.html +149 -0
- data/data/weaver/js/plugins/codemirror/mode/rpm/rpm.js +101 -0
- data/data/weaver/js/plugins/codemirror/mode/rst/index.html +535 -0
- data/data/weaver/js/plugins/codemirror/mode/rst/rst.js +557 -0
- data/data/weaver/js/plugins/codemirror/mode/ruby/index.html +184 -0
- data/data/weaver/js/plugins/codemirror/mode/ruby/ruby.js +285 -0
- data/data/weaver/js/plugins/codemirror/mode/ruby/test.js +14 -0
- data/data/weaver/js/plugins/codemirror/mode/rust/index.html +60 -0
- data/data/weaver/js/plugins/codemirror/mode/rust/rust.js +451 -0
- data/data/weaver/js/plugins/codemirror/mode/sass/index.html +66 -0
- data/data/weaver/js/plugins/codemirror/mode/sass/sass.js +327 -0
- data/data/weaver/js/plugins/codemirror/mode/scheme/index.html +77 -0
- data/data/weaver/js/plugins/codemirror/mode/scheme/scheme.js +248 -0
- data/data/weaver/js/plugins/codemirror/mode/shell/index.html +66 -0
- data/data/weaver/js/plugins/codemirror/mode/shell/shell.js +138 -0
- data/data/weaver/js/plugins/codemirror/mode/shell/test.js +58 -0
- data/data/weaver/js/plugins/codemirror/mode/sieve/index.html +93 -0
- data/data/weaver/js/plugins/codemirror/mode/sieve/sieve.js +193 -0
- data/data/weaver/js/plugins/codemirror/mode/slim/index.html +96 -0
- data/data/weaver/js/plugins/codemirror/mode/slim/slim.js +575 -0
- data/data/weaver/js/plugins/codemirror/mode/slim/test.js +96 -0
- data/data/weaver/js/plugins/codemirror/mode/smalltalk/index.html +68 -0
- data/data/weaver/js/plugins/codemirror/mode/smalltalk/smalltalk.js +168 -0
- data/data/weaver/js/plugins/codemirror/mode/smarty/index.html +136 -0
- data/data/weaver/js/plugins/codemirror/mode/smarty/smarty.js +221 -0
- data/data/weaver/js/plugins/codemirror/mode/smartymixed/index.html +114 -0
- data/data/weaver/js/plugins/codemirror/mode/smartymixed/smartymixed.js +197 -0
- data/data/weaver/js/plugins/codemirror/mode/solr/index.html +57 -0
- data/data/weaver/js/plugins/codemirror/mode/solr/solr.js +104 -0
- data/data/weaver/js/plugins/codemirror/mode/sparql/index.html +53 -0
- data/data/weaver/js/plugins/codemirror/mode/sparql/sparql.js +160 -0
- data/data/weaver/js/plugins/codemirror/mode/sql/index.html +84 -0
- data/data/weaver/js/plugins/codemirror/mode/sql/sql.js +393 -0
- data/data/weaver/js/plugins/codemirror/mode/stex/index.html +110 -0
- data/data/weaver/js/plugins/codemirror/mode/stex/stex.js +262 -0
- data/data/weaver/js/plugins/codemirror/mode/stex/test.js +123 -0
- data/data/weaver/js/plugins/codemirror/mode/tcl/index.html +142 -0
- data/data/weaver/js/plugins/codemirror/mode/tcl/tcl.js +147 -0
- data/data/weaver/js/plugins/codemirror/mode/textile/index.html +191 -0
- data/data/weaver/js/plugins/codemirror/mode/textile/test.js +406 -0
- data/data/weaver/js/plugins/codemirror/mode/textile/textile.js +553 -0
- data/data/weaver/js/plugins/codemirror/mode/tiddlywiki/index.html +154 -0
- data/data/weaver/js/plugins/codemirror/mode/tiddlywiki/tiddlywiki.css +14 -0
- data/data/weaver/js/plugins/codemirror/mode/tiddlywiki/tiddlywiki.js +369 -0
- data/data/weaver/js/plugins/codemirror/mode/tiki/index.html +95 -0
- data/data/weaver/js/plugins/codemirror/mode/tiki/tiki.css +26 -0
- data/data/weaver/js/plugins/codemirror/mode/tiki/tiki.js +323 -0
- data/data/weaver/js/plugins/codemirror/mode/toml/index.html +73 -0
- data/data/weaver/js/plugins/codemirror/mode/toml/toml.js +88 -0
- data/data/weaver/js/plugins/codemirror/mode/tornado/index.html +63 -0
- data/data/weaver/js/plugins/codemirror/mode/tornado/tornado.js +68 -0
- data/data/weaver/js/plugins/codemirror/mode/turtle/index.html +50 -0
- data/data/weaver/js/plugins/codemirror/mode/turtle/turtle.js +160 -0
- data/data/weaver/js/plugins/codemirror/mode/vb/index.html +102 -0
- data/data/weaver/js/plugins/codemirror/mode/vb/vb.js +274 -0
- data/data/weaver/js/plugins/codemirror/mode/vbscript/index.html +55 -0
- data/data/weaver/js/plugins/codemirror/mode/vbscript/vbscript.js +350 -0
- data/data/weaver/js/plugins/codemirror/mode/velocity/index.html +118 -0
- data/data/weaver/js/plugins/codemirror/mode/velocity/velocity.js +201 -0
- data/data/weaver/js/plugins/codemirror/mode/verilog/index.html +120 -0
- data/data/weaver/js/plugins/codemirror/mode/verilog/test.js +273 -0
- data/data/weaver/js/plugins/codemirror/mode/verilog/verilog.js +364 -0
- data/data/weaver/js/plugins/codemirror/mode/xml/index.html +57 -0
- data/data/weaver/js/plugins/codemirror/mode/xml/test.js +51 -0
- data/data/weaver/js/plugins/codemirror/mode/xml/xml.js +384 -0
- data/data/weaver/js/plugins/codemirror/mode/xquery/index.html +210 -0
- data/data/weaver/js/plugins/codemirror/mode/xquery/test.js +67 -0
- data/data/weaver/js/plugins/codemirror/mode/xquery/xquery.js +447 -0
- data/data/weaver/js/plugins/codemirror/mode/yaml/index.html +80 -0
- data/data/weaver/js/plugins/codemirror/mode/yaml/yaml.js +112 -0
- data/data/weaver/js/plugins/codemirror/mode/z80/index.html +52 -0
- data/data/weaver/js/plugins/codemirror/mode/z80/z80.js +100 -0
- data/data/weaver/js/plugins/colorpicker/bootstrap-colorpicker.min.js +1 -0
- data/data/weaver/js/plugins/cropper/cropper.min.js +9 -0
- data/data/weaver/js/plugins/dataTables/dataTables.bootstrap.js +245 -0
- data/data/weaver/js/plugins/dataTables/dataTables.responsive.js +801 -0
- data/data/weaver/js/plugins/dataTables/dataTables.tableTools.min.js +69 -0
- data/data/weaver/js/plugins/dataTables/jquery.dataTables.js +14840 -0
- data/data/weaver/js/plugins/dataTables/swf/copy_csv_xls.swf +0 -0
- data/data/weaver/js/plugins/dataTables/swf/copy_csv_xls_pdf.swf +0 -0
- data/data/weaver/js/plugins/datapicker/bootstrap-datepicker.js +1671 -0
- data/data/weaver/js/plugins/dropzone/dropzone.js +1841 -0
- data/data/weaver/js/plugins/easypiechart/easypiechart.js +350 -0
- data/data/weaver/js/plugins/easypiechart/jquery.easypiechart.js +359 -0
- data/data/weaver/js/plugins/flot/curvedLines.js +315 -0
- data/data/weaver/js/plugins/flot/excanvas.min.js +1 -0
- data/data/weaver/js/plugins/flot/jquery.flot.js +3168 -0
- data/data/weaver/js/plugins/flot/jquery.flot.pie.js +820 -0
- data/data/weaver/js/plugins/flot/jquery.flot.resize.js +59 -0
- data/data/weaver/js/plugins/flot/jquery.flot.spline.js +212 -0
- data/data/weaver/js/plugins/flot/jquery.flot.symbol.js +71 -0
- data/data/weaver/js/plugins/flot/jquery.flot.time.js +432 -0
- data/data/weaver/js/plugins/flot/jquery.flot.tooltip.min.js +12 -0
- data/data/weaver/js/plugins/fullcalendar/fullcalendar.min.js +8 -0
- data/data/weaver/js/plugins/fullcalendar/moment.min.js +7 -0
- data/data/weaver/js/plugins/gritter/images/gritter-light.png +0 -0
- data/data/weaver/js/plugins/gritter/images/gritter-long.png +0 -0
- data/data/weaver/js/plugins/gritter/images/gritter.png +0 -0
- data/data/weaver/js/plugins/gritter/images/ie-spacer.gif +0 -0
- data/data/weaver/js/plugins/gritter/jquery.gritter.css +137 -0
- data/data/weaver/js/plugins/gritter/jquery.gritter.min.js +1 -0
- data/data/weaver/js/plugins/iCheck/icheck.min.js +11 -0
- data/data/weaver/js/plugins/ionRangeSlider/ion.rangeSlider.min.js +26 -0
- data/data/weaver/js/plugins/jasny/jasny-bootstrap.min.js +6 -0
- data/data/weaver/js/plugins/jeditable/jquery.jeditable.js +543 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-ar.js +128 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-bg.js +134 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-bg1251.js +132 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-cat.js +130 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-cn.js +169 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-cs.js +130 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-da.js +130 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-de.js +173 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-dk.js +129 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-el.js +128 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-en.js +170 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-es.js +130 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-fa.js +147 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-fi.js +131 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-fr.js +128 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-gl.js +128 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-he.js +129 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-hr.js +164 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-hr1250.js +164 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-hu.js +131 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-id.js +170 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-is.js +128 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-it.js +1 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-ja.js +158 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-kr.js +130 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-lt.js +130 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-mne.js +130 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-nl.js +150 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-no.js +1 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-pl.js +134 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-pt-br.js +137 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-pt.js +127 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-ro.js +141 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-ru.js +129 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-sk.js +129 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-sr-latin.js +130 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-sr.js +130 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-sv.js +129 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-th.js +130 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-tr.js +128 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-tw.js +131 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-ua.js +129 -0
- data/data/weaver/js/plugins/jqGrid/i18n/grid.locale-vi.js +170 -0
- data/data/weaver/js/plugins/jqGrid/jquery.jqGrid.min.js +545 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery-ui-i18n.min.js +6 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-af.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ar-DZ.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ar.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-az.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-be.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-bg.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-bs.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ca.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-cs.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-cy-GB.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-da.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-de.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-el.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-en-AU.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-en-GB.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-en-NZ.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-eo.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-es.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-et.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-eu.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fa.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fi.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fo.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fr-CA.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fr-CH.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fr.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-gl.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-he.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-hi.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-hr.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-hu.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-hy.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-id.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-is.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-it.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ja.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ka.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-kk.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-km.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ko.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ky.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-lb.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-lt.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-lv.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-mk.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ml.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ms.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-nb.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-nl-BE.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-nl.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-nn.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-no.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-pl.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-pt-BR.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-pt.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-rm.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ro.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ru.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sk.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sl.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sq.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sr-SR.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sr.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sv.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ta.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-th.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-tj.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-tr.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-uk.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-vi.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-zh-CN.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-zh-HK.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-zh-TW.min.js +4 -0
- data/data/weaver/js/plugins/jquery-ui/images/animated-overlay.gif +0 -0
- data/data/weaver/js/plugins/jquery-ui/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/data/weaver/js/plugins/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/data/weaver/js/plugins/jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/data/weaver/js/plugins/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/data/weaver/js/plugins/jquery-ui/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/data/weaver/js/plugins/jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/data/weaver/js/plugins/jquery-ui/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/data/weaver/js/plugins/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/data/weaver/js/plugins/jquery-ui/images/ui-icons_222222_256x240.png +0 -0
- data/data/weaver/js/plugins/jquery-ui/images/ui-icons_2e83ff_256x240.png +0 -0
- data/data/weaver/js/plugins/jquery-ui/images/ui-icons_454545_256x240.png +0 -0
- data/data/weaver/js/plugins/jquery-ui/images/ui-icons_888888_256x240.png +0 -0
- data/data/weaver/js/plugins/jquery-ui/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/data/weaver/js/plugins/jquery-ui/jquery-ui.css +1189 -0
- data/data/weaver/js/plugins/jquery-ui/jquery-ui.js +15040 -0
- data/data/weaver/js/plugins/jquery-ui/jquery-ui.min.css +4 -0
- data/data/weaver/js/plugins/jquery-ui/jquery-ui.min.js +12 -0
- data/data/weaver/js/plugins/jsKnob/jquery.knob.js +791 -0
- data/data/weaver/js/plugins/jsTree/jstree.min.js +5 -0
- data/data/weaver/js/plugins/justified-gallery/README.md +14 -0
- data/data/weaver/js/plugins/justified-gallery/jquery.justifiedgallery.css +73 -0
- data/data/weaver/js/plugins/justified-gallery/jquery.justifiedgallery.js +258 -0
- data/data/weaver/js/plugins/justified-gallery/jquery.justifiedgallery.min.css +17 -0
- data/data/weaver/js/plugins/justified-gallery/jquery.justifiedgallery.min.js +24 -0
- data/data/weaver/js/plugins/justified-gallery/loading.gif +0 -0
- data/data/weaver/js/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js +8 -0
- data/data/weaver/js/plugins/jvectormap/jquery-jvectormap-world-mill-en.js +1 -0
- data/data/weaver/js/plugins/metisMenu/jquery.metisMenu.js +120 -0
- data/data/weaver/js/plugins/morris/morris.js +1888 -0
- data/data/weaver/js/plugins/morris/raphael-2.1.0.min.js +10 -0
- data/data/weaver/js/plugins/nestable/jquery.nestable.js +484 -0
- data/data/weaver/js/plugins/nouslider/jquery.nouislider.min.js +34 -0
- data/data/weaver/js/plugins/pace/pace.min.js +2 -0
- data/data/weaver/js/plugins/peity/jquery.peity.min.js +13 -0
- data/data/weaver/js/plugins/rickshaw/rickshaw.min.js +3 -0
- data/data/weaver/js/plugins/rickshaw/vendor/d3.v3.js +5 -0
- data/data/weaver/js/plugins/slimscroll/jquery.slimscroll.js +464 -0
- data/data/weaver/js/plugins/slimscroll/jquery.slimscroll.min.js +16 -0
- data/data/weaver/js/plugins/sparkline/jquery.sparkline.min.js +5 -0
- data/data/weaver/js/plugins/staps/jquery.steps.min.js +6 -0
- data/data/weaver/js/plugins/summernote/summernote.min.js +2 -0
- data/data/weaver/js/plugins/switchery/switchery.js +1 -0
- data/data/weaver/js/plugins/toastr/toastr.min.js +2 -0
- data/data/weaver/js/plugins/validate/jquery.validate.min.js +4 -0
- data/data/weaver/js/plugins/video/responsible-video.js +21 -0
- data/lib/weaver.rb +922 -0
- data/lib/weaver/version.rb +3 -0
- data/weaver.gemspec +34 -0
- metadata +656 -0
@@ -0,0 +1,154 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
|
3
|
+
<title>CodeMirror: TiddlyWiki mode</title>
|
4
|
+
<meta charset="utf-8"/>
|
5
|
+
<link rel=stylesheet href="../../doc/docs.css">
|
6
|
+
|
7
|
+
<link rel="stylesheet" href="../../lib/codemirror.css">
|
8
|
+
<link rel="stylesheet" href="tiddlywiki.css">
|
9
|
+
<script src="../../lib/codemirror.js"></script>
|
10
|
+
<script src="../../addon/edit/matchbrackets.js"></script>
|
11
|
+
<script src="tiddlywiki.js"></script>
|
12
|
+
<style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
|
13
|
+
<div id=nav>
|
14
|
+
<a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
|
15
|
+
|
16
|
+
<ul>
|
17
|
+
<li><a href="../../index.html">Home</a>
|
18
|
+
<li><a href="../../doc/manual.html">Manual</a>
|
19
|
+
<li><a href="https://github.com/codemirror/codemirror">Code</a>
|
20
|
+
</ul>
|
21
|
+
<ul>
|
22
|
+
<li><a href="../index.html">Language modes</a>
|
23
|
+
<li><a class=active href="#">TiddlyWiki</a>
|
24
|
+
</ul>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<article>
|
28
|
+
<h2>TiddlyWiki mode</h2>
|
29
|
+
|
30
|
+
|
31
|
+
<div><textarea id="code" name="code">
|
32
|
+
!TiddlyWiki Formatting
|
33
|
+
* Rendered versions can be found at: http://www.tiddlywiki.com/#Reference
|
34
|
+
|
35
|
+
|!Option | !Syntax |
|
36
|
+
|bold font | ''bold'' |
|
37
|
+
|italic type | //italic// |
|
38
|
+
|underlined text | __underlined__ |
|
39
|
+
|strikethrough text | --strikethrough-- |
|
40
|
+
|superscript text | super^^script^^ |
|
41
|
+
|subscript text | sub~~script~~ |
|
42
|
+
|highlighted text | @@highlighted@@ |
|
43
|
+
|preformatted text | {{{preformatted}}} |
|
44
|
+
|
45
|
+
!Block Elements
|
46
|
+
<<<
|
47
|
+
!Heading 1
|
48
|
+
|
49
|
+
!!Heading 2
|
50
|
+
|
51
|
+
!!!Heading 3
|
52
|
+
|
53
|
+
!!!!Heading 4
|
54
|
+
|
55
|
+
!!!!!Heading 5
|
56
|
+
<<<
|
57
|
+
|
58
|
+
!!Lists
|
59
|
+
<<<
|
60
|
+
* unordered list, level 1
|
61
|
+
** unordered list, level 2
|
62
|
+
*** unordered list, level 3
|
63
|
+
|
64
|
+
# ordered list, level 1
|
65
|
+
## ordered list, level 2
|
66
|
+
### unordered list, level 3
|
67
|
+
|
68
|
+
; definition list, term
|
69
|
+
: definition list, description
|
70
|
+
<<<
|
71
|
+
|
72
|
+
!!Blockquotes
|
73
|
+
<<<
|
74
|
+
> blockquote, level 1
|
75
|
+
>> blockquote, level 2
|
76
|
+
>>> blockquote, level 3
|
77
|
+
|
78
|
+
> blockquote
|
79
|
+
<<<
|
80
|
+
|
81
|
+
!!Preformatted Text
|
82
|
+
<<<
|
83
|
+
{{{
|
84
|
+
preformatted (e.g. code)
|
85
|
+
}}}
|
86
|
+
<<<
|
87
|
+
|
88
|
+
!!Code Sections
|
89
|
+
<<<
|
90
|
+
{{{
|
91
|
+
Text style code
|
92
|
+
}}}
|
93
|
+
|
94
|
+
//{{{
|
95
|
+
JS styled code. TiddlyWiki mixed mode should support highlighter switching in the future.
|
96
|
+
//}}}
|
97
|
+
|
98
|
+
<!--{{{-->
|
99
|
+
XML styled code. TiddlyWiki mixed mode should support highlighter switching in the future.
|
100
|
+
<!--}}}-->
|
101
|
+
<<<
|
102
|
+
|
103
|
+
!!Tables
|
104
|
+
<<<
|
105
|
+
|CssClass|k
|
106
|
+
|!heading column 1|!heading column 2|
|
107
|
+
|row 1, column 1|row 1, column 2|
|
108
|
+
|row 2, column 1|row 2, column 2|
|
109
|
+
|>|COLSPAN|
|
110
|
+
|ROWSPAN| ... |
|
111
|
+
|~| ... |
|
112
|
+
|CssProperty:value;...| ... |
|
113
|
+
|caption|c
|
114
|
+
|
115
|
+
''Annotation:''
|
116
|
+
* The {{{>}}} marker creates a "colspan", causing the current cell to merge with the one to the right.
|
117
|
+
* The {{{~}}} marker creates a "rowspan", causing the current cell to merge with the one above.
|
118
|
+
<<<
|
119
|
+
!!Images /% TODO %/
|
120
|
+
cf. [[TiddlyWiki.com|http://www.tiddlywiki.com/#EmbeddedImages]]
|
121
|
+
|
122
|
+
!Hyperlinks
|
123
|
+
* [[WikiWords|WikiWord]] are automatically transformed to hyperlinks to the respective tiddler
|
124
|
+
** the automatic transformation can be suppressed by preceding the respective WikiWord with a tilde ({{{~}}}): {{{~WikiWord}}}
|
125
|
+
* [[PrettyLinks]] are enclosed in square brackets and contain the desired tiddler name: {{{[[tiddler name]]}}}
|
126
|
+
** optionally, a custom title or description can be added, separated by a pipe character ({{{|}}}): {{{[[title|target]]}}}<br>'''N.B.:''' In this case, the target can also be any website (i.e. URL).
|
127
|
+
|
128
|
+
!Custom Styling
|
129
|
+
* {{{@@CssProperty:value;CssProperty:value;...@@}}}<br>''N.B.:'' CSS color definitions should use lowercase letters to prevent the inadvertent creation of WikiWords.
|
130
|
+
* <html><code>{{customCssClass{...}}}</code></html>
|
131
|
+
* raw HTML can be inserted by enclosing the respective code in HTML tags: {{{<html> ... </html>}}}
|
132
|
+
|
133
|
+
!Special Markers
|
134
|
+
* {{{<br>}}} forces a manual line break
|
135
|
+
* {{{----}}} creates a horizontal ruler
|
136
|
+
* [[HTML entities|http://www.tiddlywiki.com/#HtmlEntities]]
|
137
|
+
* [[HTML entities local|HtmlEntities]]
|
138
|
+
* {{{<<macroName>>}}} calls the respective [[macro|Macros]]
|
139
|
+
* To hide text within a tiddler so that it is not displayed, it can be wrapped in {{{/%}}} and {{{%/}}}.<br/>This can be a useful trick for hiding drafts or annotating complex markup.
|
140
|
+
* To prevent wiki markup from taking effect for a particular section, that section can be enclosed in three double quotes: e.g. {{{"""WikiWord"""}}}.
|
141
|
+
</textarea></div>
|
142
|
+
|
143
|
+
<script>
|
144
|
+
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
|
145
|
+
mode: 'tiddlywiki',
|
146
|
+
lineNumbers: true,
|
147
|
+
matchBrackets: true
|
148
|
+
});
|
149
|
+
</script>
|
150
|
+
|
151
|
+
<p>TiddlyWiki mode supports a single configuration.</p>
|
152
|
+
|
153
|
+
<p><strong>MIME types defined:</strong> <code>text/x-tiddlywiki</code>.</p>
|
154
|
+
</article>
|
@@ -0,0 +1,369 @@
|
|
1
|
+
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
2
|
+
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
3
|
+
|
4
|
+
/***
|
5
|
+
|''Name''|tiddlywiki.js|
|
6
|
+
|''Description''|Enables TiddlyWikiy syntax highlighting using CodeMirror|
|
7
|
+
|''Author''|PMario|
|
8
|
+
|''Version''|0.1.7|
|
9
|
+
|''Status''|''stable''|
|
10
|
+
|''Source''|[[GitHub|https://github.com/pmario/CodeMirror2/blob/tw-syntax/mode/tiddlywiki]]|
|
11
|
+
|''Documentation''|http://codemirror.tiddlyspace.com/|
|
12
|
+
|''License''|[[MIT License|http://www.opensource.org/licenses/mit-license.php]]|
|
13
|
+
|''CoreVersion''|2.5.0|
|
14
|
+
|''Requires''|codemirror.js|
|
15
|
+
|''Keywords''|syntax highlighting color code mirror codemirror|
|
16
|
+
! Info
|
17
|
+
CoreVersion parameter is needed for TiddlyWiki only!
|
18
|
+
***/
|
19
|
+
//{{{
|
20
|
+
|
21
|
+
(function(mod) {
|
22
|
+
if (typeof exports == "object" && typeof module == "object") // CommonJS
|
23
|
+
mod(require("../../lib/codemirror"));
|
24
|
+
else if (typeof define == "function" && define.amd) // AMD
|
25
|
+
define(["../../lib/codemirror"], mod);
|
26
|
+
else // Plain browser env
|
27
|
+
mod(CodeMirror);
|
28
|
+
})(function(CodeMirror) {
|
29
|
+
"use strict";
|
30
|
+
|
31
|
+
CodeMirror.defineMode("tiddlywiki", function () {
|
32
|
+
// Tokenizer
|
33
|
+
var textwords = {};
|
34
|
+
|
35
|
+
var keywords = function () {
|
36
|
+
function kw(type) {
|
37
|
+
return { type: type, style: "macro"};
|
38
|
+
}
|
39
|
+
return {
|
40
|
+
"allTags": kw('allTags'), "closeAll": kw('closeAll'), "list": kw('list'),
|
41
|
+
"newJournal": kw('newJournal'), "newTiddler": kw('newTiddler'),
|
42
|
+
"permaview": kw('permaview'), "saveChanges": kw('saveChanges'),
|
43
|
+
"search": kw('search'), "slider": kw('slider'), "tabs": kw('tabs'),
|
44
|
+
"tag": kw('tag'), "tagging": kw('tagging'), "tags": kw('tags'),
|
45
|
+
"tiddler": kw('tiddler'), "timeline": kw('timeline'),
|
46
|
+
"today": kw('today'), "version": kw('version'), "option": kw('option'),
|
47
|
+
|
48
|
+
"with": kw('with'),
|
49
|
+
"filter": kw('filter')
|
50
|
+
};
|
51
|
+
}();
|
52
|
+
|
53
|
+
var isSpaceName = /[\w_\-]/i,
|
54
|
+
reHR = /^\-\-\-\-+$/, // <hr>
|
55
|
+
reWikiCommentStart = /^\/\*\*\*$/, // /***
|
56
|
+
reWikiCommentStop = /^\*\*\*\/$/, // ***/
|
57
|
+
reBlockQuote = /^<<<$/,
|
58
|
+
|
59
|
+
reJsCodeStart = /^\/\/\{\{\{$/, // //{{{ js block start
|
60
|
+
reJsCodeStop = /^\/\/\}\}\}$/, // //}}} js stop
|
61
|
+
reXmlCodeStart = /^<!--\{\{\{-->$/, // xml block start
|
62
|
+
reXmlCodeStop = /^<!--\}\}\}-->$/, // xml stop
|
63
|
+
|
64
|
+
reCodeBlockStart = /^\{\{\{$/, // {{{ TW text div block start
|
65
|
+
reCodeBlockStop = /^\}\}\}$/, // }}} TW text stop
|
66
|
+
|
67
|
+
reUntilCodeStop = /.*?\}\}\}/;
|
68
|
+
|
69
|
+
function chain(stream, state, f) {
|
70
|
+
state.tokenize = f;
|
71
|
+
return f(stream, state);
|
72
|
+
}
|
73
|
+
|
74
|
+
// Used as scratch variables to communicate multiple values without
|
75
|
+
// consing up tons of objects.
|
76
|
+
var type, content;
|
77
|
+
|
78
|
+
function ret(tp, style, cont) {
|
79
|
+
type = tp;
|
80
|
+
content = cont;
|
81
|
+
return style;
|
82
|
+
}
|
83
|
+
|
84
|
+
function jsTokenBase(stream, state) {
|
85
|
+
var sol = stream.sol(), ch;
|
86
|
+
|
87
|
+
state.block = false; // indicates the start of a code block.
|
88
|
+
|
89
|
+
ch = stream.peek(); // don't eat, to make matching simpler
|
90
|
+
|
91
|
+
// check start of blocks
|
92
|
+
if (sol && /[<\/\*{}\-]/.test(ch)) {
|
93
|
+
if (stream.match(reCodeBlockStart)) {
|
94
|
+
state.block = true;
|
95
|
+
return chain(stream, state, twTokenCode);
|
96
|
+
}
|
97
|
+
if (stream.match(reBlockQuote)) {
|
98
|
+
return ret('quote', 'quote');
|
99
|
+
}
|
100
|
+
if (stream.match(reWikiCommentStart) || stream.match(reWikiCommentStop)) {
|
101
|
+
return ret('code', 'comment');
|
102
|
+
}
|
103
|
+
if (stream.match(reJsCodeStart) || stream.match(reJsCodeStop) || stream.match(reXmlCodeStart) || stream.match(reXmlCodeStop)) {
|
104
|
+
return ret('code', 'comment');
|
105
|
+
}
|
106
|
+
if (stream.match(reHR)) {
|
107
|
+
return ret('hr', 'hr');
|
108
|
+
}
|
109
|
+
} // sol
|
110
|
+
ch = stream.next();
|
111
|
+
|
112
|
+
if (sol && /[\/\*!#;:>|]/.test(ch)) {
|
113
|
+
if (ch == "!") { // tw header
|
114
|
+
stream.skipToEnd();
|
115
|
+
return ret("header", "header");
|
116
|
+
}
|
117
|
+
if (ch == "*") { // tw list
|
118
|
+
stream.eatWhile('*');
|
119
|
+
return ret("list", "comment");
|
120
|
+
}
|
121
|
+
if (ch == "#") { // tw numbered list
|
122
|
+
stream.eatWhile('#');
|
123
|
+
return ret("list", "comment");
|
124
|
+
}
|
125
|
+
if (ch == ";") { // definition list, term
|
126
|
+
stream.eatWhile(';');
|
127
|
+
return ret("list", "comment");
|
128
|
+
}
|
129
|
+
if (ch == ":") { // definition list, description
|
130
|
+
stream.eatWhile(':');
|
131
|
+
return ret("list", "comment");
|
132
|
+
}
|
133
|
+
if (ch == ">") { // single line quote
|
134
|
+
stream.eatWhile(">");
|
135
|
+
return ret("quote", "quote");
|
136
|
+
}
|
137
|
+
if (ch == '|') {
|
138
|
+
return ret('table', 'header');
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
if (ch == '{' && stream.match(/\{\{/)) {
|
143
|
+
return chain(stream, state, twTokenCode);
|
144
|
+
}
|
145
|
+
|
146
|
+
// rudimentary html:// file:// link matching. TW knows much more ...
|
147
|
+
if (/[hf]/i.test(ch)) {
|
148
|
+
if (/[ti]/i.test(stream.peek()) && stream.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i)) {
|
149
|
+
return ret("link", "link");
|
150
|
+
}
|
151
|
+
}
|
152
|
+
// just a little string indicator, don't want to have the whole string covered
|
153
|
+
if (ch == '"') {
|
154
|
+
return ret('string', 'string');
|
155
|
+
}
|
156
|
+
if (ch == '~') { // _no_ CamelCase indicator should be bold
|
157
|
+
return ret('text', 'brace');
|
158
|
+
}
|
159
|
+
if (/[\[\]]/.test(ch)) { // check for [[..]]
|
160
|
+
if (stream.peek() == ch) {
|
161
|
+
stream.next();
|
162
|
+
return ret('brace', 'brace');
|
163
|
+
}
|
164
|
+
}
|
165
|
+
if (ch == "@") { // check for space link. TODO fix @@...@@ highlighting
|
166
|
+
stream.eatWhile(isSpaceName);
|
167
|
+
return ret("link", "link");
|
168
|
+
}
|
169
|
+
if (/\d/.test(ch)) { // numbers
|
170
|
+
stream.eatWhile(/\d/);
|
171
|
+
return ret("number", "number");
|
172
|
+
}
|
173
|
+
if (ch == "/") { // tw invisible comment
|
174
|
+
if (stream.eat("%")) {
|
175
|
+
return chain(stream, state, twTokenComment);
|
176
|
+
}
|
177
|
+
else if (stream.eat("/")) { //
|
178
|
+
return chain(stream, state, twTokenEm);
|
179
|
+
}
|
180
|
+
}
|
181
|
+
if (ch == "_") { // tw underline
|
182
|
+
if (stream.eat("_")) {
|
183
|
+
return chain(stream, state, twTokenUnderline);
|
184
|
+
}
|
185
|
+
}
|
186
|
+
// strikethrough and mdash handling
|
187
|
+
if (ch == "-") {
|
188
|
+
if (stream.eat("-")) {
|
189
|
+
// if strikethrough looks ugly, change CSS.
|
190
|
+
if (stream.peek() != ' ')
|
191
|
+
return chain(stream, state, twTokenStrike);
|
192
|
+
// mdash
|
193
|
+
if (stream.peek() == ' ')
|
194
|
+
return ret('text', 'brace');
|
195
|
+
}
|
196
|
+
}
|
197
|
+
if (ch == "'") { // tw bold
|
198
|
+
if (stream.eat("'")) {
|
199
|
+
return chain(stream, state, twTokenStrong);
|
200
|
+
}
|
201
|
+
}
|
202
|
+
if (ch == "<") { // tw macro
|
203
|
+
if (stream.eat("<")) {
|
204
|
+
return chain(stream, state, twTokenMacro);
|
205
|
+
}
|
206
|
+
}
|
207
|
+
else {
|
208
|
+
return ret(ch);
|
209
|
+
}
|
210
|
+
|
211
|
+
// core macro handling
|
212
|
+
stream.eatWhile(/[\w\$_]/);
|
213
|
+
var word = stream.current(),
|
214
|
+
known = textwords.propertyIsEnumerable(word) && textwords[word];
|
215
|
+
|
216
|
+
return known ? ret(known.type, known.style, word) : ret("text", null, word);
|
217
|
+
|
218
|
+
} // jsTokenBase()
|
219
|
+
|
220
|
+
// tw invisible comment
|
221
|
+
function twTokenComment(stream, state) {
|
222
|
+
var maybeEnd = false,
|
223
|
+
ch;
|
224
|
+
while (ch = stream.next()) {
|
225
|
+
if (ch == "/" && maybeEnd) {
|
226
|
+
state.tokenize = jsTokenBase;
|
227
|
+
break;
|
228
|
+
}
|
229
|
+
maybeEnd = (ch == "%");
|
230
|
+
}
|
231
|
+
return ret("comment", "comment");
|
232
|
+
}
|
233
|
+
|
234
|
+
// tw strong / bold
|
235
|
+
function twTokenStrong(stream, state) {
|
236
|
+
var maybeEnd = false,
|
237
|
+
ch;
|
238
|
+
while (ch = stream.next()) {
|
239
|
+
if (ch == "'" && maybeEnd) {
|
240
|
+
state.tokenize = jsTokenBase;
|
241
|
+
break;
|
242
|
+
}
|
243
|
+
maybeEnd = (ch == "'");
|
244
|
+
}
|
245
|
+
return ret("text", "strong");
|
246
|
+
}
|
247
|
+
|
248
|
+
// tw code
|
249
|
+
function twTokenCode(stream, state) {
|
250
|
+
var ch, sb = state.block;
|
251
|
+
|
252
|
+
if (sb && stream.current()) {
|
253
|
+
return ret("code", "comment");
|
254
|
+
}
|
255
|
+
|
256
|
+
if (!sb && stream.match(reUntilCodeStop)) {
|
257
|
+
state.tokenize = jsTokenBase;
|
258
|
+
return ret("code", "comment");
|
259
|
+
}
|
260
|
+
|
261
|
+
if (sb && stream.sol() && stream.match(reCodeBlockStop)) {
|
262
|
+
state.tokenize = jsTokenBase;
|
263
|
+
return ret("code", "comment");
|
264
|
+
}
|
265
|
+
|
266
|
+
ch = stream.next();
|
267
|
+
return (sb) ? ret("code", "comment") : ret("code", "comment");
|
268
|
+
}
|
269
|
+
|
270
|
+
// tw em / italic
|
271
|
+
function twTokenEm(stream, state) {
|
272
|
+
var maybeEnd = false,
|
273
|
+
ch;
|
274
|
+
while (ch = stream.next()) {
|
275
|
+
if (ch == "/" && maybeEnd) {
|
276
|
+
state.tokenize = jsTokenBase;
|
277
|
+
break;
|
278
|
+
}
|
279
|
+
maybeEnd = (ch == "/");
|
280
|
+
}
|
281
|
+
return ret("text", "em");
|
282
|
+
}
|
283
|
+
|
284
|
+
// tw underlined text
|
285
|
+
function twTokenUnderline(stream, state) {
|
286
|
+
var maybeEnd = false,
|
287
|
+
ch;
|
288
|
+
while (ch = stream.next()) {
|
289
|
+
if (ch == "_" && maybeEnd) {
|
290
|
+
state.tokenize = jsTokenBase;
|
291
|
+
break;
|
292
|
+
}
|
293
|
+
maybeEnd = (ch == "_");
|
294
|
+
}
|
295
|
+
return ret("text", "underlined");
|
296
|
+
}
|
297
|
+
|
298
|
+
// tw strike through text looks ugly
|
299
|
+
// change CSS if needed
|
300
|
+
function twTokenStrike(stream, state) {
|
301
|
+
var maybeEnd = false, ch;
|
302
|
+
|
303
|
+
while (ch = stream.next()) {
|
304
|
+
if (ch == "-" && maybeEnd) {
|
305
|
+
state.tokenize = jsTokenBase;
|
306
|
+
break;
|
307
|
+
}
|
308
|
+
maybeEnd = (ch == "-");
|
309
|
+
}
|
310
|
+
return ret("text", "strikethrough");
|
311
|
+
}
|
312
|
+
|
313
|
+
// macro
|
314
|
+
function twTokenMacro(stream, state) {
|
315
|
+
var ch, word, known;
|
316
|
+
|
317
|
+
if (stream.current() == '<<') {
|
318
|
+
return ret('brace', 'macro');
|
319
|
+
}
|
320
|
+
|
321
|
+
ch = stream.next();
|
322
|
+
if (!ch) {
|
323
|
+
state.tokenize = jsTokenBase;
|
324
|
+
return ret(ch);
|
325
|
+
}
|
326
|
+
if (ch == ">") {
|
327
|
+
if (stream.peek() == '>') {
|
328
|
+
stream.next();
|
329
|
+
state.tokenize = jsTokenBase;
|
330
|
+
return ret("brace", "macro");
|
331
|
+
}
|
332
|
+
}
|
333
|
+
|
334
|
+
stream.eatWhile(/[\w\$_]/);
|
335
|
+
word = stream.current();
|
336
|
+
known = keywords.propertyIsEnumerable(word) && keywords[word];
|
337
|
+
|
338
|
+
if (known) {
|
339
|
+
return ret(known.type, known.style, word);
|
340
|
+
}
|
341
|
+
else {
|
342
|
+
return ret("macro", null, word);
|
343
|
+
}
|
344
|
+
}
|
345
|
+
|
346
|
+
// Interface
|
347
|
+
return {
|
348
|
+
startState: function () {
|
349
|
+
return {
|
350
|
+
tokenize: jsTokenBase,
|
351
|
+
indented: 0,
|
352
|
+
level: 0
|
353
|
+
};
|
354
|
+
},
|
355
|
+
|
356
|
+
token: function (stream, state) {
|
357
|
+
if (stream.eatSpace()) return null;
|
358
|
+
var style = state.tokenize(stream, state);
|
359
|
+
return style;
|
360
|
+
},
|
361
|
+
|
362
|
+
electricChars: ""
|
363
|
+
};
|
364
|
+
});
|
365
|
+
|
366
|
+
CodeMirror.defineMIME("text/x-tiddlywiki", "tiddlywiki");
|
367
|
+
});
|
368
|
+
|
369
|
+
//}}}
|