gollum 2.4.4 → 2.4.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of gollum might be problematic. Click here for more details.
- data/gollum.gemspec +100 -19
- data/lib/gollum.rb +2 -3
- data/lib/gollum/frontend/public/gollum/css/gollum.css +3 -1
- data/lib/gollum/frontend/public/gollum/css/template.css +8 -12
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ace.js +64 -60
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/anchor.js +56 -62
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/anchor_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/background_tokenizer.js +56 -63
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/background_tokenizer_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/command_manager.js +11 -11
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/command_manager_test.js +59 -53
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/default_commands.js +46 -39
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/multi_select_commands.js +32 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/config.js +62 -47
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/config_test.js +71 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/css/editor.css +82 -41
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/document.js +126 -145
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/document_test.js +25 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session.js +484 -467
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/bracket_match.js +30 -63
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/fold.js +29 -37
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/fold_line.js +27 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/folding.js +47 -55
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session_test.js +61 -41
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor.js +506 -517
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_change_document_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_highlight_selected_word_test.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_navigation_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_text_edit_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/static_highlight.js +28 -38
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/static_highlight_test.js +9 -14
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/textarea.js +26 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/emacs.js +44 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/hash_handler.js +45 -52
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/keybinding.js +25 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/state_handler.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/textinput.js +230 -165
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim.js +76 -49
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/commands.js +66 -61
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/aliases.js +36 -43
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/motions.js +138 -156
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/operators.js +35 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/util.js +18 -18
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/registers.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/cursor.js +116 -101
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/gutter.js +117 -83
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/marker.js +60 -71
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/text.js +163 -102
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/text_test.js +60 -41
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/browser_focus.js +26 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/dom.js +26 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/es5-shim.js +24 -1
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event.js +52 -54
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event_emitter.js +32 -39
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event_emitter_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/keys.js +9 -1
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/lang.js +73 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/net.js +10 -3
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/oop.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/regexp.js +2 -2
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/useragent.js +55 -58
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/package.json +8 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/test_highlight_rules.js +144 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/text_javascript.txt +52 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_c9search.json +175 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_c_cpp.json +124 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_clojure.json +248 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_coffee.json +188 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_coldfusion.json +41 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_csharp.json +42 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_css.json +231 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_diff.json +732 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_glsl.json +185 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_golang.json +362 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_groovy.json +529 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_haxe.json +195 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_html.json +150 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_java.json +139 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_javascript.json +555 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_json.json +611 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_jsx.json +79 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_latex.json +196 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_less.json +292 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_liquid.json +698 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_lua.json +451 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_luapage.json +824 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_markdown.json +1202 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ocaml.json +260 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_perl.json +311 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_pgsql.json +1020 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_php.json +238 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_powershell.json +255 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_python.json +205 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ruby.json +104 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scad.json +267 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scala.json +748 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scss.json +181 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sh.json +434 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sql.json +73 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_svg.json +931 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_tcl.json +536 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_text.json +58 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_textile.json +195 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_xml.json +705 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_xquery.json +64 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_yaml.json +260 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/abap.js +77 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/abap_highlight_rules.js +133 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/asciidoc.js +64 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/asciidoc_highlight_rules.js +234 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/cstyle.js +195 -55
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/html.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/xml.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/xquery.js +31 -31
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c9search.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c9search_highlight_rules.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c_cpp.js +25 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c_cpp_highlight_rules.js +67 -60
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/clojure.js +25 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/clojure_highlight_rules.js +112 -130
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee.js +29 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/coffee-script.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/helpers.js +22 -7
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/lexer.js +140 -64
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/nodes.js +479 -237
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/parser.js +321 -230
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/parser_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/rewriter.js +62 -28
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/scope.js +39 -20
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_highlight_rules.js +183 -82
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_highlight_rules_test.js +226 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_worker.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion_highlight_rules.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/csharp_highlight_rules.js +7 -21
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css.js +36 -47
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css/csslint.js +202 -697
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_highlight_rules.js +51 -84
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_highlight_rules_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_worker.js +68 -40
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_worker_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/dart.js +62 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/dart_highlight_rules.js +192 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/diff.js +25 -31
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/diff_highlight_rules.js +27 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/doc_comment_highlight_rules.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/asciidoc.js +142 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/c9search.js +31 -37
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/coffee.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/coffee_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/cstyle.js +30 -51
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/cstyle_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/diff.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/fold_mode.js +35 -30
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/html.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/html_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/latex.js +162 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/lua.js +163 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/markdown.js +125 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/mixed.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/pythonic.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/pythonic_test.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/xml.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/xml_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/glsl.js +52 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/glsl_highlight_rules.js +81 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/golang.js +0 -1
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/golang_highlight_rules.js +15 -22
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/groovy_highlight_rules.js +28 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haml.js +62 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haml_highlight_rules.js +132 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haxe.js +20 -25
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haxe_highlight_rules.js +11 -15
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules.js +32 -38
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules_test.js +162 -69
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jade.js +58 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jade_highlight_rules.js +347 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/java_highlight_rules.js +18 -29
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript.js +28 -51
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript/jshint.js +4838 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules.js +98 -180
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules_test.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker.js +163 -64
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker_test.js +38 -40
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_highlight_rules.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_worker.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_worker_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jsp.js +56 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jsp_highlight_rules.js +85 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/latex.js +3 -2
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/latex_highlight_rules.js +1 -1
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/less.js +25 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/less_highlight_rules.js +25 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid_highlight_rules.js +146 -161
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid_highlight_rules_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lisp.js +60 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lisp_highlight_rules.js +127 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lua.js +116 -56
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lua_highlight_rules.js +75 -101
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene.js +16 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene_highlight_rules.js +49 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene_highlight_rules_test.js +99 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/makefile.js +62 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/makefile_highlight_rules.js +75 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown.js +35 -41
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules.js +29 -37
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules_test.js +100 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/matching_brace_outdent.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/matching_parens_outdent.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/objectivec.js +62 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/objectivec_highlight_rules.js +343 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ocaml.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ocaml_highlight_rules.js +39 -53
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/perl.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/perl_highlight_rules.js +39 -52
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/pgsql.js +33 -24
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/pgsql_highlight_rules.js +55 -51
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/php.js +57 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/php_highlight_rules.js +53 -153
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/powershell_highlight_rules.js +31 -21
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python.js +28 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python_highlight_rules.js +44 -61
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/r.js +135 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/r_highlight_rules.js +190 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rdoc.js +36 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rdoc_highlight_rules.js +99 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rhtml.js +67 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rhtml_highlight_rules.js +49 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby.js +27 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules.js +102 -90
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules_test.js +29 -37
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scad.js +25 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scad_highlight_rules.js +32 -54
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scala_highlight_rules.js +18 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scss.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scss_highlight_rules.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sh.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sh_highlight_rules.js +48 -64
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sql.js +28 -18
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sql_highlight_rules.js +41 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/stylus.js +62 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/stylus_highlight_rules.js +175 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/svg.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/svg_highlight_rules.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tcl.js +110 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tcl_highlight_rules.js +180 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tex.js +48 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tex_highlight_rules.js +107 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text.js +26 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text_highlight_rules.js +57 -46
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/textile.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/textile_highlight_rules.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/typescript.js +68 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/typescript_highlight_rules.js +98 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules.js +27 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules_test.js +183 -78
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_util.js +30 -38
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery.js +32 -37
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/JSONParseTreeHandler.js +92 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQueryParser.js +32954 -42497
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/visitors/SyntaxHighlighter.js +316 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery_highlight_rules.js +31 -44
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery_worker.js +48 -57
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/yaml.js +30 -18
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/yaml_highlight_rules.js +48 -40
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/model/editor.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/default_gutter_handler.js +126 -40
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/default_handlers.js +35 -43
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/dragdrop.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/fold_handler.js +78 -39
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/mouse_event.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/mouse_handler.js +39 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/multi_select_handler.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/multi_select.js +234 -103
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/multi_select_test.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/placeholder.js +30 -39
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/placeholder_test.js +27 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range.js +190 -201
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_list.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_list_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/renderloop.js +31 -49
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/requirejs/text.js +27 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/scrollbar.js +52 -55
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search.js +91 -105
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search_highlight.js +31 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search_test.js +47 -37
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/selection.js +138 -153
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/selection_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/split.js +67 -105
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/all.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/all_browser.js +3 -2
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/assertions.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/benchmark.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/mockrenderer.js +30 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/ambiance.css +217 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/ambiance.js +33 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/chrome.css +37 -38
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/chrome.js +27 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds.css +53 -47
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds_midnight.css +54 -48
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds_midnight.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/cobalt.css +58 -59
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/cobalt.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/crimson_editor.css +33 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/crimson_editor.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dawn.css +52 -64
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dawn.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dreamweaver.css +33 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dreamweaver.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/eclipse.css +29 -25
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/eclipse.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/github.css +14 -21
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/github.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/idle_fingers.css +48 -60
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/idle_fingers.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/kr_theme.css +52 -57
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/kr_theme.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore.css +53 -71
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore_soft.css +54 -77
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore_soft.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/mono_industrial.css +60 -70
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/mono_industrial.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/monokai.css +55 -72
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/monokai.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/pastel_on_dark.css +55 -64
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/pastel_on_dark.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_dark.css +48 -66
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_dark.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_light.css +49 -61
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_light.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/textmate.css +38 -44
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/textmate.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow.css +59 -87
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night.css +59 -87
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_blue.css +59 -90
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_blue.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_bright.css +59 -87
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_bright.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_eighties.css +57 -85
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_eighties.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/twilight.css +54 -78
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/twilight.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.css +45 -68
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/xcode.css +111 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/xcode.js +39 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/token_iterator.js +37 -50
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/token_iterator_test.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/tokenizer.js +40 -41
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/tokenizer_dev.js +205 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/undomanager.js +48 -55
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/virtual_renderer.js +254 -277
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/virtual_renderer_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/worker.js +22 -4
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/worker_client.js +97 -56
- data/lib/gollum/frontend/public/gollum/livepreview/licenses/ace/LICENSE.txt +24 -476
- data/lib/gollum/frontend/public/gollum/livepreview/licenses/licenses.txt +2 -2
- data/lib/gollum/frontend/views/page.rb +3 -2
- metadata +102 -21
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/Position.js +0 -59
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/StringLexer.js +0 -1686
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XMLLexer.js +0 -2993
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQDTLexer.js +0 -69
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQDTParser.js +0 -63
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQueryLexer.js +0 -10363
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQuerySemanticHighlighter.js +0 -165
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/antlr3-all.js +0 -6177
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/xquery.js +0 -55
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/definitions.js +0 -696
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/lexer.js +0 -598
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/options.js +0 -61
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/parser.js +0 -2072
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/jshint.js +0 -4469
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/jslint.js +0 -6396
data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_groovy.json
ADDED
@@ -0,0 +1,529 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"state": "start",
|
4
|
+
"data": [
|
5
|
+
[ "comment", "//http://groovy.codehaus.org/Martin+Fowler%27s+closure+examples+in+Groovy" ]
|
6
|
+
]
|
7
|
+
},
|
8
|
+
{
|
9
|
+
"state": "start",
|
10
|
+
"data": []
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"state": "start",
|
14
|
+
"data": [
|
15
|
+
[ "keyword", "class" ],
|
16
|
+
[ "text", " " ],
|
17
|
+
[ "identifier", "Employee" ],
|
18
|
+
[ "text", " " ],
|
19
|
+
[ "lparen", "{" ]
|
20
|
+
]
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"state": "start",
|
24
|
+
"data": [
|
25
|
+
[ "text", " " ],
|
26
|
+
[ "keyword", "def" ],
|
27
|
+
[ "text", " " ],
|
28
|
+
[ "identifier", "name" ],
|
29
|
+
[ "text", ", " ],
|
30
|
+
[ "identifier", "salary" ]
|
31
|
+
]
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"state": "start",
|
35
|
+
"data": [
|
36
|
+
[ "text", " " ],
|
37
|
+
[ "keyword", "boolean" ],
|
38
|
+
[ "text", " " ],
|
39
|
+
[ "identifier", "manager" ]
|
40
|
+
]
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"state": "start",
|
44
|
+
"data": [
|
45
|
+
[ "text", " " ],
|
46
|
+
[ "support.function", "String" ],
|
47
|
+
[ "text", " " ],
|
48
|
+
[ "identifier", "toString" ],
|
49
|
+
[ "lparen", "(" ],
|
50
|
+
[ "rparen", ")" ],
|
51
|
+
[ "text", " " ],
|
52
|
+
[ "lparen", "{" ],
|
53
|
+
[ "text", " " ],
|
54
|
+
[ "keyword", "return" ],
|
55
|
+
[ "text", " " ],
|
56
|
+
[ "identifier", "name" ],
|
57
|
+
[ "text", " " ],
|
58
|
+
[ "rparen", "}" ]
|
59
|
+
]
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"state": "start",
|
63
|
+
"data": [
|
64
|
+
[ "rparen", "}" ]
|
65
|
+
]
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"state": "start",
|
69
|
+
"data": []
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"state": "start",
|
73
|
+
"data": [
|
74
|
+
[ "keyword", "def" ],
|
75
|
+
[ "text", " " ],
|
76
|
+
[ "identifier", "emps" ],
|
77
|
+
[ "text", " " ],
|
78
|
+
[ "keyword.operator", "=" ],
|
79
|
+
[ "text", " " ],
|
80
|
+
[ "lparen", "[" ],
|
81
|
+
[ "keyword", "new" ],
|
82
|
+
[ "text", " " ],
|
83
|
+
[ "identifier", "Employee" ],
|
84
|
+
[ "lparen", "(" ],
|
85
|
+
[ "identifier", "name" ],
|
86
|
+
[ "text", ":" ],
|
87
|
+
[ "string", "'Guillaume'" ],
|
88
|
+
[ "text", ", " ],
|
89
|
+
[ "identifier", "manager" ],
|
90
|
+
[ "text", ":" ],
|
91
|
+
[ "constant.language.boolean", "true" ],
|
92
|
+
[ "text", ", " ],
|
93
|
+
[ "identifier", "salary" ],
|
94
|
+
[ "text", ":" ],
|
95
|
+
[ "constant.numeric", "200" ],
|
96
|
+
[ "rparen", ")" ],
|
97
|
+
[ "text", "," ]
|
98
|
+
]
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"state": "start",
|
102
|
+
"data": [
|
103
|
+
[ "text", " " ],
|
104
|
+
[ "keyword", "new" ],
|
105
|
+
[ "text", " " ],
|
106
|
+
[ "identifier", "Employee" ],
|
107
|
+
[ "lparen", "(" ],
|
108
|
+
[ "identifier", "name" ],
|
109
|
+
[ "text", ":" ],
|
110
|
+
[ "string", "'Graeme'" ],
|
111
|
+
[ "text", ", " ],
|
112
|
+
[ "identifier", "manager" ],
|
113
|
+
[ "text", ":" ],
|
114
|
+
[ "constant.language.boolean", "true" ],
|
115
|
+
[ "text", ", " ],
|
116
|
+
[ "identifier", "salary" ],
|
117
|
+
[ "text", ":" ],
|
118
|
+
[ "constant.numeric", "200" ],
|
119
|
+
[ "rparen", ")" ],
|
120
|
+
[ "text", "," ]
|
121
|
+
]
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"state": "start",
|
125
|
+
"data": [
|
126
|
+
[ "text", " " ],
|
127
|
+
[ "keyword", "new" ],
|
128
|
+
[ "text", " " ],
|
129
|
+
[ "identifier", "Employee" ],
|
130
|
+
[ "lparen", "(" ],
|
131
|
+
[ "identifier", "name" ],
|
132
|
+
[ "text", ":" ],
|
133
|
+
[ "string", "'Dierk'" ],
|
134
|
+
[ "text", ", " ],
|
135
|
+
[ "identifier", "manager" ],
|
136
|
+
[ "text", ":" ],
|
137
|
+
[ "constant.language.boolean", "false" ],
|
138
|
+
[ "text", ", " ],
|
139
|
+
[ "identifier", "salary" ],
|
140
|
+
[ "text", ":" ],
|
141
|
+
[ "constant.numeric", "151" ],
|
142
|
+
[ "rparen", ")" ],
|
143
|
+
[ "text", "," ]
|
144
|
+
]
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"state": "start",
|
148
|
+
"data": [
|
149
|
+
[ "text", " " ],
|
150
|
+
[ "keyword", "new" ],
|
151
|
+
[ "text", " " ],
|
152
|
+
[ "identifier", "Employee" ],
|
153
|
+
[ "lparen", "(" ],
|
154
|
+
[ "identifier", "name" ],
|
155
|
+
[ "text", ":" ],
|
156
|
+
[ "string", "'Bernd'" ],
|
157
|
+
[ "text", ", " ],
|
158
|
+
[ "identifier", "manager" ],
|
159
|
+
[ "text", ":" ],
|
160
|
+
[ "constant.language.boolean", "false" ],
|
161
|
+
[ "text", ", " ],
|
162
|
+
[ "identifier", "salary" ],
|
163
|
+
[ "text", ":" ],
|
164
|
+
[ "constant.numeric", "50" ],
|
165
|
+
[ "rparen", ")" ],
|
166
|
+
[ "rparen", "]" ]
|
167
|
+
]
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"state": "start",
|
171
|
+
"data": []
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"state": "start",
|
175
|
+
"data": [
|
176
|
+
[ "keyword", "def" ],
|
177
|
+
[ "text", " " ],
|
178
|
+
[ "identifier", "managers" ],
|
179
|
+
[ "lparen", "(" ],
|
180
|
+
[ "identifier", "emps" ],
|
181
|
+
[ "rparen", ")" ],
|
182
|
+
[ "text", " " ],
|
183
|
+
[ "lparen", "{" ]
|
184
|
+
]
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"state": "start",
|
188
|
+
"data": [
|
189
|
+
[ "text", " " ],
|
190
|
+
[ "identifier", "emps" ],
|
191
|
+
[ "text", "." ],
|
192
|
+
[ "identifier", "findAll" ],
|
193
|
+
[ "text", " " ],
|
194
|
+
[ "lparen", "{" ],
|
195
|
+
[ "text", " " ],
|
196
|
+
[ "identifier", "e" ],
|
197
|
+
[ "text", " " ],
|
198
|
+
[ "keyword.operator", "-" ],
|
199
|
+
[ "keyword.operator", ">" ],
|
200
|
+
[ "text", " " ],
|
201
|
+
[ "identifier", "e" ],
|
202
|
+
[ "text", "." ],
|
203
|
+
[ "identifier", "isManager" ],
|
204
|
+
[ "lparen", "(" ],
|
205
|
+
[ "rparen", ")" ],
|
206
|
+
[ "text", " " ],
|
207
|
+
[ "rparen", "}" ]
|
208
|
+
]
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"state": "start",
|
212
|
+
"data": [
|
213
|
+
[ "rparen", "}" ]
|
214
|
+
]
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"state": "start",
|
218
|
+
"data": []
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"state": "start",
|
222
|
+
"data": [
|
223
|
+
[ "keyword", "assert" ],
|
224
|
+
[ "text", " " ],
|
225
|
+
[ "identifier", "emps" ],
|
226
|
+
[ "lparen", "[" ],
|
227
|
+
[ "constant.numeric", "0" ],
|
228
|
+
[ "text", ".." ],
|
229
|
+
[ "constant.numeric", "1" ],
|
230
|
+
[ "rparen", "]" ],
|
231
|
+
[ "text", " " ],
|
232
|
+
[ "keyword.operator", "==" ],
|
233
|
+
[ "text", " " ],
|
234
|
+
[ "identifier", "managers" ],
|
235
|
+
[ "lparen", "(" ],
|
236
|
+
[ "identifier", "emps" ],
|
237
|
+
[ "rparen", ")" ],
|
238
|
+
[ "text", " " ],
|
239
|
+
[ "comment", "// [Guillaume, Graeme]" ]
|
240
|
+
]
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"state": "start",
|
244
|
+
"data": []
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"state": "start",
|
248
|
+
"data": [
|
249
|
+
[ "keyword", "def" ],
|
250
|
+
[ "text", " " ],
|
251
|
+
[ "identifier", "highPaid" ],
|
252
|
+
[ "lparen", "(" ],
|
253
|
+
[ "identifier", "emps" ],
|
254
|
+
[ "rparen", ")" ],
|
255
|
+
[ "text", " " ],
|
256
|
+
[ "lparen", "{" ]
|
257
|
+
]
|
258
|
+
},
|
259
|
+
{
|
260
|
+
"state": "start",
|
261
|
+
"data": [
|
262
|
+
[ "text", " " ],
|
263
|
+
[ "identifier", "threshold" ],
|
264
|
+
[ "text", " " ],
|
265
|
+
[ "keyword.operator", "=" ],
|
266
|
+
[ "text", " " ],
|
267
|
+
[ "constant.numeric", "150" ]
|
268
|
+
]
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"state": "start",
|
272
|
+
"data": [
|
273
|
+
[ "text", " " ],
|
274
|
+
[ "identifier", "emps" ],
|
275
|
+
[ "text", "." ],
|
276
|
+
[ "identifier", "findAll" ],
|
277
|
+
[ "text", " " ],
|
278
|
+
[ "lparen", "{" ],
|
279
|
+
[ "text", " " ],
|
280
|
+
[ "identifier", "e" ],
|
281
|
+
[ "text", " " ],
|
282
|
+
[ "keyword.operator", "-" ],
|
283
|
+
[ "keyword.operator", ">" ],
|
284
|
+
[ "text", " " ],
|
285
|
+
[ "identifier", "e" ],
|
286
|
+
[ "text", "." ],
|
287
|
+
[ "identifier", "salary" ],
|
288
|
+
[ "text", " " ],
|
289
|
+
[ "keyword.operator", ">" ],
|
290
|
+
[ "text", " " ],
|
291
|
+
[ "identifier", "threshold" ],
|
292
|
+
[ "text", " " ],
|
293
|
+
[ "rparen", "}" ]
|
294
|
+
]
|
295
|
+
},
|
296
|
+
{
|
297
|
+
"state": "start",
|
298
|
+
"data": [
|
299
|
+
[ "rparen", "}" ]
|
300
|
+
]
|
301
|
+
},
|
302
|
+
{
|
303
|
+
"state": "start",
|
304
|
+
"data": []
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"state": "start",
|
308
|
+
"data": [
|
309
|
+
[ "keyword", "assert" ],
|
310
|
+
[ "text", " " ],
|
311
|
+
[ "identifier", "emps" ],
|
312
|
+
[ "lparen", "[" ],
|
313
|
+
[ "constant.numeric", "0" ],
|
314
|
+
[ "text", ".." ],
|
315
|
+
[ "constant.numeric", "2" ],
|
316
|
+
[ "rparen", "]" ],
|
317
|
+
[ "text", " " ],
|
318
|
+
[ "keyword.operator", "==" ],
|
319
|
+
[ "text", " " ],
|
320
|
+
[ "identifier", "highPaid" ],
|
321
|
+
[ "lparen", "(" ],
|
322
|
+
[ "identifier", "emps" ],
|
323
|
+
[ "rparen", ")" ],
|
324
|
+
[ "text", " " ],
|
325
|
+
[ "comment", "// [Guillaume, Graeme, Dierk]" ]
|
326
|
+
]
|
327
|
+
},
|
328
|
+
{
|
329
|
+
"state": "start",
|
330
|
+
"data": []
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"state": "start",
|
334
|
+
"data": [
|
335
|
+
[ "keyword", "def" ],
|
336
|
+
[ "text", " " ],
|
337
|
+
[ "identifier", "paidMore" ],
|
338
|
+
[ "lparen", "(" ],
|
339
|
+
[ "identifier", "amount" ],
|
340
|
+
[ "rparen", ")" ],
|
341
|
+
[ "text", " " ],
|
342
|
+
[ "lparen", "{" ]
|
343
|
+
]
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"state": "start",
|
347
|
+
"data": [
|
348
|
+
[ "text", " " ],
|
349
|
+
[ "lparen", "{" ],
|
350
|
+
[ "text", " " ],
|
351
|
+
[ "identifier", "e" ],
|
352
|
+
[ "text", " " ],
|
353
|
+
[ "keyword.operator", "-" ],
|
354
|
+
[ "keyword.operator", ">" ],
|
355
|
+
[ "text", " " ],
|
356
|
+
[ "identifier", "e" ],
|
357
|
+
[ "text", "." ],
|
358
|
+
[ "identifier", "salary" ],
|
359
|
+
[ "text", " " ],
|
360
|
+
[ "keyword.operator", ">" ],
|
361
|
+
[ "text", " " ],
|
362
|
+
[ "identifier", "amount" ],
|
363
|
+
[ "rparen", "}" ]
|
364
|
+
]
|
365
|
+
},
|
366
|
+
{
|
367
|
+
"state": "start",
|
368
|
+
"data": [
|
369
|
+
[ "rparen", "}" ]
|
370
|
+
]
|
371
|
+
},
|
372
|
+
{
|
373
|
+
"state": "start",
|
374
|
+
"data": [
|
375
|
+
[ "keyword", "def" ],
|
376
|
+
[ "text", " " ],
|
377
|
+
[ "identifier", "highPaid" ],
|
378
|
+
[ "text", " " ],
|
379
|
+
[ "keyword.operator", "=" ],
|
380
|
+
[ "text", " " ],
|
381
|
+
[ "identifier", "paidMore" ],
|
382
|
+
[ "lparen", "(" ],
|
383
|
+
[ "constant.numeric", "150" ],
|
384
|
+
[ "rparen", ")" ]
|
385
|
+
]
|
386
|
+
},
|
387
|
+
{
|
388
|
+
"state": "start",
|
389
|
+
"data": []
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"state": "start",
|
393
|
+
"data": [
|
394
|
+
[ "keyword", "assert" ],
|
395
|
+
[ "text", " " ],
|
396
|
+
[ "identifier", "highPaid" ],
|
397
|
+
[ "lparen", "(" ],
|
398
|
+
[ "identifier", "emps" ],
|
399
|
+
[ "lparen", "[" ],
|
400
|
+
[ "constant.numeric", "0" ],
|
401
|
+
[ "rparen", "]" ],
|
402
|
+
[ "rparen", ")" ],
|
403
|
+
[ "text", " " ],
|
404
|
+
[ "comment", "// true" ]
|
405
|
+
]
|
406
|
+
},
|
407
|
+
{
|
408
|
+
"state": "start",
|
409
|
+
"data": [
|
410
|
+
[ "keyword", "assert" ],
|
411
|
+
[ "text", " " ],
|
412
|
+
[ "identifier", "emps" ],
|
413
|
+
[ "lparen", "[" ],
|
414
|
+
[ "constant.numeric", "0" ],
|
415
|
+
[ "text", ".." ],
|
416
|
+
[ "constant.numeric", "2" ],
|
417
|
+
[ "rparen", "]" ],
|
418
|
+
[ "text", " " ],
|
419
|
+
[ "keyword.operator", "==" ],
|
420
|
+
[ "text", " " ],
|
421
|
+
[ "identifier", "emps" ],
|
422
|
+
[ "text", "." ],
|
423
|
+
[ "identifier", "findAll" ],
|
424
|
+
[ "lparen", "(" ],
|
425
|
+
[ "identifier", "highPaid" ],
|
426
|
+
[ "rparen", ")" ]
|
427
|
+
]
|
428
|
+
},
|
429
|
+
{
|
430
|
+
"state": "start",
|
431
|
+
"data": []
|
432
|
+
},
|
433
|
+
{
|
434
|
+
"state": "start",
|
435
|
+
"data": [
|
436
|
+
[ "keyword", "def" ],
|
437
|
+
[ "text", " " ],
|
438
|
+
[ "identifier", "filename" ],
|
439
|
+
[ "text", " " ],
|
440
|
+
[ "keyword.operator", "=" ],
|
441
|
+
[ "text", " " ],
|
442
|
+
[ "string", "'test.txt'" ]
|
443
|
+
]
|
444
|
+
},
|
445
|
+
{
|
446
|
+
"state": "start",
|
447
|
+
"data": [
|
448
|
+
[ "keyword", "new" ],
|
449
|
+
[ "text", " " ],
|
450
|
+
[ "identifier", "File" ],
|
451
|
+
[ "lparen", "(" ],
|
452
|
+
[ "identifier", "filename" ],
|
453
|
+
[ "rparen", ")" ],
|
454
|
+
[ "text", "." ],
|
455
|
+
[ "identifier", "withReader" ],
|
456
|
+
[ "lparen", "{" ],
|
457
|
+
[ "text", " " ],
|
458
|
+
[ "identifier", "reader" ],
|
459
|
+
[ "text", " " ],
|
460
|
+
[ "keyword.operator", "-" ],
|
461
|
+
[ "keyword.operator", ">" ],
|
462
|
+
[ "text", " " ],
|
463
|
+
[ "identifier", "doSomethingWith" ],
|
464
|
+
[ "lparen", "(" ],
|
465
|
+
[ "identifier", "reader" ],
|
466
|
+
[ "rparen", ")" ],
|
467
|
+
[ "text", " " ],
|
468
|
+
[ "rparen", "}" ]
|
469
|
+
]
|
470
|
+
},
|
471
|
+
{
|
472
|
+
"state": "start",
|
473
|
+
"data": []
|
474
|
+
},
|
475
|
+
{
|
476
|
+
"state": "start",
|
477
|
+
"data": [
|
478
|
+
[ "keyword", "def" ],
|
479
|
+
[ "text", " " ],
|
480
|
+
[ "identifier", "readersText" ]
|
481
|
+
]
|
482
|
+
},
|
483
|
+
{
|
484
|
+
"state": "start",
|
485
|
+
"data": [
|
486
|
+
[ "keyword", "def" ],
|
487
|
+
[ "text", " " ],
|
488
|
+
[ "identifier", "doSomethingWith" ],
|
489
|
+
[ "lparen", "(" ],
|
490
|
+
[ "identifier", "reader" ],
|
491
|
+
[ "rparen", ")" ],
|
492
|
+
[ "text", " " ],
|
493
|
+
[ "lparen", "{" ],
|
494
|
+
[ "text", " " ],
|
495
|
+
[ "identifier", "readersText" ],
|
496
|
+
[ "text", " " ],
|
497
|
+
[ "keyword.operator", "=" ],
|
498
|
+
[ "text", " " ],
|
499
|
+
[ "identifier", "reader" ],
|
500
|
+
[ "text", "." ],
|
501
|
+
[ "identifier", "text" ],
|
502
|
+
[ "text", " " ],
|
503
|
+
[ "rparen", "}" ]
|
504
|
+
]
|
505
|
+
},
|
506
|
+
{
|
507
|
+
"state": "start",
|
508
|
+
"data": []
|
509
|
+
},
|
510
|
+
{
|
511
|
+
"state": "start",
|
512
|
+
"data": [
|
513
|
+
[ "keyword", "assert" ],
|
514
|
+
[ "text", " " ],
|
515
|
+
[ "keyword", "new" ],
|
516
|
+
[ "text", " " ],
|
517
|
+
[ "identifier", "File" ],
|
518
|
+
[ "lparen", "(" ],
|
519
|
+
[ "identifier", "filename" ],
|
520
|
+
[ "rparen", ")" ],
|
521
|
+
[ "text", "." ],
|
522
|
+
[ "identifier", "text" ],
|
523
|
+
[ "text", " " ],
|
524
|
+
[ "keyword.operator", "==" ],
|
525
|
+
[ "text", " " ],
|
526
|
+
[ "identifier", "readersText" ]
|
527
|
+
]
|
528
|
+
}
|
529
|
+
]
|