raro_generator 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +34 -0
- data/lib/assets/images/animated-overlay.gif +0 -0
- data/lib/assets/images/blueimp/img/error.png +0 -0
- data/lib/assets/images/blueimp/img/error.svg +5 -0
- data/lib/assets/images/blueimp/img/loading.gif +0 -0
- data/lib/assets/images/blueimp/img/play-pause.png +0 -0
- data/lib/assets/images/blueimp/img/play-pause.svg +6 -0
- data/lib/assets/images/blueimp/img/video-play.png +0 -0
- data/lib/assets/images/blueimp/img/video-play.svg +5 -0
- data/lib/assets/images/bootstrap-colorpicker/alpha-horizontal.png +0 -0
- data/lib/assets/images/bootstrap-colorpicker/alpha.png +0 -0
- data/lib/assets/images/bootstrap-colorpicker/hue-horizontal.png +0 -0
- data/lib/assets/images/bootstrap-colorpicker/hue.png +0 -0
- data/lib/assets/images/bootstrap-colorpicker/saturation.png +0 -0
- data/lib/assets/images/chosen-sprite.png +0 -0
- data/lib/assets/images/chosen-sprite@2x.png +0 -0
- data/lib/assets/images/green.png +0 -0
- data/lib/assets/images/green@2x.png +0 -0
- data/lib/assets/images/iCheck/green.png +0 -0
- data/lib/assets/images/iCheck/green@2x.png +0 -0
- data/lib/assets/images/images/animated-overlay.gif +0 -0
- data/lib/assets/images/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/lib/assets/images/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/lib/assets/images/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/lib/assets/images/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/lib/assets/images/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/lib/assets/images/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/lib/assets/images/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/lib/assets/images/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/lib/assets/images/images/ui-icons_222222_256x240.png +0 -0
- data/lib/assets/images/images/ui-icons_2e83ff_256x240.png +0 -0
- data/lib/assets/images/images/ui-icons_454545_256x240.png +0 -0
- data/lib/assets/images/images/ui-icons_888888_256x240.png +0 -0
- data/lib/assets/images/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/lib/assets/images/sort.png +0 -0
- data/lib/assets/images/sort_asc.png +0 -0
- data/lib/assets/images/sort_desc.png +0 -0
- data/lib/assets/images/sprite-skin-flat.png +0 -0
- data/lib/assets/images/sprite-skin-flat2.png +0 -0
- data/lib/assets/images/sprite-skin-nice.png +0 -0
- data/lib/assets/images/sprite-skin-simple.png +0 -0
- data/lib/assets/images/spritemap.png +0 -0
- data/lib/assets/images/spritemap@2x.png +0 -0
- data/lib/assets/javascripts/autocomplete/autocomplete-rails.js +1 -0
- data/lib/assets/javascripts/autocomplete/jquery-ui-autocomplete.js +2610 -0
- data/lib/assets/javascripts/blueimp/jquery.blueimp-gallery.min.js +1 -0
- data/lib/assets/javascripts/chartjs/Chart.min.js +11 -0
- data/lib/assets/javascripts/chosen/chosen.jquery.js +1211 -0
- data/lib/assets/javascripts/codemirror/codemirror.js +7830 -0
- data/lib/assets/javascripts/codemirror/mode/apl/apl.js +175 -0
- data/lib/assets/javascripts/codemirror/mode/apl/index.html +72 -0
- data/lib/assets/javascripts/codemirror/mode/asterisk/asterisk.js +198 -0
- data/lib/assets/javascripts/codemirror/mode/asterisk/index.html +154 -0
- data/lib/assets/javascripts/codemirror/mode/clike/clike.js +474 -0
- data/lib/assets/javascripts/codemirror/mode/clike/index.html +225 -0
- data/lib/assets/javascripts/codemirror/mode/clike/scala.html +767 -0
- data/lib/assets/javascripts/codemirror/mode/clojure/clojure.js +243 -0
- data/lib/assets/javascripts/codemirror/mode/clojure/index.html +88 -0
- data/lib/assets/javascripts/codemirror/mode/cobol/cobol.js +255 -0
- data/lib/assets/javascripts/codemirror/mode/cobol/index.html +210 -0
- data/lib/assets/javascripts/codemirror/mode/coffeescript/coffeescript.js +369 -0
- data/lib/assets/javascripts/codemirror/mode/coffeescript/index.html +740 -0
- data/lib/assets/javascripts/codemirror/mode/commonlisp/commonlisp.js +120 -0
- data/lib/assets/javascripts/codemirror/mode/commonlisp/index.html +177 -0
- data/lib/assets/javascripts/codemirror/mode/css/css.js +717 -0
- data/lib/assets/javascripts/codemirror/mode/css/index.html +70 -0
- data/lib/assets/javascripts/codemirror/mode/css/less.html +152 -0
- data/lib/assets/javascripts/codemirror/mode/css/less_test.js +51 -0
- data/lib/assets/javascripts/codemirror/mode/css/scss.html +157 -0
- data/lib/assets/javascripts/codemirror/mode/css/scss_test.js +110 -0
- data/lib/assets/javascripts/codemirror/mode/css/test.js +135 -0
- data/lib/assets/javascripts/codemirror/mode/cypher/cypher.js +146 -0
- data/lib/assets/javascripts/codemirror/mode/cypher/index.html +63 -0
- data/lib/assets/javascripts/codemirror/mode/d/d.js +218 -0
- data/lib/assets/javascripts/codemirror/mode/d/index.html +273 -0
- data/lib/assets/javascripts/codemirror/mode/diff/diff.js +47 -0
- data/lib/assets/javascripts/codemirror/mode/diff/index.html +117 -0
- data/lib/assets/javascripts/codemirror/mode/django/django.js +67 -0
- data/lib/assets/javascripts/codemirror/mode/django/index.html +63 -0
- data/lib/assets/javascripts/codemirror/mode/dtd/dtd.js +142 -0
- data/lib/assets/javascripts/codemirror/mode/dtd/index.html +89 -0
- data/lib/assets/javascripts/codemirror/mode/dylan/dylan.js +299 -0
- data/lib/assets/javascripts/codemirror/mode/dylan/index.html +407 -0
- data/lib/assets/javascripts/codemirror/mode/ecl/ecl.js +207 -0
- data/lib/assets/javascripts/codemirror/mode/ecl/index.html +52 -0
- data/lib/assets/javascripts/codemirror/mode/eiffel/eiffel.js +162 -0
- data/lib/assets/javascripts/codemirror/mode/eiffel/index.html +429 -0
- data/lib/assets/javascripts/codemirror/mode/erlang/erlang.js +622 -0
- data/lib/assets/javascripts/codemirror/mode/erlang/index.html +76 -0
- data/lib/assets/javascripts/codemirror/mode/fortran/fortran.js +188 -0
- data/lib/assets/javascripts/codemirror/mode/fortran/index.html +81 -0
- data/lib/assets/javascripts/codemirror/mode/gas/gas.js +345 -0
- data/lib/assets/javascripts/codemirror/mode/gas/index.html +68 -0
- data/lib/assets/javascripts/codemirror/mode/gfm/gfm.js +122 -0
- data/lib/assets/javascripts/codemirror/mode/gfm/index.html +82 -0
- data/lib/assets/javascripts/codemirror/mode/gfm/test.js +164 -0
- data/lib/assets/javascripts/codemirror/mode/gherkin/gherkin.js +178 -0
- data/lib/assets/javascripts/codemirror/mode/gherkin/index.html +48 -0
- data/lib/assets/javascripts/codemirror/mode/go/go.js +184 -0
- data/lib/assets/javascripts/codemirror/mode/go/index.html +85 -0
- data/lib/assets/javascripts/codemirror/mode/groovy/groovy.js +226 -0
- data/lib/assets/javascripts/codemirror/mode/groovy/index.html +84 -0
- data/lib/assets/javascripts/codemirror/mode/haml/haml.js +159 -0
- data/lib/assets/javascripts/codemirror/mode/haml/index.html +79 -0
- data/lib/assets/javascripts/codemirror/mode/haml/test.js +97 -0
- data/lib/assets/javascripts/codemirror/mode/haskell/haskell.js +267 -0
- data/lib/assets/javascripts/codemirror/mode/haskell/index.html +73 -0
- data/lib/assets/javascripts/codemirror/mode/haxe/haxe.js +518 -0
- data/lib/assets/javascripts/codemirror/mode/haxe/index.html +124 -0
- data/lib/assets/javascripts/codemirror/mode/htmlembedded/htmlembedded.js +86 -0
- data/lib/assets/javascripts/codemirror/mode/htmlembedded/index.html +58 -0
- data/lib/assets/javascripts/codemirror/mode/htmlmixed/htmlmixed.js +121 -0
- data/lib/assets/javascripts/codemirror/mode/htmlmixed/index.html +85 -0
- data/lib/assets/javascripts/codemirror/mode/http/http.js +113 -0
- data/lib/assets/javascripts/codemirror/mode/http/index.html +45 -0
- data/lib/assets/javascripts/codemirror/mode/index.html +125 -0
- data/lib/assets/javascripts/codemirror/mode/jade/index.html +70 -0
- data/lib/assets/javascripts/codemirror/mode/jade/jade.js +590 -0
- data/lib/assets/javascripts/codemirror/mode/javascript/index.html +114 -0
- data/lib/assets/javascripts/codemirror/mode/javascript/javascript.js +684 -0
- data/lib/assets/javascripts/codemirror/mode/javascript/json-ld.html +72 -0
- data/lib/assets/javascripts/codemirror/mode/javascript/test.js +194 -0
- data/lib/assets/javascripts/codemirror/mode/javascript/typescript.html +61 -0
- data/lib/assets/javascripts/codemirror/mode/jinja2/index.html +54 -0
- data/lib/assets/javascripts/codemirror/mode/jinja2/jinja2.js +142 -0
- data/lib/assets/javascripts/codemirror/mode/julia/index.html +195 -0
- data/lib/assets/javascripts/codemirror/mode/julia/julia.js +301 -0
- data/lib/assets/javascripts/codemirror/mode/kotlin/index.html +89 -0
- data/lib/assets/javascripts/codemirror/mode/kotlin/kotlin.js +280 -0
- data/lib/assets/javascripts/codemirror/mode/livescript/index.html +459 -0
- data/lib/assets/javascripts/codemirror/mode/livescript/livescript.js +280 -0
- data/lib/assets/javascripts/codemirror/mode/lua/index.html +85 -0
- data/lib/assets/javascripts/codemirror/mode/lua/lua.js +159 -0
- data/lib/assets/javascripts/codemirror/mode/markdown/index.html +359 -0
- data/lib/assets/javascripts/codemirror/mode/markdown/markdown.js +758 -0
- data/lib/assets/javascripts/codemirror/mode/markdown/test.js +754 -0
- data/lib/assets/javascripts/codemirror/mode/meta.js +144 -0
- data/lib/assets/javascripts/codemirror/mode/mirc/index.html +160 -0
- data/lib/assets/javascripts/codemirror/mode/mirc/mirc.js +193 -0
- data/lib/assets/javascripts/codemirror/mode/mllike/index.html +179 -0
- data/lib/assets/javascripts/codemirror/mode/mllike/mllike.js +205 -0
- data/lib/assets/javascripts/codemirror/mode/modelica/index.html +67 -0
- data/lib/assets/javascripts/codemirror/mode/modelica/modelica.js +245 -0
- data/lib/assets/javascripts/codemirror/mode/nginx/index.html +181 -0
- data/lib/assets/javascripts/codemirror/mode/nginx/nginx.js +178 -0
- data/lib/assets/javascripts/codemirror/mode/ntriples/index.html +45 -0
- data/lib/assets/javascripts/codemirror/mode/ntriples/ntriples.js +186 -0
- data/lib/assets/javascripts/codemirror/mode/octave/index.html +83 -0
- data/lib/assets/javascripts/codemirror/mode/octave/octave.js +135 -0
- data/lib/assets/javascripts/codemirror/mode/pascal/index.html +61 -0
- data/lib/assets/javascripts/codemirror/mode/pascal/pascal.js +109 -0
- data/lib/assets/javascripts/codemirror/mode/pegjs/index.html +66 -0
- data/lib/assets/javascripts/codemirror/mode/pegjs/pegjs.js +114 -0
- data/lib/assets/javascripts/codemirror/mode/perl/index.html +75 -0
- data/lib/assets/javascripts/codemirror/mode/perl/perl.js +832 -0
- data/lib/assets/javascripts/codemirror/mode/php/index.html +64 -0
- data/lib/assets/javascripts/codemirror/mode/php/php.js +226 -0
- data/lib/assets/javascripts/codemirror/mode/php/test.js +154 -0
- data/lib/assets/javascripts/codemirror/mode/pig/index.html +55 -0
- data/lib/assets/javascripts/codemirror/mode/pig/pig.js +188 -0
- data/lib/assets/javascripts/codemirror/mode/properties/index.html +53 -0
- data/lib/assets/javascripts/codemirror/mode/properties/properties.js +78 -0
- data/lib/assets/javascripts/codemirror/mode/puppet/index.html +121 -0
- data/lib/assets/javascripts/codemirror/mode/puppet/puppet.js +220 -0
- data/lib/assets/javascripts/codemirror/mode/python/index.html +198 -0
- data/lib/assets/javascripts/codemirror/mode/python/python.js +359 -0
- data/lib/assets/javascripts/codemirror/mode/q/index.html +144 -0
- data/lib/assets/javascripts/codemirror/mode/q/q.js +139 -0
- data/lib/assets/javascripts/codemirror/mode/r/index.html +85 -0
- data/lib/assets/javascripts/codemirror/mode/r/r.js +162 -0
- data/lib/assets/javascripts/codemirror/mode/rpm/changes/index.html +66 -0
- data/lib/assets/javascripts/codemirror/mode/rpm/index.html +149 -0
- data/lib/assets/javascripts/codemirror/mode/rpm/rpm.js +101 -0
- data/lib/assets/javascripts/codemirror/mode/rst/index.html +535 -0
- data/lib/assets/javascripts/codemirror/mode/rst/rst.js +557 -0
- data/lib/assets/javascripts/codemirror/mode/ruby/index.html +184 -0
- data/lib/assets/javascripts/codemirror/mode/ruby/ruby.js +285 -0
- data/lib/assets/javascripts/codemirror/mode/ruby/test.js +14 -0
- data/lib/assets/javascripts/codemirror/mode/rust/index.html +60 -0
- data/lib/assets/javascripts/codemirror/mode/rust/rust.js +451 -0
- data/lib/assets/javascripts/codemirror/mode/sass/index.html +66 -0
- data/lib/assets/javascripts/codemirror/mode/sass/sass.js +327 -0
- data/lib/assets/javascripts/codemirror/mode/scheme/index.html +77 -0
- data/lib/assets/javascripts/codemirror/mode/scheme/scheme.js +248 -0
- data/lib/assets/javascripts/codemirror/mode/shell/index.html +66 -0
- data/lib/assets/javascripts/codemirror/mode/shell/shell.js +138 -0
- data/lib/assets/javascripts/codemirror/mode/shell/test.js +58 -0
- data/lib/assets/javascripts/codemirror/mode/sieve/index.html +93 -0
- data/lib/assets/javascripts/codemirror/mode/sieve/sieve.js +193 -0
- data/lib/assets/javascripts/codemirror/mode/slim/index.html +96 -0
- data/lib/assets/javascripts/codemirror/mode/slim/slim.js +575 -0
- data/lib/assets/javascripts/codemirror/mode/slim/test.js +96 -0
- data/lib/assets/javascripts/codemirror/mode/smalltalk/index.html +68 -0
- data/lib/assets/javascripts/codemirror/mode/smalltalk/smalltalk.js +168 -0
- data/lib/assets/javascripts/codemirror/mode/smarty/index.html +136 -0
- data/lib/assets/javascripts/codemirror/mode/smarty/smarty.js +221 -0
- data/lib/assets/javascripts/codemirror/mode/smartymixed/index.html +114 -0
- data/lib/assets/javascripts/codemirror/mode/smartymixed/smartymixed.js +197 -0
- data/lib/assets/javascripts/codemirror/mode/solr/index.html +57 -0
- data/lib/assets/javascripts/codemirror/mode/solr/solr.js +104 -0
- data/lib/assets/javascripts/codemirror/mode/sparql/index.html +53 -0
- data/lib/assets/javascripts/codemirror/mode/sparql/sparql.js +160 -0
- data/lib/assets/javascripts/codemirror/mode/sql/index.html +84 -0
- data/lib/assets/javascripts/codemirror/mode/sql/sql.js +393 -0
- data/lib/assets/javascripts/codemirror/mode/stex/index.html +110 -0
- data/lib/assets/javascripts/codemirror/mode/stex/stex.js +262 -0
- data/lib/assets/javascripts/codemirror/mode/stex/test.js +123 -0
- data/lib/assets/javascripts/codemirror/mode/tcl/index.html +142 -0
- data/lib/assets/javascripts/codemirror/mode/tcl/tcl.js +147 -0
- data/lib/assets/javascripts/codemirror/mode/textile/index.html +191 -0
- data/lib/assets/javascripts/codemirror/mode/textile/test.js +406 -0
- data/lib/assets/javascripts/codemirror/mode/textile/textile.js +553 -0
- data/lib/assets/javascripts/codemirror/mode/tiddlywiki/index.html +154 -0
- data/lib/assets/javascripts/codemirror/mode/tiddlywiki/tiddlywiki.css +14 -0
- data/lib/assets/javascripts/codemirror/mode/tiddlywiki/tiddlywiki.js +369 -0
- data/lib/assets/javascripts/codemirror/mode/tiki/index.html +95 -0
- data/lib/assets/javascripts/codemirror/mode/tiki/tiki.css +26 -0
- data/lib/assets/javascripts/codemirror/mode/tiki/tiki.js +323 -0
- data/lib/assets/javascripts/codemirror/mode/toml/index.html +73 -0
- data/lib/assets/javascripts/codemirror/mode/toml/toml.js +88 -0
- data/lib/assets/javascripts/codemirror/mode/tornado/index.html +63 -0
- data/lib/assets/javascripts/codemirror/mode/tornado/tornado.js +68 -0
- data/lib/assets/javascripts/codemirror/mode/turtle/index.html +50 -0
- data/lib/assets/javascripts/codemirror/mode/turtle/turtle.js +160 -0
- data/lib/assets/javascripts/codemirror/mode/vb/index.html +102 -0
- data/lib/assets/javascripts/codemirror/mode/vb/vb.js +274 -0
- data/lib/assets/javascripts/codemirror/mode/vbscript/index.html +55 -0
- data/lib/assets/javascripts/codemirror/mode/vbscript/vbscript.js +350 -0
- data/lib/assets/javascripts/codemirror/mode/velocity/index.html +118 -0
- data/lib/assets/javascripts/codemirror/mode/velocity/velocity.js +201 -0
- data/lib/assets/javascripts/codemirror/mode/verilog/index.html +120 -0
- data/lib/assets/javascripts/codemirror/mode/verilog/test.js +273 -0
- data/lib/assets/javascripts/codemirror/mode/verilog/verilog.js +364 -0
- data/lib/assets/javascripts/codemirror/mode/xml/index.html +57 -0
- data/lib/assets/javascripts/codemirror/mode/xml/test.js +51 -0
- data/lib/assets/javascripts/codemirror/mode/xml/xml.js +384 -0
- data/lib/assets/javascripts/codemirror/mode/xquery/index.html +210 -0
- data/lib/assets/javascripts/codemirror/mode/xquery/test.js +67 -0
- data/lib/assets/javascripts/codemirror/mode/xquery/xquery.js +447 -0
- data/lib/assets/javascripts/codemirror/mode/yaml/index.html +80 -0
- data/lib/assets/javascripts/codemirror/mode/yaml/yaml.js +112 -0
- data/lib/assets/javascripts/codemirror/mode/z80/index.html +52 -0
- data/lib/assets/javascripts/codemirror/mode/z80/z80.js +100 -0
- data/lib/assets/javascripts/colorpicker/bootstrap-colorpicker.min.js +1 -0
- data/lib/assets/javascripts/cropper/cropper.min.js +9 -0
- data/lib/assets/javascripts/dataTables/dataTables.bootstrap.js +245 -0
- data/lib/assets/javascripts/dataTables/dataTables.responsive.js +801 -0
- data/lib/assets/javascripts/dataTables/dataTables.tableTools.min.js +69 -0
- data/lib/assets/javascripts/dataTables/jquery.dataTables.js +14840 -0
- data/lib/assets/javascripts/dataTables/swf/copy_csv_xls.swf +0 -0
- data/lib/assets/javascripts/dataTables/swf/copy_csv_xls_pdf.swf +0 -0
- data/lib/assets/javascripts/datapicker/bootstrap-datepicker.js +1680 -0
- data/lib/assets/javascripts/datapicker/daterangepicker.min.js +868 -0
- data/lib/assets/javascripts/datapicker/moment.js +7063 -0
- data/lib/assets/javascripts/diff_match_patch/COPYING +177 -0
- data/lib/assets/javascripts/diff_match_patch/README.txt +43 -0
- data/lib/assets/javascripts/diff_match_patch/javascript/diff_match_patch.js +49 -0
- data/lib/assets/javascripts/dropzone/dropzone.js +1841 -0
- data/lib/assets/javascripts/flot/curvedLines.js +315 -0
- data/lib/assets/javascripts/flot/excanvas.min.js +1 -0
- data/lib/assets/javascripts/flot/jquery.flot.js +3168 -0
- data/lib/assets/javascripts/flot/jquery.flot.pie.js +820 -0
- data/lib/assets/javascripts/flot/jquery.flot.resize.js +59 -0
- data/lib/assets/javascripts/flot/jquery.flot.spline.js +212 -0
- data/lib/assets/javascripts/flot/jquery.flot.symbol.js +71 -0
- data/lib/assets/javascripts/flot/jquery.flot.time.js +432 -0
- data/lib/assets/javascripts/flot/jquery.flot.tooltip.min.js +12 -0
- data/lib/assets/javascripts/fullcalendar/fullcalendar.min.js +8 -0
- data/lib/assets/javascripts/fullcalendar/moment.min.js +7 -0
- data/lib/assets/javascripts/iCheck/icheck.min.js +11 -0
- data/lib/assets/javascripts/idle-timer/idle-timer.min.js +2 -0
- data/lib/assets/javascripts/ionRangeSlider/ion.rangeSlider.min.js +26 -0
- data/lib/assets/javascripts/jasny/jasny-bootstrap.min.js +6 -0
- data/lib/assets/javascripts/jeditable/jquery.jeditable.js +543 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-ar.js +128 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-bg.js +134 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-bg1251.js +132 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-cat.js +130 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-cn.js +169 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-cs.js +130 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-da.js +130 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-de.js +173 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-dk.js +129 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-el.js +128 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-en.js +170 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-es.js +130 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-fa.js +147 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-fi.js +131 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-fr.js +128 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-gl.js +128 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-he.js +129 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-hr.js +164 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-hr1250.js +164 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-hu.js +131 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-id.js +170 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-is.js +128 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-it.js +1 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-ja.js +158 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-kr.js +130 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-lt.js +130 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-mne.js +130 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-nl.js +150 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-no.js +1 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-pl.js +134 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-pt-br.js +137 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-pt.js +127 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-ro.js +141 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-ru.js +129 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-sk.js +129 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-sr-latin.js +130 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-sr.js +130 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-sv.js +129 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-th.js +130 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-tr.js +128 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-tw.js +131 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-ua.js +129 -0
- data/lib/assets/javascripts/jqGrid/i18n/grid.locale-vi.js +170 -0
- data/lib/assets/javascripts/jqGrid/jquery.jqGrid.min.js +545 -0
- data/lib/assets/javascripts/jquery/jquery-2.1.1.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery-ui-i18n.min.js +6 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-af.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ar-DZ.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ar.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-az.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-be.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-bg.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-bs.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ca.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-cs.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-cy-GB.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-da.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-de.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-el.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-en-AU.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-en-GB.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-en-NZ.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-eo.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-es.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-et.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-eu.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-fa.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-fi.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-fo.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-fr-CA.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-fr-CH.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-fr.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-gl.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-he.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-hi.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-hr.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-hu.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-hy.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-id.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-is.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-it.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ja.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ka.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-kk.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-km.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ko.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ky.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-lb.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-lt.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-lv.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-mk.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ml.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ms.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-nb.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-nl-BE.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-nl.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-nn.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-no.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-pl.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-pt-BR.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-pt.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-rm.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ro.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ru.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-sk.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-sl.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-sq.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-sr-SR.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-sr.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-sv.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ta.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-th.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-tj.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-tr.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-uk.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-vi.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-zh-CN.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-zh-HK.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-zh-TW.min.js +4 -0
- data/lib/assets/javascripts/jquery-ui/images/animated-overlay.gif +0 -0
- data/lib/assets/javascripts/jquery-ui/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/lib/assets/javascripts/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/lib/assets/javascripts/jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/lib/assets/javascripts/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/lib/assets/javascripts/jquery-ui/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/lib/assets/javascripts/jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/lib/assets/javascripts/jquery-ui/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/lib/assets/javascripts/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/lib/assets/javascripts/jquery-ui/images/ui-icons_222222_256x240.png +0 -0
- data/lib/assets/javascripts/jquery-ui/images/ui-icons_2e83ff_256x240.png +0 -0
- data/lib/assets/javascripts/jquery-ui/images/ui-icons_454545_256x240.png +0 -0
- data/lib/assets/javascripts/jquery-ui/images/ui-icons_888888_256x240.png +0 -0
- data/lib/assets/javascripts/jquery-ui/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/lib/assets/javascripts/jquery-ui/jquery-ui-1.10.4.custom.min.css +7 -0
- data/lib/assets/javascripts/jquery-ui/jquery-ui-1.10.4.min.js +7 -0
- data/lib/assets/javascripts/jquery-ui/jquery-ui.css +1189 -0
- data/lib/assets/javascripts/jquery-ui/jquery-ui.js +15040 -0
- data/lib/assets/javascripts/jquery-ui/jquery-ui.min.css +4 -0
- data/lib/assets/javascripts/jquery-ui/jquery-ui.min.js +12 -0
- data/lib/assets/javascripts/jquery.mask/inputmask.js +7 -0
- data/lib/assets/javascripts/jquery.mask/jquery.mask.js +489 -0
- data/lib/assets/javascripts/jsKnob/jquery.knob.js +791 -0
- data/lib/assets/javascripts/jsTree/jstree.min.js +5 -0
- data/lib/assets/javascripts/jvectormap/jquery-jvectormap-1.2.2.min.js +8 -0
- data/lib/assets/javascripts/jvectormap/jquery-jvectormap-world-mill-en.js +1 -0
- data/lib/assets/javascripts/metisMenu/jquery.metisMenu.js +120 -0
- data/lib/assets/javascripts/morris/morris.js +1892 -0
- data/lib/assets/javascripts/morris/raphael-2.1.0.min.js +10 -0
- data/lib/assets/javascripts/nestable/jquery.nestable.js +484 -0
- data/lib/assets/javascripts/nouslider/jquery.nouislider.min.js +34 -0
- data/lib/assets/javascripts/pace/pace.min.js +2 -0
- data/lib/assets/javascripts/peity/jquery.peity.min.js +13 -0
- data/lib/assets/javascripts/preetyTextDiff/jquery.pretty-text-diff.min.js +76 -0
- data/lib/assets/javascripts/rickshaw/rickshaw.min.js +3 -0
- data/lib/assets/javascripts/rickshaw/vendor/d3.v3.js +5 -0
- data/lib/assets/javascripts/slimscroll/jquery.slimscroll.min.js +16 -0
- data/lib/assets/javascripts/sparkline/jquery.sparkline.min.js +5 -0
- data/lib/assets/javascripts/staps/jquery.steps.min.js +6 -0
- data/lib/assets/javascripts/summernote/summernote.min.js +2 -0
- data/lib/assets/javascripts/switchery/switchery.js +1 -0
- data/lib/assets/javascripts/timepicker/bootstrap-timepicker.js +1097 -0
- data/lib/assets/javascripts/tinycon/tinycon.min.js +8 -0
- data/lib/assets/javascripts/validate/jquery.validate.min.js +4 -0
- data/lib/assets/javascripts/video/responsible-video.js +21 -0
- data/lib/assets/stylesheets/animate/animate.css +2848 -0
- data/lib/assets/stylesheets/blueimp/css/blueimp-gallery-indicator.css +71 -0
- data/lib/assets/stylesheets/blueimp/css/blueimp-gallery-video.css +87 -0
- data/lib/assets/stylesheets/blueimp/css/blueimp-gallery.css +226 -0
- data/lib/assets/stylesheets/blueimp/css/blueimp-gallery.min.css +1 -0
- data/lib/assets/stylesheets/blueimp/css/demo.css +51 -0
- data/lib/assets/stylesheets/bootstrap-rtl/bootstrap-rtl.css +1468 -0
- data/lib/assets/stylesheets/bootstrap-rtl/bootstrap-rtl.css.map +1 -0
- data/lib/assets/stylesheets/bootstrap-rtl/bootstrap-rtl.min.css +9 -0
- data/lib/assets/stylesheets/chosen/chosen-sprite.png +0 -0
- data/lib/assets/stylesheets/chosen/chosen-sprite@2x.png +0 -0
- data/lib/assets/stylesheets/chosen/chosen.css +429 -0
- data/lib/assets/stylesheets/codemirror/ambiance.css +77 -0
- data/lib/assets/stylesheets/codemirror/codemirror.css +309 -0
- data/lib/assets/stylesheets/colorpicker/css/bootstrap-colorpicker.css.scss +217 -0
- data/lib/assets/stylesheets/colorpicker/css/bootstrap-colorpicker.min.css +9 -0
- data/lib/assets/stylesheets/colorpicker/css/images/bootstrap-colorpicker/alpha-horizontal.png +0 -0
- data/lib/assets/stylesheets/colorpicker/css/images/bootstrap-colorpicker/alpha.png +0 -0
- data/lib/assets/stylesheets/colorpicker/css/images/bootstrap-colorpicker/hue-horizontal.png +0 -0
- data/lib/assets/stylesheets/colorpicker/css/images/bootstrap-colorpicker/hue.png +0 -0
- data/lib/assets/stylesheets/colorpicker/css/images/bootstrap-colorpicker/saturation.png +0 -0
- data/lib/assets/stylesheets/cropper/cropper.min.css +9 -0
- data/lib/assets/stylesheets/dataTables/dataTables.bootstrap.css +233 -0
- data/lib/assets/stylesheets/dataTables/dataTables.responsive.css +93 -0
- data/lib/assets/stylesheets/dataTables/dataTables.tableTools.min.css +1 -0
- data/lib/assets/stylesheets/datapicker/datepicker.css +442 -0
- data/lib/assets/stylesheets/datapicker/datepicker3.css +789 -0
- data/lib/assets/stylesheets/datapicker/daterangepicker.css +195 -0
- data/lib/assets/stylesheets/dropzone/basic.css +155 -0
- data/lib/assets/stylesheets/dropzone/dropzone.css +410 -0
- data/lib/assets/stylesheets/dropzone/images/spritemap.png +0 -0
- data/lib/assets/stylesheets/dropzone/images/spritemap@2x.png +0 -0
- data/lib/assets/stylesheets/fullcalendar/fullcalendar.css +977 -0
- data/lib/assets/stylesheets/fullcalendar/fullcalendar.print.css +202 -0
- data/lib/assets/stylesheets/iCheck/custom.css.scss +59 -0
- data/lib/assets/stylesheets/images/bootstrap-colorpicker/alpha-horizontal.png +0 -0
- data/lib/assets/stylesheets/images/bootstrap-colorpicker/alpha.png +0 -0
- data/lib/assets/stylesheets/images/bootstrap-colorpicker/hue-horizontal.png +0 -0
- data/lib/assets/stylesheets/images/bootstrap-colorpicker/hue.png +0 -0
- data/lib/assets/stylesheets/images/bootstrap-colorpicker/saturation.png +0 -0
- data/lib/assets/stylesheets/images/sort.png +0 -0
- data/lib/assets/stylesheets/images/sort_asc.png +0 -0
- data/lib/assets/stylesheets/images/sort_desc.png +0 -0
- data/lib/assets/stylesheets/images/sprite-skin-flat.png +0 -0
- data/lib/assets/stylesheets/images/sprite-skin-flat2.png +0 -0
- data/lib/assets/stylesheets/images/sprite-skin-nice.png +0 -0
- data/lib/assets/stylesheets/images/sprite-skin-simple.png +0 -0
- data/lib/assets/stylesheets/images/spritemap.png +0 -0
- data/lib/assets/stylesheets/images/spritemap@2x.png +0 -0
- data/lib/assets/stylesheets/ionRangeSlider/images/sprite-skin-flat.png +0 -0
- data/lib/assets/stylesheets/ionRangeSlider/images/sprite-skin-flat2.png +0 -0
- data/lib/assets/stylesheets/ionRangeSlider/images/sprite-skin-nice.png +0 -0
- data/lib/assets/stylesheets/ionRangeSlider/images/sprite-skin-simple.png +0 -0
- data/lib/assets/stylesheets/ionRangeSlider/ion.rangeSlider.css +126 -0
- data/lib/assets/stylesheets/ionRangeSlider/ion.rangeSlider.skinFlat.css +89 -0
- data/lib/assets/stylesheets/ionRangeSlider/ion.rangeSlider.skinNice.css +85 -0
- data/lib/assets/stylesheets/ionRangeSlider/ion.rangeSlider.skinSimple.css +85 -0
- data/lib/assets/stylesheets/jQueryUI/images/animated-overlay.gif +0 -0
- data/lib/assets/stylesheets/jQueryUI/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/lib/assets/stylesheets/jQueryUI/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/lib/assets/stylesheets/jQueryUI/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/lib/assets/stylesheets/jQueryUI/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/lib/assets/stylesheets/jQueryUI/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/lib/assets/stylesheets/jQueryUI/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/lib/assets/stylesheets/jQueryUI/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/lib/assets/stylesheets/jQueryUI/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/lib/assets/stylesheets/jQueryUI/images/ui-icons_222222_256x240.png +0 -0
- data/lib/assets/stylesheets/jQueryUI/images/ui-icons_2e83ff_256x240.png +0 -0
- data/lib/assets/stylesheets/jQueryUI/images/ui-icons_454545_256x240.png +0 -0
- data/lib/assets/stylesheets/jQueryUI/images/ui-icons_888888_256x240.png +0 -0
- data/lib/assets/stylesheets/jQueryUI/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/lib/assets/stylesheets/jQueryUI/jquery-ui-1.10.4.custom.min.css +675 -0
- data/lib/assets/stylesheets/jasny/jasny-bootstrap.min.css +7 -0
- data/lib/assets/stylesheets/jqGrid/ui.jqgrid.css +171 -0
- data/lib/assets/stylesheets/jsTree/32px.png +0 -0
- data/lib/assets/stylesheets/jsTree/39px.png +0 -0
- data/lib/assets/stylesheets/jsTree/40px.png +0 -0
- data/lib/assets/stylesheets/jsTree/style.css +1050 -0
- data/lib/assets/stylesheets/jsTree/style.min.css +1 -0
- data/lib/assets/stylesheets/jsTree/throbber.gif +0 -0
- data/lib/assets/stylesheets/jvectormap/jquery-jvectormap-2.0.1.css +129 -0
- data/lib/assets/stylesheets/morris/morris-0.4.3.min.css +2 -0
- data/lib/assets/stylesheets/nouslider/jquery.nouislider.css +165 -0
- data/lib/assets/stylesheets/steps/jquery.steps.css +380 -0
- data/lib/assets/stylesheets/summernote/summernote-bs3.css +5970 -0
- data/lib/assets/stylesheets/summernote/summernote.css +446 -0
- data/lib/assets/stylesheets/switchery/switchery.css +32 -0
- data/lib/assets/stylesheets/timepicker/bootstrap-timepicker.css +126 -0
- data/lib/assets/stylesheets/toastr/toastr.min.css +222 -0
- data/lib/generators/assets/autocomplete/USAGE +8 -0
- data/lib/generators/assets/autocomplete/autocomplete_generator.rb +27 -0
- data/lib/generators/assets/precompile_local/USAGE +8 -0
- data/lib/generators/assets/precompile_local/precompile_local_generator.rb +43 -0
- data/lib/generators/deploy/homologacao/USAGE +8 -0
- data/lib/generators/deploy/homologacao/homologacao_generator.rb +38 -0
- data/lib/generators/deploy/homologacao/templates/deploy.rb +14 -0
- data/lib/generators/deploy/homologacao/templates/stage.rb +83 -0
- data/lib/generators/deploy/homologacao/templates/staging.rb +58 -0
- data/lib/generators/deploy/homologacao/templates/unicorn.rb +39 -0
- data/lib/generators/deploy/producao/USAGE +8 -0
- data/lib/generators/deploy/producao/producao_generator.rb +38 -0
- data/lib/generators/deploy/producao/templates/deploy.rb +14 -0
- data/lib/generators/deploy/producao/templates/env_production.rb +83 -0
- data/lib/generators/deploy/producao/templates/production.rb +45 -0
- data/lib/generators/deploy/producao/templates/unicorn.rb +39 -0
- data/lib/generators/raro_crud/branco/USAGE +10 -0
- data/lib/generators/raro_crud/branco/branco_generator.rb +16 -0
- data/lib/generators/raro_crud/branco/templates/action.rb +7 -0
- data/lib/generators/raro_crud/branco/templates/action_partial.rb +1 -0
- data/lib/generators/raro_crud/branco/templates/template.rb +22 -0
- data/lib/raro_generator/version.rb +3 -0
- data/lib/raro_generator.rb +2 -0
- data/lib/tasks/raro_generator_tasks.rake +4 -0
- metadata +611 -0
@@ -0,0 +1,64 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
|
3
|
+
<title>CodeMirror: PHP 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
|
+
<script src="../../lib/codemirror.js"></script>
|
9
|
+
<script src="../../addon/edit/matchbrackets.js"></script>
|
10
|
+
<script src="../htmlmixed/htmlmixed.js"></script>
|
11
|
+
<script src="../xml/xml.js"></script>
|
12
|
+
<script src="../javascript/javascript.js"></script>
|
13
|
+
<script src="../css/css.js"></script>
|
14
|
+
<script src="../clike/clike.js"></script>
|
15
|
+
<script src="php.js"></script>
|
16
|
+
<style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
|
17
|
+
<div id=nav>
|
18
|
+
<a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
|
19
|
+
|
20
|
+
<ul>
|
21
|
+
<li><a href="../../index.html">Home</a>
|
22
|
+
<li><a href="../../doc/manual.html">Manual</a>
|
23
|
+
<li><a href="https://github.com/codemirror/codemirror">Code</a>
|
24
|
+
</ul>
|
25
|
+
<ul>
|
26
|
+
<li><a href="../index.html">Language modes</a>
|
27
|
+
<li><a class=active href="#">PHP</a>
|
28
|
+
</ul>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
<article>
|
32
|
+
<h2>PHP mode</h2>
|
33
|
+
<form><textarea id="code" name="code">
|
34
|
+
<?php
|
35
|
+
$a = array('a' => 1, 'b' => 2, 3 => 'c');
|
36
|
+
|
37
|
+
echo "$a[a] ${a[3] /* } comment */} {$a[b]} \$a[a]";
|
38
|
+
|
39
|
+
function hello($who) {
|
40
|
+
return "Hello $who!";
|
41
|
+
}
|
42
|
+
?>
|
43
|
+
<p>The program says <?= hello("World") ?>.</p>
|
44
|
+
<script>
|
45
|
+
alert("And here is some JS code"); // also colored
|
46
|
+
</script>
|
47
|
+
</textarea></form>
|
48
|
+
|
49
|
+
<script>
|
50
|
+
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
|
51
|
+
lineNumbers: true,
|
52
|
+
matchBrackets: true,
|
53
|
+
mode: "application/x-httpd-php",
|
54
|
+
indentUnit: 4,
|
55
|
+
indentWithTabs: true
|
56
|
+
});
|
57
|
+
</script>
|
58
|
+
|
59
|
+
<p>Simple HTML/PHP mode based on
|
60
|
+
the <a href="../clike/">C-like</a> mode. Depends on XML,
|
61
|
+
JavaScript, CSS, HTMLMixed, and C-like modes.</p>
|
62
|
+
|
63
|
+
<p><strong>MIME types defined:</strong> <code>application/x-httpd-php</code> (HTML with PHP code), <code>text/x-php</code> (plain, non-wrapped PHP code).</p>
|
64
|
+
</article>
|
@@ -0,0 +1,226 @@
|
|
1
|
+
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
2
|
+
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
3
|
+
|
4
|
+
(function(mod) {
|
5
|
+
if (typeof exports == "object" && typeof module == "object") // CommonJS
|
6
|
+
mod(require("../../lib/codemirror"), require("../htmlmixed/htmlmixed"), require("../clike/clike"));
|
7
|
+
else if (typeof define == "function" && define.amd) // AMD
|
8
|
+
define(["../../lib/codemirror", "../htmlmixed/htmlmixed", "../clike/clike"], mod);
|
9
|
+
else // Plain browser env
|
10
|
+
mod(CodeMirror);
|
11
|
+
})(function(CodeMirror) {
|
12
|
+
"use strict";
|
13
|
+
|
14
|
+
function keywords(str) {
|
15
|
+
var obj = {}, words = str.split(" ");
|
16
|
+
for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
|
17
|
+
return obj;
|
18
|
+
}
|
19
|
+
|
20
|
+
// Helper for stringWithEscapes
|
21
|
+
function matchSequence(list, end) {
|
22
|
+
if (list.length == 0) return stringWithEscapes(end);
|
23
|
+
return function (stream, state) {
|
24
|
+
var patterns = list[0];
|
25
|
+
for (var i = 0; i < patterns.length; i++) if (stream.match(patterns[i][0])) {
|
26
|
+
state.tokenize = matchSequence(list.slice(1), end);
|
27
|
+
return patterns[i][1];
|
28
|
+
}
|
29
|
+
state.tokenize = stringWithEscapes(end);
|
30
|
+
return "string";
|
31
|
+
};
|
32
|
+
}
|
33
|
+
function stringWithEscapes(closing) {
|
34
|
+
return function(stream, state) { return stringWithEscapes_(stream, state, closing); };
|
35
|
+
}
|
36
|
+
function stringWithEscapes_(stream, state, closing) {
|
37
|
+
// "Complex" syntax
|
38
|
+
if (stream.match("${", false) || stream.match("{$", false)) {
|
39
|
+
state.tokenize = null;
|
40
|
+
return "string";
|
41
|
+
}
|
42
|
+
|
43
|
+
// Simple syntax
|
44
|
+
if (stream.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/)) {
|
45
|
+
// After the variable name there may appear array or object operator.
|
46
|
+
if (stream.match("[", false)) {
|
47
|
+
// Match array operator
|
48
|
+
state.tokenize = matchSequence([
|
49
|
+
[["[", null]],
|
50
|
+
[[/\d[\w\.]*/, "number"],
|
51
|
+
[/\$[a-zA-Z_][a-zA-Z0-9_]*/, "variable-2"],
|
52
|
+
[/[\w\$]+/, "variable"]],
|
53
|
+
[["]", null]]
|
54
|
+
], closing);
|
55
|
+
}
|
56
|
+
if (stream.match(/\-\>\w/, false)) {
|
57
|
+
// Match object operator
|
58
|
+
state.tokenize = matchSequence([
|
59
|
+
[["->", null]],
|
60
|
+
[[/[\w]+/, "variable"]]
|
61
|
+
], closing);
|
62
|
+
}
|
63
|
+
return "variable-2";
|
64
|
+
}
|
65
|
+
|
66
|
+
var escaped = false;
|
67
|
+
// Normal string
|
68
|
+
while (!stream.eol() &&
|
69
|
+
(escaped || (!stream.match("{$", false) &&
|
70
|
+
!stream.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/, false)))) {
|
71
|
+
if (!escaped && stream.match(closing)) {
|
72
|
+
state.tokenize = null;
|
73
|
+
state.tokStack.pop(); state.tokStack.pop();
|
74
|
+
break;
|
75
|
+
}
|
76
|
+
escaped = stream.next() == "\\" && !escaped;
|
77
|
+
}
|
78
|
+
return "string";
|
79
|
+
}
|
80
|
+
|
81
|
+
var phpKeywords = "abstract and array as break case catch class clone const continue declare default " +
|
82
|
+
"do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final " +
|
83
|
+
"for foreach function global goto if implements interface instanceof namespace " +
|
84
|
+
"new or private protected public static switch throw trait try use var while xor " +
|
85
|
+
"die echo empty exit eval include include_once isset list require require_once return " +
|
86
|
+
"print unset __halt_compiler self static parent yield insteadof finally";
|
87
|
+
var phpAtoms = "true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__";
|
88
|
+
var phpBuiltin = "func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";
|
89
|
+
CodeMirror.registerHelper("hintWords", "php", [phpKeywords, phpAtoms, phpBuiltin].join(" ").split(" "));
|
90
|
+
CodeMirror.registerHelper("wordChars", "php", /[\w$]/);
|
91
|
+
|
92
|
+
var phpConfig = {
|
93
|
+
name: "clike",
|
94
|
+
helperType: "php",
|
95
|
+
keywords: keywords(phpKeywords),
|
96
|
+
blockKeywords: keywords("catch do else elseif for foreach if switch try while finally"),
|
97
|
+
atoms: keywords(phpAtoms),
|
98
|
+
builtin: keywords(phpBuiltin),
|
99
|
+
multiLineStrings: true,
|
100
|
+
hooks: {
|
101
|
+
"$": function(stream) {
|
102
|
+
stream.eatWhile(/[\w\$_]/);
|
103
|
+
return "variable-2";
|
104
|
+
},
|
105
|
+
"<": function(stream, state) {
|
106
|
+
if (stream.match(/<</)) {
|
107
|
+
stream.eatWhile(/[\w\.]/);
|
108
|
+
var delim = stream.current().slice(3);
|
109
|
+
if (delim) {
|
110
|
+
(state.tokStack || (state.tokStack = [])).push(delim, 0);
|
111
|
+
state.tokenize = stringWithEscapes(delim);
|
112
|
+
return "string";
|
113
|
+
}
|
114
|
+
}
|
115
|
+
return false;
|
116
|
+
},
|
117
|
+
"#": function(stream) {
|
118
|
+
while (!stream.eol() && !stream.match("?>", false)) stream.next();
|
119
|
+
return "comment";
|
120
|
+
},
|
121
|
+
"/": function(stream) {
|
122
|
+
if (stream.eat("/")) {
|
123
|
+
while (!stream.eol() && !stream.match("?>", false)) stream.next();
|
124
|
+
return "comment";
|
125
|
+
}
|
126
|
+
return false;
|
127
|
+
},
|
128
|
+
'"': function(_stream, state) {
|
129
|
+
(state.tokStack || (state.tokStack = [])).push('"', 0);
|
130
|
+
state.tokenize = stringWithEscapes('"');
|
131
|
+
return "string";
|
132
|
+
},
|
133
|
+
"{": function(_stream, state) {
|
134
|
+
if (state.tokStack && state.tokStack.length)
|
135
|
+
state.tokStack[state.tokStack.length - 1]++;
|
136
|
+
return false;
|
137
|
+
},
|
138
|
+
"}": function(_stream, state) {
|
139
|
+
if (state.tokStack && state.tokStack.length > 0 &&
|
140
|
+
!--state.tokStack[state.tokStack.length - 1]) {
|
141
|
+
state.tokenize = stringWithEscapes(state.tokStack[state.tokStack.length - 2]);
|
142
|
+
}
|
143
|
+
return false;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
};
|
147
|
+
|
148
|
+
CodeMirror.defineMode("php", function(config, parserConfig) {
|
149
|
+
var htmlMode = CodeMirror.getMode(config, "text/html");
|
150
|
+
var phpMode = CodeMirror.getMode(config, phpConfig);
|
151
|
+
|
152
|
+
function dispatch(stream, state) {
|
153
|
+
var isPHP = state.curMode == phpMode;
|
154
|
+
if (stream.sol() && state.pending && state.pending != '"' && state.pending != "'") state.pending = null;
|
155
|
+
if (!isPHP) {
|
156
|
+
if (stream.match(/^<\?\w*/)) {
|
157
|
+
state.curMode = phpMode;
|
158
|
+
state.curState = state.php;
|
159
|
+
return "meta";
|
160
|
+
}
|
161
|
+
if (state.pending == '"' || state.pending == "'") {
|
162
|
+
while (!stream.eol() && stream.next() != state.pending) {}
|
163
|
+
var style = "string";
|
164
|
+
} else if (state.pending && stream.pos < state.pending.end) {
|
165
|
+
stream.pos = state.pending.end;
|
166
|
+
var style = state.pending.style;
|
167
|
+
} else {
|
168
|
+
var style = htmlMode.token(stream, state.curState);
|
169
|
+
}
|
170
|
+
if (state.pending) state.pending = null;
|
171
|
+
var cur = stream.current(), openPHP = cur.search(/<\?/), m;
|
172
|
+
if (openPHP != -1) {
|
173
|
+
if (style == "string" && (m = cur.match(/[\'\"]$/)) && !/\?>/.test(cur)) state.pending = m[0];
|
174
|
+
else state.pending = {end: stream.pos, style: style};
|
175
|
+
stream.backUp(cur.length - openPHP);
|
176
|
+
}
|
177
|
+
return style;
|
178
|
+
} else if (isPHP && state.php.tokenize == null && stream.match("?>")) {
|
179
|
+
state.curMode = htmlMode;
|
180
|
+
state.curState = state.html;
|
181
|
+
return "meta";
|
182
|
+
} else {
|
183
|
+
return phpMode.token(stream, state.curState);
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
return {
|
188
|
+
startState: function() {
|
189
|
+
var html = CodeMirror.startState(htmlMode), php = CodeMirror.startState(phpMode);
|
190
|
+
return {html: html,
|
191
|
+
php: php,
|
192
|
+
curMode: parserConfig.startOpen ? phpMode : htmlMode,
|
193
|
+
curState: parserConfig.startOpen ? php : html,
|
194
|
+
pending: null};
|
195
|
+
},
|
196
|
+
|
197
|
+
copyState: function(state) {
|
198
|
+
var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html),
|
199
|
+
php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur;
|
200
|
+
if (state.curMode == htmlMode) cur = htmlNew;
|
201
|
+
else cur = phpNew;
|
202
|
+
return {html: htmlNew, php: phpNew, curMode: state.curMode, curState: cur,
|
203
|
+
pending: state.pending};
|
204
|
+
},
|
205
|
+
|
206
|
+
token: dispatch,
|
207
|
+
|
208
|
+
indent: function(state, textAfter) {
|
209
|
+
if ((state.curMode != phpMode && /^\s*<\//.test(textAfter)) ||
|
210
|
+
(state.curMode == phpMode && /^\?>/.test(textAfter)))
|
211
|
+
return htmlMode.indent(state.html, textAfter);
|
212
|
+
return state.curMode.indent(state.curState, textAfter);
|
213
|
+
},
|
214
|
+
|
215
|
+
blockCommentStart: "/*",
|
216
|
+
blockCommentEnd: "*/",
|
217
|
+
lineComment: "//",
|
218
|
+
|
219
|
+
innerMode: function(state) { return {state: state.curState, mode: state.curMode}; }
|
220
|
+
};
|
221
|
+
}, "htmlmixed", "clike");
|
222
|
+
|
223
|
+
CodeMirror.defineMIME("application/x-httpd-php", "php");
|
224
|
+
CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true});
|
225
|
+
CodeMirror.defineMIME("text/x-php", phpConfig);
|
226
|
+
});
|
@@ -0,0 +1,154 @@
|
|
1
|
+
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
2
|
+
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
3
|
+
|
4
|
+
(function() {
|
5
|
+
var mode = CodeMirror.getMode({indentUnit: 2}, "php");
|
6
|
+
function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
|
7
|
+
|
8
|
+
MT('simple_test',
|
9
|
+
'[meta <?php] ' +
|
10
|
+
'[keyword echo] [string "aaa"]; ' +
|
11
|
+
'[meta ?>]');
|
12
|
+
|
13
|
+
MT('variable_interpolation_non_alphanumeric',
|
14
|
+
'[meta <?php]',
|
15
|
+
'[keyword echo] [string "aaa$~$!$@$#$$$%$^$&$*$($)$.$<$>$/$\\$}$\\\"$:$;$?$|$[[$]]$+$=aaa"]',
|
16
|
+
'[meta ?>]');
|
17
|
+
|
18
|
+
MT('variable_interpolation_digits',
|
19
|
+
'[meta <?php]',
|
20
|
+
'[keyword echo] [string "aaa$1$2$3$4$5$6$7$8$9$0aaa"]',
|
21
|
+
'[meta ?>]');
|
22
|
+
|
23
|
+
MT('variable_interpolation_simple_syntax_1',
|
24
|
+
'[meta <?php]',
|
25
|
+
'[keyword echo] [string "aaa][variable-2 $aaa][string .aaa"];',
|
26
|
+
'[meta ?>]');
|
27
|
+
|
28
|
+
MT('variable_interpolation_simple_syntax_2',
|
29
|
+
'[meta <?php]',
|
30
|
+
'[keyword echo] [string "][variable-2 $aaaa][[','[number 2]', ']][string aa"];',
|
31
|
+
'[keyword echo] [string "][variable-2 $aaaa][[','[number 2345]', ']][string aa"];',
|
32
|
+
'[keyword echo] [string "][variable-2 $aaaa][[','[number 2.3]', ']][string aa"];',
|
33
|
+
'[keyword echo] [string "][variable-2 $aaaa][[','[variable aaaaa]', ']][string aa"];',
|
34
|
+
'[keyword echo] [string "][variable-2 $aaaa][[','[variable-2 $aaaaa]',']][string aa"];',
|
35
|
+
|
36
|
+
'[keyword echo] [string "1aaa][variable-2 $aaaa][[','[number 2]', ']][string aa"];',
|
37
|
+
'[keyword echo] [string "aaa][variable-2 $aaaa][[','[number 2345]', ']][string aa"];',
|
38
|
+
'[keyword echo] [string "aaa][variable-2 $aaaa][[','[number 2.3]', ']][string aa"];',
|
39
|
+
'[keyword echo] [string "aaa][variable-2 $aaaa][[','[variable aaaaa]', ']][string aa"];',
|
40
|
+
'[keyword echo] [string "aaa][variable-2 $aaaa][[','[variable-2 $aaaaa]',']][string aa"];',
|
41
|
+
'[meta ?>]');
|
42
|
+
|
43
|
+
MT('variable_interpolation_simple_syntax_3',
|
44
|
+
'[meta <?php]',
|
45
|
+
'[keyword echo] [string "aaa][variable-2 $aaaa]->[variable aaaaa][string .aaaaaa"];',
|
46
|
+
'[keyword echo] [string "aaa][variable-2 $aaaa][string ->][variable-2 $aaaaa][string .aaaaaa"];',
|
47
|
+
'[keyword echo] [string "aaa][variable-2 $aaaa]->[variable aaaaa][string [[2]].aaaaaa"];',
|
48
|
+
'[keyword echo] [string "aaa][variable-2 $aaaa]->[variable aaaaa][string ->aaaa2.aaaaaa"];',
|
49
|
+
'[meta ?>]');
|
50
|
+
|
51
|
+
MT('variable_interpolation_escaping',
|
52
|
+
'[meta <?php] [comment /* Escaping */]',
|
53
|
+
'[keyword echo] [string "aaa\\$aaaa->aaa.aaa"];',
|
54
|
+
'[keyword echo] [string "aaa\\$aaaa[[2]]aaa.aaa"];',
|
55
|
+
'[keyword echo] [string "aaa\\$aaaa[[asd]]aaa.aaa"];',
|
56
|
+
'[keyword echo] [string "aaa{\\$aaaa->aaa.aaa"];',
|
57
|
+
'[keyword echo] [string "aaa{\\$aaaa[[2]]aaa.aaa"];',
|
58
|
+
'[keyword echo] [string "aaa{\\aaaaa[[asd]]aaa.aaa"];',
|
59
|
+
'[keyword echo] [string "aaa\\${aaaa->aaa.aaa"];',
|
60
|
+
'[keyword echo] [string "aaa\\${aaaa[[2]]aaa.aaa"];',
|
61
|
+
'[keyword echo] [string "aaa\\${aaaa[[asd]]aaa.aaa"];',
|
62
|
+
'[meta ?>]');
|
63
|
+
|
64
|
+
MT('variable_interpolation_complex_syntax_1',
|
65
|
+
'[meta <?php]',
|
66
|
+
'[keyword echo] [string "aaa][variable-2 $]{[variable aaaa]}[string ->aaa.aaa"];',
|
67
|
+
'[keyword echo] [string "aaa][variable-2 $]{[variable-2 $aaaa]}[string ->aaa.aaa"];',
|
68
|
+
'[keyword echo] [string "aaa][variable-2 $]{[variable-2 $aaaa][[',' [number 42]',']]}[string ->aaa.aaa"];',
|
69
|
+
'[keyword echo] [string "aaa][variable-2 $]{[variable aaaa][meta ?>]aaaaaa');
|
70
|
+
|
71
|
+
MT('variable_interpolation_complex_syntax_2',
|
72
|
+
'[meta <?php] [comment /* Monsters */]',
|
73
|
+
'[keyword echo] [string "][variable-2 $]{[variable aaa][comment /*}?>} $aaa<?php } */]}[string ->aaa.aaa"];',
|
74
|
+
'[keyword echo] [string "][variable-2 $]{[variable aaa][comment /*}?>*/][[',' [string "aaa][variable-2 $aaa][string {}][variable-2 $]{[variable aaa]}[string "]',']]}[string ->aaa.aaa"];',
|
75
|
+
'[keyword echo] [string "][variable-2 $]{[variable aaa][comment /*} } $aaa } */]}[string ->aaa.aaa"];');
|
76
|
+
|
77
|
+
|
78
|
+
function build_recursive_monsters(nt, t, n){
|
79
|
+
var monsters = [t];
|
80
|
+
for (var i = 1; i <= n; ++i)
|
81
|
+
monsters[i] = nt.join(monsters[i - 1]);
|
82
|
+
return monsters;
|
83
|
+
}
|
84
|
+
|
85
|
+
var m1 = build_recursive_monsters(
|
86
|
+
['[string "][variable-2 $]{[variable aaa] [operator +] ', '}[string "]'],
|
87
|
+
'[comment /* }?>} */] [string "aaa][variable-2 $aaa][string .aaa"]',
|
88
|
+
10
|
89
|
+
);
|
90
|
+
|
91
|
+
MT('variable_interpolation_complex_syntax_3_1',
|
92
|
+
'[meta <?php] [comment /* Recursive monsters */]',
|
93
|
+
'[keyword echo] ' + m1[4] + ';',
|
94
|
+
'[keyword echo] ' + m1[7] + ';',
|
95
|
+
'[keyword echo] ' + m1[8] + ';',
|
96
|
+
'[keyword echo] ' + m1[5] + ';',
|
97
|
+
'[keyword echo] ' + m1[1] + ';',
|
98
|
+
'[keyword echo] ' + m1[6] + ';',
|
99
|
+
'[keyword echo] ' + m1[9] + ';',
|
100
|
+
'[keyword echo] ' + m1[0] + ';',
|
101
|
+
'[keyword echo] ' + m1[10] + ';',
|
102
|
+
'[keyword echo] ' + m1[2] + ';',
|
103
|
+
'[keyword echo] ' + m1[3] + ';',
|
104
|
+
'[keyword echo] [string "end"];',
|
105
|
+
'[meta ?>]');
|
106
|
+
|
107
|
+
var m2 = build_recursive_monsters(
|
108
|
+
['[string "a][variable-2 $]{[variable aaa] [operator +] ', ' [operator +] ', '}[string .a"]'],
|
109
|
+
'[comment /* }?>{{ */] [string "a?>}{{aa][variable-2 $aaa][string .a}a?>a"]',
|
110
|
+
5
|
111
|
+
);
|
112
|
+
|
113
|
+
MT('variable_interpolation_complex_syntax_3_2',
|
114
|
+
'[meta <?php] [comment /* Recursive monsters 2 */]',
|
115
|
+
'[keyword echo] ' + m2[0] + ';',
|
116
|
+
'[keyword echo] ' + m2[1] + ';',
|
117
|
+
'[keyword echo] ' + m2[5] + ';',
|
118
|
+
'[keyword echo] ' + m2[4] + ';',
|
119
|
+
'[keyword echo] ' + m2[2] + ';',
|
120
|
+
'[keyword echo] ' + m2[3] + ';',
|
121
|
+
'[keyword echo] [string "end"];',
|
122
|
+
'[meta ?>]');
|
123
|
+
|
124
|
+
function build_recursive_monsters_2(mf1, mf2, nt, t, n){
|
125
|
+
var monsters = [t];
|
126
|
+
for (var i = 1; i <= n; ++i)
|
127
|
+
monsters[i] = nt[0] + mf1[i - 1] + nt[1] + mf2[i - 1] + nt[2] + monsters[i - 1] + nt[3];
|
128
|
+
return monsters;
|
129
|
+
}
|
130
|
+
|
131
|
+
var m3 = build_recursive_monsters_2(
|
132
|
+
m1,
|
133
|
+
m2,
|
134
|
+
['[string "a][variable-2 $]{[variable aaa] [operator +] ', ' [operator +] ', ' [operator +] ', '}[string .a"]'],
|
135
|
+
'[comment /* }?>{{ */] [string "a?>}{{aa][variable-2 $aaa][string .a}a?>a"]',
|
136
|
+
4
|
137
|
+
);
|
138
|
+
|
139
|
+
MT('variable_interpolation_complex_syntax_3_3',
|
140
|
+
'[meta <?php] [comment /* Recursive monsters 2 */]',
|
141
|
+
'[keyword echo] ' + m3[4] + ';',
|
142
|
+
'[keyword echo] ' + m3[0] + ';',
|
143
|
+
'[keyword echo] ' + m3[3] + ';',
|
144
|
+
'[keyword echo] ' + m3[1] + ';',
|
145
|
+
'[keyword echo] ' + m3[2] + ';',
|
146
|
+
'[keyword echo] [string "end"];',
|
147
|
+
'[meta ?>]');
|
148
|
+
|
149
|
+
MT("variable_interpolation_heredoc",
|
150
|
+
"[meta <?php]",
|
151
|
+
"[string <<<here]",
|
152
|
+
"[string doc ][variable-2 $]{[variable yay]}[string more]",
|
153
|
+
"[string here]; [comment // normal]");
|
154
|
+
})();
|
@@ -0,0 +1,55 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
|
3
|
+
<title>CodeMirror: Pig Latin 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
|
+
<script src="../../lib/codemirror.js"></script>
|
9
|
+
<script src="pig.js"></script>
|
10
|
+
<style>.CodeMirror {border: 2px inset #dee;}</style>
|
11
|
+
<div id=nav>
|
12
|
+
<a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
|
13
|
+
|
14
|
+
<ul>
|
15
|
+
<li><a href="../../index.html">Home</a>
|
16
|
+
<li><a href="../../doc/manual.html">Manual</a>
|
17
|
+
<li><a href="https://github.com/codemirror/codemirror">Code</a>
|
18
|
+
</ul>
|
19
|
+
<ul>
|
20
|
+
<li><a href="../index.html">Language modes</a>
|
21
|
+
<li><a class=active href="#">Pig Latin</a>
|
22
|
+
</ul>
|
23
|
+
</div>
|
24
|
+
|
25
|
+
<article>
|
26
|
+
<h2>Pig Latin mode</h2>
|
27
|
+
<form><textarea id="code" name="code">
|
28
|
+
-- Apache Pig (Pig Latin Language) Demo
|
29
|
+
/*
|
30
|
+
This is a multiline comment.
|
31
|
+
*/
|
32
|
+
a = LOAD "\path\to\input" USING PigStorage('\t') AS (x:long, y:chararray, z:bytearray);
|
33
|
+
b = GROUP a BY (x,y,3+4);
|
34
|
+
c = FOREACH b GENERATE flatten(group) as (x,y), SUM(group.$2) as z;
|
35
|
+
STORE c INTO "\path\to\output";
|
36
|
+
|
37
|
+
--
|
38
|
+
</textarea></form>
|
39
|
+
|
40
|
+
<script>
|
41
|
+
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
|
42
|
+
lineNumbers: true,
|
43
|
+
indentUnit: 4,
|
44
|
+
mode: "text/x-pig"
|
45
|
+
});
|
46
|
+
</script>
|
47
|
+
|
48
|
+
<p>
|
49
|
+
Simple mode that handles Pig Latin language.
|
50
|
+
</p>
|
51
|
+
|
52
|
+
<p><strong>MIME type defined:</strong> <code>text/x-pig</code>
|
53
|
+
(PIG code)
|
54
|
+
</html>
|
55
|
+
</article>
|