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.

Files changed (391) hide show
  1. data/gollum.gemspec +100 -19
  2. data/lib/gollum.rb +2 -3
  3. data/lib/gollum/frontend/public/gollum/css/gollum.css +3 -1
  4. data/lib/gollum/frontend/public/gollum/css/template.css +8 -12
  5. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ace.js +64 -60
  6. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/anchor.js +56 -62
  7. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/anchor_test.js +25 -32
  8. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/background_tokenizer.js +56 -63
  9. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/background_tokenizer_test.js +25 -32
  10. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/command_manager.js +11 -11
  11. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/command_manager_test.js +59 -53
  12. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/default_commands.js +46 -39
  13. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/multi_select_commands.js +32 -36
  14. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/config.js +62 -47
  15. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/config_test.js +71 -0
  16. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/css/editor.css +82 -41
  17. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/document.js +126 -145
  18. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/document_test.js +25 -33
  19. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session.js +484 -467
  20. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/bracket_match.js +30 -63
  21. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/fold.js +29 -37
  22. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/fold_line.js +27 -35
  23. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/folding.js +47 -55
  24. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session_test.js +61 -41
  25. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor.js +506 -517
  26. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_change_document_test.js +25 -32
  27. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_highlight_selected_word_test.js +26 -34
  28. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_navigation_test.js +25 -32
  29. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_text_edit_test.js +25 -32
  30. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/static_highlight.js +28 -38
  31. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/static_highlight_test.js +9 -14
  32. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/textarea.js +26 -36
  33. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/emacs.js +44 -36
  34. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/hash_handler.js +45 -52
  35. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/keybinding.js +25 -34
  36. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/state_handler.js +26 -33
  37. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/textinput.js +230 -165
  38. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim.js +76 -49
  39. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/commands.js +66 -61
  40. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/aliases.js +36 -43
  41. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/motions.js +138 -156
  42. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/operators.js +35 -32
  43. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/util.js +18 -18
  44. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/registers.js +25 -32
  45. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/cursor.js +116 -101
  46. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/gutter.js +117 -83
  47. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/marker.js +60 -71
  48. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/text.js +163 -102
  49. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/text_test.js +60 -41
  50. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/browser_focus.js +26 -36
  51. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/dom.js +26 -36
  52. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/es5-shim.js +24 -1
  53. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event.js +52 -54
  54. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event_emitter.js +32 -39
  55. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event_emitter_test.js +25 -32
  56. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/keys.js +9 -1
  57. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/lang.js +73 -33
  58. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/net.js +10 -3
  59. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/oop.js +25 -32
  60. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/regexp.js +2 -2
  61. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/useragent.js +55 -58
  62. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/package.json +8 -0
  63. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/test_highlight_rules.js +144 -0
  64. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/text_javascript.txt +52 -0
  65. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_c9search.json +175 -0
  66. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_c_cpp.json +124 -0
  67. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_clojure.json +248 -0
  68. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_coffee.json +188 -0
  69. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_coldfusion.json +41 -0
  70. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_csharp.json +42 -0
  71. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_css.json +231 -0
  72. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_diff.json +732 -0
  73. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_glsl.json +185 -0
  74. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_golang.json +362 -0
  75. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_groovy.json +529 -0
  76. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_haxe.json +195 -0
  77. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_html.json +150 -0
  78. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_java.json +139 -0
  79. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_javascript.json +555 -0
  80. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_json.json +611 -0
  81. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_jsx.json +79 -0
  82. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_latex.json +196 -0
  83. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_less.json +292 -0
  84. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_liquid.json +698 -0
  85. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_lua.json +451 -0
  86. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_luapage.json +824 -0
  87. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_markdown.json +1202 -0
  88. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ocaml.json +260 -0
  89. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_perl.json +311 -0
  90. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_pgsql.json +1020 -0
  91. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_php.json +238 -0
  92. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_powershell.json +255 -0
  93. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_python.json +205 -0
  94. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ruby.json +104 -0
  95. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scad.json +267 -0
  96. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scala.json +748 -0
  97. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scss.json +181 -0
  98. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sh.json +434 -0
  99. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sql.json +73 -0
  100. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_svg.json +931 -0
  101. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_tcl.json +536 -0
  102. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_text.json +58 -0
  103. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_textile.json +195 -0
  104. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_xml.json +705 -0
  105. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_xquery.json +64 -0
  106. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_yaml.json +260 -0
  107. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/abap.js +77 -0
  108. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/abap_highlight_rules.js +133 -0
  109. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/asciidoc.js +64 -0
  110. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/asciidoc_highlight_rules.js +234 -0
  111. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour.js +26 -34
  112. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/cstyle.js +195 -55
  113. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/html.js +26 -34
  114. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/xml.js +26 -34
  115. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/xquery.js +31 -31
  116. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c9search.js +25 -32
  117. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c9search_highlight_rules.js +25 -32
  118. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c_cpp.js +25 -33
  119. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c_cpp_highlight_rules.js +67 -60
  120. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/clojure.js +25 -34
  121. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/clojure_highlight_rules.js +112 -130
  122. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee.js +29 -36
  123. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/coffee-script.js +25 -32
  124. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/helpers.js +22 -7
  125. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/lexer.js +140 -64
  126. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/nodes.js +479 -237
  127. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/parser.js +321 -230
  128. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/parser_test.js +25 -32
  129. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/rewriter.js +62 -28
  130. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/scope.js +39 -20
  131. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_highlight_rules.js +183 -82
  132. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_highlight_rules_test.js +226 -32
  133. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_worker.js +25 -32
  134. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion.js +25 -32
  135. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion_highlight_rules.js +28 -35
  136. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion_test.js +25 -32
  137. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/csharp_highlight_rules.js +7 -21
  138. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css.js +36 -47
  139. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css/csslint.js +202 -697
  140. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_highlight_rules.js +51 -84
  141. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_highlight_rules_test.js +25 -32
  142. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_test.js +25 -32
  143. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_worker.js +68 -40
  144. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_worker_test.js +25 -32
  145. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/dart.js +62 -0
  146. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/dart_highlight_rules.js +192 -0
  147. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/diff.js +25 -31
  148. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/diff_highlight_rules.js +27 -33
  149. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/doc_comment_highlight_rules.js +25 -32
  150. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/asciidoc.js +142 -0
  151. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/c9search.js +31 -37
  152. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/coffee.js +26 -33
  153. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/coffee_test.js +25 -32
  154. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/cstyle.js +30 -51
  155. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/cstyle_test.js +25 -32
  156. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/diff.js +28 -35
  157. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/fold_mode.js +35 -30
  158. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/html.js +25 -32
  159. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/html_test.js +25 -32
  160. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/latex.js +162 -0
  161. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/lua.js +163 -0
  162. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/markdown.js +125 -0
  163. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/mixed.js +25 -32
  164. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/pythonic.js +25 -32
  165. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/pythonic_test.js +26 -33
  166. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/xml.js +25 -32
  167. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/xml_test.js +25 -32
  168. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/glsl.js +52 -0
  169. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/glsl_highlight_rules.js +81 -0
  170. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/golang.js +0 -1
  171. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/golang_highlight_rules.js +15 -22
  172. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/groovy_highlight_rules.js +28 -36
  173. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haml.js +62 -0
  174. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haml_highlight_rules.js +132 -0
  175. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haxe.js +20 -25
  176. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haxe_highlight_rules.js +11 -15
  177. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html.js +25 -32
  178. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules.js +32 -38
  179. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules_test.js +162 -69
  180. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_test.js +25 -32
  181. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jade.js +58 -0
  182. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jade_highlight_rules.js +347 -0
  183. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/java_highlight_rules.js +18 -29
  184. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript.js +28 -51
  185. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript/jshint.js +4838 -0
  186. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules.js +98 -180
  187. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules_test.js +26 -33
  188. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_test.js +25 -32
  189. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker.js +163 -64
  190. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker_test.js +38 -40
  191. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json.js +26 -33
  192. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_highlight_rules.js +26 -34
  193. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_worker.js +25 -32
  194. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_worker_test.js +25 -32
  195. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jsp.js +56 -0
  196. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jsp_highlight_rules.js +85 -0
  197. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/latex.js +3 -2
  198. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/latex_highlight_rules.js +1 -1
  199. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/less.js +25 -33
  200. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/less_highlight_rules.js +25 -33
  201. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid.js +25 -32
  202. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid_highlight_rules.js +146 -161
  203. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid_highlight_rules_test.js +25 -32
  204. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lisp.js +60 -0
  205. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lisp_highlight_rules.js +127 -0
  206. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lua.js +116 -56
  207. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lua_highlight_rules.js +75 -101
  208. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene.js +16 -0
  209. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene_highlight_rules.js +49 -0
  210. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene_highlight_rules_test.js +99 -0
  211. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/makefile.js +62 -0
  212. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/makefile_highlight_rules.js +75 -0
  213. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown.js +35 -41
  214. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules.js +29 -37
  215. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules_test.js +100 -0
  216. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/matching_brace_outdent.js +25 -32
  217. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/matching_parens_outdent.js +25 -32
  218. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/objectivec.js +62 -0
  219. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/objectivec_highlight_rules.js +343 -0
  220. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ocaml.js +25 -32
  221. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ocaml_highlight_rules.js +39 -53
  222. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/perl.js +25 -32
  223. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/perl_highlight_rules.js +39 -52
  224. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/pgsql.js +33 -24
  225. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/pgsql_highlight_rules.js +55 -51
  226. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/php.js +57 -36
  227. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/php_highlight_rules.js +53 -153
  228. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/powershell_highlight_rules.js +31 -21
  229. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python.js +28 -36
  230. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python_highlight_rules.js +44 -61
  231. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python_test.js +25 -32
  232. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/r.js +135 -0
  233. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/r_highlight_rules.js +190 -0
  234. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rdoc.js +36 -0
  235. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rdoc_highlight_rules.js +99 -0
  236. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rhtml.js +67 -0
  237. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rhtml_highlight_rules.js +49 -0
  238. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby.js +27 -33
  239. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules.js +102 -90
  240. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules_test.js +29 -37
  241. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scad.js +25 -33
  242. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scad_highlight_rules.js +32 -54
  243. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scala_highlight_rules.js +18 -32
  244. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scss.js +25 -32
  245. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scss_highlight_rules.js +25 -32
  246. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sh.js +28 -35
  247. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sh_highlight_rules.js +48 -64
  248. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sql.js +28 -18
  249. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sql_highlight_rules.js +41 -36
  250. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/stylus.js +62 -0
  251. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/stylus_highlight_rules.js +175 -0
  252. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/svg.js +25 -32
  253. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/svg_highlight_rules.js +26 -33
  254. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tcl.js +110 -0
  255. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tcl_highlight_rules.js +180 -0
  256. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tex.js +48 -0
  257. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tex_highlight_rules.js +107 -0
  258. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text.js +26 -36
  259. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text_highlight_rules.js +57 -46
  260. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text_test.js +25 -32
  261. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/textile.js +25 -32
  262. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/textile_highlight_rules.js +26 -33
  263. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/typescript.js +68 -0
  264. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/typescript_highlight_rules.js +98 -0
  265. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml.js +25 -32
  266. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules.js +27 -34
  267. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules_test.js +183 -78
  268. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_test.js +25 -32
  269. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_util.js +30 -38
  270. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery.js +32 -37
  271. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/JSONParseTreeHandler.js +92 -0
  272. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQueryParser.js +32954 -42497
  273. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/visitors/SyntaxHighlighter.js +316 -0
  274. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery_highlight_rules.js +31 -44
  275. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery_worker.js +48 -57
  276. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/yaml.js +30 -18
  277. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/yaml_highlight_rules.js +48 -40
  278. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/model/editor.js +26 -34
  279. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/default_gutter_handler.js +126 -40
  280. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/default_handlers.js +35 -43
  281. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/dragdrop.js +28 -35
  282. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/fold_handler.js +78 -39
  283. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/mouse_event.js +26 -34
  284. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/mouse_handler.js +39 -36
  285. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/multi_select_handler.js +26 -34
  286. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/multi_select.js +234 -103
  287. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/multi_select_test.js +26 -34
  288. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/placeholder.js +30 -39
  289. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/placeholder_test.js +27 -35
  290. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range.js +190 -201
  291. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_list.js +25 -32
  292. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_list_test.js +25 -32
  293. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_test.js +25 -32
  294. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/renderloop.js +31 -49
  295. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/requirejs/text.js +27 -34
  296. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/scrollbar.js +52 -55
  297. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search.js +91 -105
  298. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search_highlight.js +31 -34
  299. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search_test.js +47 -37
  300. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/selection.js +138 -153
  301. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/selection_test.js +25 -32
  302. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/split.js +67 -105
  303. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/all.js +25 -32
  304. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/all_browser.js +3 -2
  305. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/assertions.js +25 -32
  306. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/benchmark.js +25 -32
  307. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/mockrenderer.js +30 -34
  308. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/ambiance.css +217 -0
  309. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/ambiance.js +33 -0
  310. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/chrome.css +37 -38
  311. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/chrome.js +27 -34
  312. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds.css +53 -47
  313. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds.js +28 -35
  314. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds_midnight.css +54 -48
  315. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds_midnight.js +28 -35
  316. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/cobalt.css +58 -59
  317. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/cobalt.js +28 -35
  318. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/crimson_editor.css +33 -33
  319. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/crimson_editor.js +26 -33
  320. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dawn.css +52 -64
  321. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dawn.js +28 -35
  322. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dreamweaver.css +33 -36
  323. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dreamweaver.js +26 -33
  324. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/eclipse.css +29 -25
  325. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/eclipse.js +26 -33
  326. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/github.css +14 -21
  327. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/github.js +26 -33
  328. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/idle_fingers.css +48 -60
  329. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/idle_fingers.js +28 -35
  330. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/kr_theme.css +52 -57
  331. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/kr_theme.js +28 -35
  332. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore.css +53 -71
  333. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore.js +28 -35
  334. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore_soft.css +54 -77
  335. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore_soft.js +28 -35
  336. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/mono_industrial.css +60 -70
  337. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/mono_industrial.js +28 -35
  338. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/monokai.css +55 -72
  339. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/monokai.js +28 -35
  340. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/pastel_on_dark.css +55 -64
  341. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/pastel_on_dark.js +28 -35
  342. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_dark.css +48 -66
  343. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_dark.js +28 -35
  344. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_light.css +49 -61
  345. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_light.js +28 -35
  346. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/textmate.css +38 -44
  347. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/textmate.js +26 -33
  348. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow.css +59 -87
  349. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow.js +28 -35
  350. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night.css +59 -87
  351. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night.js +28 -35
  352. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_blue.css +59 -90
  353. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_blue.js +28 -35
  354. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_bright.css +59 -87
  355. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_bright.js +28 -35
  356. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_eighties.css +57 -85
  357. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_eighties.js +28 -35
  358. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/twilight.css +54 -78
  359. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/twilight.js +28 -35
  360. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.css +45 -68
  361. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.js +28 -35
  362. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/xcode.css +111 -0
  363. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/xcode.js +39 -0
  364. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/token_iterator.js +37 -50
  365. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/token_iterator_test.js +26 -33
  366. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/tokenizer.js +40 -41
  367. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/tokenizer_dev.js +205 -0
  368. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/undomanager.js +48 -55
  369. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/virtual_renderer.js +254 -277
  370. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/virtual_renderer_test.js +25 -32
  371. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/worker.js +22 -4
  372. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/worker_client.js +97 -56
  373. data/lib/gollum/frontend/public/gollum/livepreview/licenses/ace/LICENSE.txt +24 -476
  374. data/lib/gollum/frontend/public/gollum/livepreview/licenses/licenses.txt +2 -2
  375. data/lib/gollum/frontend/views/page.rb +3 -2
  376. metadata +102 -21
  377. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/Position.js +0 -59
  378. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/StringLexer.js +0 -1686
  379. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XMLLexer.js +0 -2993
  380. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQDTLexer.js +0 -69
  381. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQDTParser.js +0 -63
  382. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQueryLexer.js +0 -10363
  383. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQuerySemanticHighlighter.js +0 -165
  384. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/antlr3-all.js +0 -6177
  385. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/xquery.js +0 -55
  386. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/definitions.js +0 -696
  387. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/lexer.js +0 -598
  388. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/options.js +0 -61
  389. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/parser.js +0 -2072
  390. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/jshint.js +0 -4469
  391. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/jslint.js +0 -6396
@@ -0,0 +1,73 @@
1
+ [
2
+ {
3
+ "state": "start",
4
+ "data": [
5
+ [ "keyword", "SELECT" ],
6
+ [ "text", " " ],
7
+ [ "identifier", "city" ],
8
+ [ "text", ", " ],
9
+ [ "support.function", "COUNT" ],
10
+ [ "paren.lparen", "(" ],
11
+ [ "identifier", "id" ],
12
+ [ "paren.rparen", ")" ],
13
+ [ "text", " " ],
14
+ [ "keyword", "AS" ],
15
+ [ "text", " " ],
16
+ [ "identifier", "users_count" ]
17
+ ]
18
+ },
19
+ {
20
+ "state": "start",
21
+ "data": [
22
+ [ "keyword", "FROM" ],
23
+ [ "text", " " ],
24
+ [ "identifier", "users" ]
25
+ ]
26
+ },
27
+ {
28
+ "state": "start",
29
+ "data": [
30
+ [ "keyword", "WHERE" ],
31
+ [ "text", " " ],
32
+ [ "identifier", "group_name" ],
33
+ [ "text", " " ],
34
+ [ "keyword.operator", "=" ],
35
+ [ "text", " " ],
36
+ [ "string", "'salesman'" ]
37
+ ]
38
+ },
39
+ {
40
+ "state": "start",
41
+ "data": [
42
+ [ "keyword", "AND" ],
43
+ [ "text", " " ],
44
+ [ "identifier", "created" ],
45
+ [ "text", " " ],
46
+ [ "keyword.operator", ">" ],
47
+ [ "text", " " ],
48
+ [ "string", "'2011-05-21'" ]
49
+ ]
50
+ },
51
+ {
52
+ "state": "start",
53
+ "data": [
54
+ [ "keyword", "GROUP" ],
55
+ [ "text", " " ],
56
+ [ "keyword", "BY" ],
57
+ [ "text", " " ],
58
+ [ "constant.numeric", "1" ]
59
+ ]
60
+ },
61
+ {
62
+ "state": "start",
63
+ "data": [
64
+ [ "keyword", "ORDER" ],
65
+ [ "text", " " ],
66
+ [ "keyword", "BY" ],
67
+ [ "text", " " ],
68
+ [ "constant.numeric", "2" ],
69
+ [ "text", " " ],
70
+ [ "keyword", "DESC" ]
71
+ ]
72
+ }
73
+ ]
@@ -0,0 +1,931 @@
1
+ [
2
+ {
3
+ "state": "tag_embed_attribute_list",
4
+ "data": [
5
+ [ "meta.tag", "<" ],
6
+ [ "meta.tag.tag-name", "svg" ]
7
+ ]
8
+ },
9
+ {
10
+ "state": "tag_embed_attribute_list",
11
+ "data": [
12
+ [ "text", " " ],
13
+ [ "entity.other.attribute-name", "width" ],
14
+ [ "keyword.operator", "=" ],
15
+ [ "string", "\"800\"" ],
16
+ [ "text", " " ],
17
+ [ "entity.other.attribute-name", "height" ],
18
+ [ "keyword.operator", "=" ],
19
+ [ "string", "\"600\"" ]
20
+ ]
21
+ },
22
+ {
23
+ "state": "tag_embed_attribute_list",
24
+ "data": [
25
+ [ "text", " " ],
26
+ [ "entity.other.attribute-name", "xmlns" ],
27
+ [ "keyword.operator", "=" ],
28
+ [ "string", "\"http://www.w3.org/2000/svg\"" ]
29
+ ]
30
+ },
31
+ {
32
+ "state": "start",
33
+ "data": [
34
+ [ "text", " " ],
35
+ [ "entity.other.attribute-name", "onload" ],
36
+ [ "keyword.operator", "=" ],
37
+ [ "string", "\"StartAnimation(evt)\"" ],
38
+ [ "meta.tag", ">" ]
39
+ ]
40
+ },
41
+ {
42
+ "state": "start",
43
+ "data": []
44
+ },
45
+ {
46
+ "state": "start",
47
+ "data": [
48
+ [ "text", " " ],
49
+ [ "meta.tag", "<" ],
50
+ [ "meta.tag.tag-name", "title" ],
51
+ [ "meta.tag", ">" ],
52
+ [ "text", "Test Tube Progress Bar" ],
53
+ [ "meta.tag", "</" ],
54
+ [ "meta.tag.tag-name", "title" ],
55
+ [ "meta.tag", ">" ]
56
+ ]
57
+ },
58
+ {
59
+ "state": "start",
60
+ "data": [
61
+ [ "text", " " ],
62
+ [ "meta.tag", "<" ],
63
+ [ "meta.tag.tag-name", "desc" ],
64
+ [ "meta.tag", ">" ],
65
+ [ "text", "Created for the Web Directions SVG competition" ],
66
+ [ "meta.tag", "</" ],
67
+ [ "meta.tag.tag-name", "desc" ],
68
+ [ "meta.tag", ">" ]
69
+ ]
70
+ },
71
+ {
72
+ "state": "start",
73
+ "data": []
74
+ },
75
+ {
76
+ "state": "js-regex_allowed",
77
+ "data": [
78
+ [ "text", " " ],
79
+ [ "meta.tag", "<" ],
80
+ [ "meta.tag.tag-name", "script" ],
81
+ [ "text", " " ],
82
+ [ "entity.other.attribute-name", "type" ],
83
+ [ "keyword.operator", "=" ],
84
+ [ "string", "\"text/ecmascript\"" ],
85
+ [ "meta.tag", ">" ],
86
+ [ "keyword.operator", "<" ],
87
+ [ "keyword.operator", "!" ],
88
+ [ "paren.lparen", "[" ],
89
+ [ "identifier", "CDATA" ],
90
+ [ "paren.lparen", "[" ]
91
+ ]
92
+ },
93
+ {
94
+ "state": "js-regex_allowed",
95
+ "data": [
96
+ [ "text", " " ],
97
+ [ "storage.type", "var" ],
98
+ [ "text", " " ],
99
+ [ "identifier", "timevalue" ],
100
+ [ "text", " " ],
101
+ [ "keyword.operator", "=" ],
102
+ [ "text", " " ],
103
+ [ "constant.numeric", "0" ],
104
+ [ "punctuation.operator", ";" ]
105
+ ]
106
+ },
107
+ {
108
+ "state": "js-regex_allowed",
109
+ "data": [
110
+ [ "text", " " ],
111
+ [ "storage.type", "var" ],
112
+ [ "text", " " ],
113
+ [ "identifier", "timer_increment" ],
114
+ [ "text", " " ],
115
+ [ "keyword.operator", "=" ],
116
+ [ "text", " " ],
117
+ [ "constant.numeric", "1" ],
118
+ [ "punctuation.operator", ";" ]
119
+ ]
120
+ },
121
+ {
122
+ "state": "js-regex_allowed",
123
+ "data": [
124
+ [ "text", " " ],
125
+ [ "storage.type", "var" ],
126
+ [ "text", " " ],
127
+ [ "identifier", "max_time" ],
128
+ [ "text", " " ],
129
+ [ "keyword.operator", "=" ],
130
+ [ "text", " " ],
131
+ [ "constant.numeric", "100" ],
132
+ [ "punctuation.operator", ";" ]
133
+ ]
134
+ },
135
+ {
136
+ "state": "js-regex_allowed",
137
+ "data": [
138
+ [ "text", " " ],
139
+ [ "storage.type", "var" ],
140
+ [ "text", " " ],
141
+ [ "identifier", "hickory" ],
142
+ [ "punctuation.operator", ";" ]
143
+ ]
144
+ },
145
+ {
146
+ "state": "js-regex_allowed",
147
+ "data": [
148
+ [ "text", " " ],
149
+ [ "storage.type", "var" ],
150
+ [ "text", " " ],
151
+ [ "identifier", "dickory" ],
152
+ [ "punctuation.operator", ";" ]
153
+ ]
154
+ },
155
+ {
156
+ "state": "js-regex_allowed",
157
+ "data": [
158
+ [ "text", " " ],
159
+ [ "storage.type", "var" ],
160
+ [ "text", " " ],
161
+ [ "identifier", "dock" ],
162
+ [ "punctuation.operator", ";" ]
163
+ ]
164
+ },
165
+ {
166
+ "state": "js-regex_allowed",
167
+ "data": [
168
+ [ "text", " " ],
169
+ [ "storage.type", "var" ],
170
+ [ "text", " " ],
171
+ [ "identifier", "i" ],
172
+ [ "punctuation.operator", ";" ]
173
+ ]
174
+ },
175
+ {
176
+ "state": "js-start",
177
+ "data": []
178
+ },
179
+ {
180
+ "state": "js-regex_allowed",
181
+ "data": [
182
+ [ "text", " " ],
183
+ [ "storage.type", "function" ],
184
+ [ "text", " " ],
185
+ [ "entity.name.function", "StartAnimation" ],
186
+ [ "paren.lparen", "(" ],
187
+ [ "variable.parameter", "evt" ],
188
+ [ "paren.rparen", ")" ],
189
+ [ "text", " " ],
190
+ [ "paren.lparen", "{" ]
191
+ ]
192
+ },
193
+ {
194
+ "state": "js-regex_allowed",
195
+ "data": [
196
+ [ "text", " " ],
197
+ [ "identifier", "hickory" ],
198
+ [ "text", " " ],
199
+ [ "keyword.operator", "=" ],
200
+ [ "text", " " ],
201
+ [ "identifier", "evt" ],
202
+ [ "punctuation.operator", "." ],
203
+ [ "identifier", "target" ],
204
+ [ "punctuation.operator", "." ],
205
+ [ "identifier", "ownerDocument" ],
206
+ [ "punctuation.operator", "." ],
207
+ [ "support.function.dom", "getElementById" ],
208
+ [ "paren.lparen", "(" ],
209
+ [ "string", "\"hickory\"" ],
210
+ [ "paren.rparen", ")" ],
211
+ [ "punctuation.operator", ";" ]
212
+ ]
213
+ },
214
+ {
215
+ "state": "js-regex_allowed",
216
+ "data": [
217
+ [ "text", " " ],
218
+ [ "identifier", "dickory" ],
219
+ [ "text", " " ],
220
+ [ "keyword.operator", "=" ],
221
+ [ "text", " " ],
222
+ [ "identifier", "evt" ],
223
+ [ "punctuation.operator", "." ],
224
+ [ "identifier", "target" ],
225
+ [ "punctuation.operator", "." ],
226
+ [ "identifier", "ownerDocument" ],
227
+ [ "punctuation.operator", "." ],
228
+ [ "support.function.dom", "getElementById" ],
229
+ [ "paren.lparen", "(" ],
230
+ [ "string", "\"dickory\"" ],
231
+ [ "paren.rparen", ")" ],
232
+ [ "punctuation.operator", ";" ]
233
+ ]
234
+ },
235
+ {
236
+ "state": "js-regex_allowed",
237
+ "data": [
238
+ [ "text", " " ],
239
+ [ "identifier", "dock" ],
240
+ [ "text", " " ],
241
+ [ "keyword.operator", "=" ],
242
+ [ "text", " " ],
243
+ [ "identifier", "evt" ],
244
+ [ "punctuation.operator", "." ],
245
+ [ "identifier", "target" ],
246
+ [ "punctuation.operator", "." ],
247
+ [ "identifier", "ownerDocument" ],
248
+ [ "punctuation.operator", "." ],
249
+ [ "support.function.dom", "getElementById" ],
250
+ [ "paren.lparen", "(" ],
251
+ [ "string", "\"dock\"" ],
252
+ [ "paren.rparen", ")" ],
253
+ [ "punctuation.operator", ";" ]
254
+ ]
255
+ },
256
+ {
257
+ "state": "js-start",
258
+ "data": []
259
+ },
260
+ {
261
+ "state": "js-regex_allowed",
262
+ "data": [
263
+ [ "text", " " ],
264
+ [ "identifier", "ShowAndGrowElement" ],
265
+ [ "paren.lparen", "(" ],
266
+ [ "paren.rparen", ")" ],
267
+ [ "punctuation.operator", ";" ]
268
+ ]
269
+ },
270
+ {
271
+ "state": "js-start",
272
+ "data": [
273
+ [ "text", " " ],
274
+ [ "paren.rparen", "}" ]
275
+ ]
276
+ },
277
+ {
278
+ "state": "js-regex_allowed",
279
+ "data": [
280
+ [ "text", " " ],
281
+ [ "storage.type", "function" ],
282
+ [ "text", " " ],
283
+ [ "entity.name.function", "ShowAndGrowElement" ],
284
+ [ "paren.lparen", "(" ],
285
+ [ "paren.rparen", ")" ],
286
+ [ "text", " " ],
287
+ [ "paren.lparen", "{" ]
288
+ ]
289
+ },
290
+ {
291
+ "state": "js-regex_allowed",
292
+ "data": [
293
+ [ "text", " " ],
294
+ [ "identifier", "timevalue" ],
295
+ [ "text", " " ],
296
+ [ "keyword.operator", "=" ],
297
+ [ "text", " " ],
298
+ [ "identifier", "timevalue" ],
299
+ [ "text", " " ],
300
+ [ "keyword.operator", "+" ],
301
+ [ "text", " " ],
302
+ [ "identifier", "timer_increment" ],
303
+ [ "punctuation.operator", ";" ]
304
+ ]
305
+ },
306
+ {
307
+ "state": "js-start",
308
+ "data": [
309
+ [ "text", " " ],
310
+ [ "keyword", "if" ],
311
+ [ "text", " " ],
312
+ [ "paren.lparen", "(" ],
313
+ [ "identifier", "timevalue" ],
314
+ [ "text", " " ],
315
+ [ "keyword.operator", ">" ],
316
+ [ "text", " " ],
317
+ [ "identifier", "max_time" ],
318
+ [ "paren.rparen", ")" ]
319
+ ]
320
+ },
321
+ {
322
+ "state": "js-regex_allowed",
323
+ "data": [
324
+ [ "text", " " ],
325
+ [ "keyword", "return" ],
326
+ [ "punctuation.operator", ";" ]
327
+ ]
328
+ },
329
+ {
330
+ "state": "js-start",
331
+ "data": [
332
+ [ "text", " " ],
333
+ [ "comment", "// Scale the text string gradually until it is 20 times larger" ]
334
+ ]
335
+ },
336
+ {
337
+ "state": "js-regex_allowed",
338
+ "data": [
339
+ [ "text", " " ],
340
+ [ "identifier", "scalefactor" ],
341
+ [ "text", " " ],
342
+ [ "keyword.operator", "=" ],
343
+ [ "text", " " ],
344
+ [ "paren.lparen", "(" ],
345
+ [ "identifier", "timevalue" ],
346
+ [ "text", " " ],
347
+ [ "keyword.operator", "*" ],
348
+ [ "text", " " ],
349
+ [ "constant.numeric", "650" ],
350
+ [ "paren.rparen", ")" ],
351
+ [ "text", " " ],
352
+ [ "keyword.operator", "/" ],
353
+ [ "text", " " ],
354
+ [ "identifier", "max_time" ],
355
+ [ "punctuation.operator", ";" ]
356
+ ]
357
+ },
358
+ {
359
+ "state": "js-start",
360
+ "data": []
361
+ },
362
+ {
363
+ "state": "js-regex_allowed",
364
+ "data": [
365
+ [ "text", " " ],
366
+ [ "keyword", "if" ],
367
+ [ "text", " " ],
368
+ [ "paren.lparen", "(" ],
369
+ [ "identifier", "timevalue" ],
370
+ [ "text", " " ],
371
+ [ "keyword.operator", "<" ],
372
+ [ "text", " " ],
373
+ [ "constant.numeric", "30" ],
374
+ [ "paren.rparen", ")" ],
375
+ [ "text", " " ],
376
+ [ "paren.lparen", "{" ]
377
+ ]
378
+ },
379
+ {
380
+ "state": "js-regex_allowed",
381
+ "data": [
382
+ [ "text", " " ],
383
+ [ "identifier", "hickory" ],
384
+ [ "punctuation.operator", "." ],
385
+ [ "support.function.dom", "setAttribute" ],
386
+ [ "paren.lparen", "(" ],
387
+ [ "string", "\"display\"" ],
388
+ [ "punctuation.operator", "," ],
389
+ [ "text", " " ],
390
+ [ "string", "\"\"" ],
391
+ [ "paren.rparen", ")" ],
392
+ [ "punctuation.operator", ";" ]
393
+ ]
394
+ },
395
+ {
396
+ "state": "js-regex_allowed",
397
+ "data": [
398
+ [ "text", " " ],
399
+ [ "identifier", "hickory" ],
400
+ [ "punctuation.operator", "." ],
401
+ [ "support.function.dom", "setAttribute" ],
402
+ [ "paren.lparen", "(" ],
403
+ [ "string", "\"transform\"" ],
404
+ [ "punctuation.operator", "," ],
405
+ [ "text", " " ],
406
+ [ "string", "\"translate(\"" ],
407
+ [ "text", " " ],
408
+ [ "keyword.operator", "+" ],
409
+ [ "text", " " ],
410
+ [ "paren.lparen", "(" ],
411
+ [ "constant.numeric", "600" ],
412
+ [ "keyword.operator", "+" ],
413
+ [ "identifier", "scalefactor" ],
414
+ [ "keyword.operator", "*" ],
415
+ [ "constant.numeric", "3" ],
416
+ [ "keyword.operator", "*" ],
417
+ [ "constant.numeric", "-1" ],
418
+ [ "text", " " ],
419
+ [ "paren.rparen", ")" ],
420
+ [ "text", " " ],
421
+ [ "keyword.operator", "+" ],
422
+ [ "text", " " ],
423
+ [ "string", "\", -144 )\"" ],
424
+ [ "paren.rparen", ")" ],
425
+ [ "punctuation.operator", ";" ]
426
+ ]
427
+ },
428
+ {
429
+ "state": "js-start",
430
+ "data": [
431
+ [ "text", " " ],
432
+ [ "paren.rparen", "}" ]
433
+ ]
434
+ },
435
+ {
436
+ "state": "js-start",
437
+ "data": []
438
+ },
439
+ {
440
+ "state": "js-regex_allowed",
441
+ "data": [
442
+ [ "text", " " ],
443
+ [ "keyword", "if" ],
444
+ [ "text", " " ],
445
+ [ "paren.lparen", "(" ],
446
+ [ "identifier", "timevalue" ],
447
+ [ "text", " " ],
448
+ [ "keyword.operator", ">" ],
449
+ [ "text", " " ],
450
+ [ "constant.numeric", "30" ],
451
+ [ "text", " " ],
452
+ [ "keyword.operator", "&" ],
453
+ [ "keyword.operator", "&" ],
454
+ [ "text", " " ],
455
+ [ "identifier", "timevalue" ],
456
+ [ "text", " " ],
457
+ [ "keyword.operator", "<" ],
458
+ [ "text", " " ],
459
+ [ "constant.numeric", "66" ],
460
+ [ "paren.rparen", ")" ],
461
+ [ "text", " " ],
462
+ [ "paren.lparen", "{" ]
463
+ ]
464
+ },
465
+ {
466
+ "state": "js-regex_allowed",
467
+ "data": [
468
+ [ "text", " " ],
469
+ [ "identifier", "dickory" ],
470
+ [ "punctuation.operator", "." ],
471
+ [ "support.function.dom", "setAttribute" ],
472
+ [ "paren.lparen", "(" ],
473
+ [ "string", "\"display\"" ],
474
+ [ "punctuation.operator", "," ],
475
+ [ "text", " " ],
476
+ [ "string", "\"\"" ],
477
+ [ "paren.rparen", ")" ],
478
+ [ "punctuation.operator", ";" ]
479
+ ]
480
+ },
481
+ {
482
+ "state": "js-regex_allowed",
483
+ "data": [
484
+ [ "text", " " ],
485
+ [ "identifier", "dickory" ],
486
+ [ "punctuation.operator", "." ],
487
+ [ "support.function.dom", "setAttribute" ],
488
+ [ "paren.lparen", "(" ],
489
+ [ "string", "\"transform\"" ],
490
+ [ "punctuation.operator", "," ],
491
+ [ "text", " " ],
492
+ [ "string", "\"translate(\"" ],
493
+ [ "text", " " ],
494
+ [ "keyword.operator", "+" ],
495
+ [ "text", " " ],
496
+ [ "paren.lparen", "(" ],
497
+ [ "constant.numeric", "-795" ],
498
+ [ "keyword.operator", "+" ],
499
+ [ "identifier", "scalefactor" ],
500
+ [ "keyword.operator", "*" ],
501
+ [ "constant.numeric", "2" ],
502
+ [ "paren.rparen", ")" ],
503
+ [ "text", " " ],
504
+ [ "keyword.operator", "+" ],
505
+ [ "text", " " ],
506
+ [ "string", "\", 0 )\"" ],
507
+ [ "paren.rparen", ")" ],
508
+ [ "punctuation.operator", ";" ]
509
+ ]
510
+ },
511
+ {
512
+ "state": "js-start",
513
+ "data": [
514
+ [ "text", " " ],
515
+ [ "paren.rparen", "}" ]
516
+ ]
517
+ },
518
+ {
519
+ "state": "js-regex_allowed",
520
+ "data": [
521
+ [ "text", " " ],
522
+ [ "keyword", "if" ],
523
+ [ "text", " " ],
524
+ [ "paren.lparen", "(" ],
525
+ [ "identifier", "timevalue" ],
526
+ [ "text", " " ],
527
+ [ "keyword.operator", ">" ],
528
+ [ "text", " " ],
529
+ [ "constant.numeric", "66" ],
530
+ [ "paren.rparen", ")" ],
531
+ [ "text", " " ],
532
+ [ "paren.lparen", "{" ]
533
+ ]
534
+ },
535
+ {
536
+ "state": "js-regex_allowed",
537
+ "data": [
538
+ [ "text", " " ],
539
+ [ "identifier", "dock" ],
540
+ [ "punctuation.operator", "." ],
541
+ [ "support.function.dom", "setAttribute" ],
542
+ [ "paren.lparen", "(" ],
543
+ [ "string", "\"display\"" ],
544
+ [ "punctuation.operator", "," ],
545
+ [ "text", " " ],
546
+ [ "string", "\"\"" ],
547
+ [ "paren.rparen", ")" ],
548
+ [ "punctuation.operator", ";" ]
549
+ ]
550
+ },
551
+ {
552
+ "state": "js-regex_allowed",
553
+ "data": [
554
+ [ "text", " " ],
555
+ [ "identifier", "dock" ],
556
+ [ "punctuation.operator", "." ],
557
+ [ "support.function.dom", "setAttribute" ],
558
+ [ "paren.lparen", "(" ],
559
+ [ "string", "\"transform\"" ],
560
+ [ "punctuation.operator", "," ],
561
+ [ "text", " " ],
562
+ [ "string", "\"translate(\"" ],
563
+ [ "text", " " ],
564
+ [ "keyword.operator", "+" ],
565
+ [ "text", " " ],
566
+ [ "paren.lparen", "(" ],
567
+ [ "constant.numeric", "1450" ],
568
+ [ "keyword.operator", "+" ],
569
+ [ "identifier", "scalefactor" ],
570
+ [ "keyword.operator", "*" ],
571
+ [ "constant.numeric", "2" ],
572
+ [ "keyword.operator", "*" ],
573
+ [ "constant.numeric", "-1" ],
574
+ [ "paren.rparen", ")" ],
575
+ [ "text", " " ],
576
+ [ "keyword.operator", "+" ],
577
+ [ "text", " " ],
578
+ [ "string", "\", 144 )\"" ],
579
+ [ "paren.rparen", ")" ],
580
+ [ "punctuation.operator", ";" ]
581
+ ]
582
+ },
583
+ {
584
+ "state": "js-start",
585
+ "data": [
586
+ [ "text", " " ],
587
+ [ "paren.rparen", "}" ]
588
+ ]
589
+ },
590
+ {
591
+ "state": "js-start",
592
+ "data": []
593
+ },
594
+ {
595
+ "state": "js-start",
596
+ "data": [
597
+ [ "text", " " ],
598
+ [ "comment", "// Call ShowAndGrowElement again <timer_increment> milliseconds later." ]
599
+ ]
600
+ },
601
+ {
602
+ "state": "js-start",
603
+ "data": [
604
+ [ "text", " " ],
605
+ [ "identifier", "setTimeout" ],
606
+ [ "paren.lparen", "(" ],
607
+ [ "string", "\"ShowAndGrowElement()\"" ],
608
+ [ "punctuation.operator", "," ],
609
+ [ "text", " " ],
610
+ [ "identifier", "timer_increment" ],
611
+ [ "paren.rparen", ")" ]
612
+ ]
613
+ },
614
+ {
615
+ "state": "js-start",
616
+ "data": [
617
+ [ "text", " " ],
618
+ [ "paren.rparen", "}" ]
619
+ ]
620
+ },
621
+ {
622
+ "state": "js-start",
623
+ "data": [
624
+ [ "text", " " ],
625
+ [ "variable.language", "window" ],
626
+ [ "punctuation.operator", "." ],
627
+ [ "identifier", "ShowAndGrowElement" ],
628
+ [ "text", " " ],
629
+ [ "keyword.operator", "=" ],
630
+ [ "text", " " ],
631
+ [ "identifier", "ShowAndGrowElement" ]
632
+ ]
633
+ },
634
+ {
635
+ "state": "start",
636
+ "data": [
637
+ [ "text", " " ],
638
+ [ "paren.rparen", "]" ],
639
+ [ "paren.rparen", "]" ],
640
+ [ "meta.tag", "</" ],
641
+ [ "meta.tag.tag-name", "script" ],
642
+ [ "meta.tag", ">" ]
643
+ ]
644
+ },
645
+ {
646
+ "state": "start",
647
+ "data": []
648
+ },
649
+ {
650
+ "state": "tag_embed_attribute_list",
651
+ "data": [
652
+ [ "text", " " ],
653
+ [ "meta.tag", "<" ],
654
+ [ "meta.tag.tag-name", "rect" ]
655
+ ]
656
+ },
657
+ {
658
+ "state": "tag_embed_attribute_list",
659
+ "data": [
660
+ [ "text", " " ],
661
+ [ "entity.other.attribute-name", "fill" ],
662
+ [ "keyword.operator", "=" ],
663
+ [ "string", "\"#2e3436\"" ]
664
+ ]
665
+ },
666
+ {
667
+ "state": "tag_embed_attribute_list",
668
+ "data": [
669
+ [ "text", " " ],
670
+ [ "entity.other.attribute-name", "fill-rule" ],
671
+ [ "keyword.operator", "=" ],
672
+ [ "string", "\"nonzero\"" ]
673
+ ]
674
+ },
675
+ {
676
+ "state": "tag_embed_attribute_list",
677
+ "data": [
678
+ [ "text", " " ],
679
+ [ "entity.other.attribute-name", "stroke-width" ],
680
+ [ "keyword.operator", "=" ],
681
+ [ "string", "\"3\"" ]
682
+ ]
683
+ },
684
+ {
685
+ "state": "tag_embed_attribute_list",
686
+ "data": [
687
+ [ "text", " " ],
688
+ [ "entity.other.attribute-name", "y" ],
689
+ [ "keyword.operator", "=" ],
690
+ [ "string", "\"0\"" ]
691
+ ]
692
+ },
693
+ {
694
+ "state": "tag_embed_attribute_list",
695
+ "data": [
696
+ [ "text", " " ],
697
+ [ "entity.other.attribute-name", "x" ],
698
+ [ "keyword.operator", "=" ],
699
+ [ "string", "\"0\"" ]
700
+ ]
701
+ },
702
+ {
703
+ "state": "tag_embed_attribute_list",
704
+ "data": [
705
+ [ "text", " " ],
706
+ [ "entity.other.attribute-name", "height" ],
707
+ [ "keyword.operator", "=" ],
708
+ [ "string", "\"600\"" ]
709
+ ]
710
+ },
711
+ {
712
+ "state": "tag_embed_attribute_list",
713
+ "data": [
714
+ [ "text", " " ],
715
+ [ "entity.other.attribute-name", "width" ],
716
+ [ "keyword.operator", "=" ],
717
+ [ "string", "\"800\"" ]
718
+ ]
719
+ },
720
+ {
721
+ "state": "start",
722
+ "data": [
723
+ [ "text", " " ],
724
+ [ "entity.other.attribute-name", "id" ],
725
+ [ "keyword.operator", "=" ],
726
+ [ "string", "\"rect3590\"" ],
727
+ [ "meta.tag", "/>" ]
728
+ ]
729
+ },
730
+ {
731
+ "state": "start",
732
+ "data": []
733
+ },
734
+ {
735
+ "state": "tag_embed_attribute_list",
736
+ "data": [
737
+ [ "text", " " ],
738
+ [ "meta.tag", "<" ],
739
+ [ "meta.tag.tag-name", "text" ]
740
+ ]
741
+ },
742
+ {
743
+ "state": "tag_embed_attribute_list",
744
+ "data": [
745
+ [ "text", " " ],
746
+ [ "entity.other.attribute-name", "style" ],
747
+ [ "keyword.operator", "=" ],
748
+ [ "string", "\"font-size:144px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold\"" ]
749
+ ]
750
+ },
751
+ {
752
+ "state": "tag_embed_attribute_list",
753
+ "data": [
754
+ [ "text", " " ],
755
+ [ "entity.other.attribute-name", "x" ],
756
+ [ "keyword.operator", "=" ],
757
+ [ "string", "\"50\"" ]
758
+ ]
759
+ },
760
+ {
761
+ "state": "tag_embed_attribute_list",
762
+ "data": [
763
+ [ "text", " " ],
764
+ [ "entity.other.attribute-name", "y" ],
765
+ [ "keyword.operator", "=" ],
766
+ [ "string", "\"350\"" ]
767
+ ]
768
+ },
769
+ {
770
+ "state": "tag_embed_attribute_list",
771
+ "data": [
772
+ [ "text", " " ],
773
+ [ "entity.other.attribute-name", "id" ],
774
+ [ "keyword.operator", "=" ],
775
+ [ "string", "\"hickory\"" ]
776
+ ]
777
+ },
778
+ {
779
+ "state": "start",
780
+ "data": [
781
+ [ "text", " " ],
782
+ [ "entity.other.attribute-name", "display" ],
783
+ [ "keyword.operator", "=" ],
784
+ [ "string", "\"none\"" ],
785
+ [ "meta.tag", ">" ]
786
+ ]
787
+ },
788
+ {
789
+ "state": "start",
790
+ "data": [
791
+ [ "text", " Hickory," ],
792
+ [ "meta.tag", "</" ],
793
+ [ "meta.tag.tag-name", "text" ],
794
+ [ "meta.tag", ">" ]
795
+ ]
796
+ },
797
+ {
798
+ "state": "tag_embed_attribute_list",
799
+ "data": [
800
+ [ "text", " " ],
801
+ [ "meta.tag", "<" ],
802
+ [ "meta.tag.tag-name", "text" ]
803
+ ]
804
+ },
805
+ {
806
+ "state": "tag_embed_attribute_list",
807
+ "data": [
808
+ [ "text", " " ],
809
+ [ "entity.other.attribute-name", "style" ],
810
+ [ "keyword.operator", "=" ],
811
+ [ "string", "\"font-size:144px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold\"" ]
812
+ ]
813
+ },
814
+ {
815
+ "state": "tag_embed_attribute_list",
816
+ "data": [
817
+ [ "text", " " ],
818
+ [ "entity.other.attribute-name", "x" ],
819
+ [ "keyword.operator", "=" ],
820
+ [ "string", "\"50\"" ]
821
+ ]
822
+ },
823
+ {
824
+ "state": "tag_embed_attribute_list",
825
+ "data": [
826
+ [ "text", " " ],
827
+ [ "entity.other.attribute-name", "y" ],
828
+ [ "keyword.operator", "=" ],
829
+ [ "string", "\"350\"" ]
830
+ ]
831
+ },
832
+ {
833
+ "state": "tag_embed_attribute_list",
834
+ "data": [
835
+ [ "text", " " ],
836
+ [ "entity.other.attribute-name", "id" ],
837
+ [ "keyword.operator", "=" ],
838
+ [ "string", "\"dickory\"" ]
839
+ ]
840
+ },
841
+ {
842
+ "state": "start",
843
+ "data": [
844
+ [ "text", " " ],
845
+ [ "entity.other.attribute-name", "display" ],
846
+ [ "keyword.operator", "=" ],
847
+ [ "string", "\"none\"" ],
848
+ [ "meta.tag", ">" ]
849
+ ]
850
+ },
851
+ {
852
+ "state": "start",
853
+ "data": [
854
+ [ "text", " dickory," ],
855
+ [ "meta.tag", "</" ],
856
+ [ "meta.tag.tag-name", "text" ],
857
+ [ "meta.tag", ">" ]
858
+ ]
859
+ },
860
+ {
861
+ "state": "tag_embed_attribute_list",
862
+ "data": [
863
+ [ "text", " " ],
864
+ [ "meta.tag", "<" ],
865
+ [ "meta.tag.tag-name", "text" ]
866
+ ]
867
+ },
868
+ {
869
+ "state": "tag_embed_attribute_list",
870
+ "data": [
871
+ [ "text", " " ],
872
+ [ "entity.other.attribute-name", "style" ],
873
+ [ "keyword.operator", "=" ],
874
+ [ "string", "\"font-size:144px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold\"" ]
875
+ ]
876
+ },
877
+ {
878
+ "state": "tag_embed_attribute_list",
879
+ "data": [
880
+ [ "text", " " ],
881
+ [ "entity.other.attribute-name", "x" ],
882
+ [ "keyword.operator", "=" ],
883
+ [ "string", "\"50\"" ]
884
+ ]
885
+ },
886
+ {
887
+ "state": "tag_embed_attribute_list",
888
+ "data": [
889
+ [ "text", " " ],
890
+ [ "entity.other.attribute-name", "y" ],
891
+ [ "keyword.operator", "=" ],
892
+ [ "string", "\"350\"" ]
893
+ ]
894
+ },
895
+ {
896
+ "state": "tag_embed_attribute_list",
897
+ "data": [
898
+ [ "text", " " ],
899
+ [ "entity.other.attribute-name", "id" ],
900
+ [ "keyword.operator", "=" ],
901
+ [ "string", "\"dock\"" ]
902
+ ]
903
+ },
904
+ {
905
+ "state": "start",
906
+ "data": [
907
+ [ "text", " " ],
908
+ [ "entity.other.attribute-name", "display" ],
909
+ [ "keyword.operator", "=" ],
910
+ [ "string", "\"none\"" ],
911
+ [ "meta.tag", ">" ]
912
+ ]
913
+ },
914
+ {
915
+ "state": "start",
916
+ "data": [
917
+ [ "text", " dock!" ],
918
+ [ "meta.tag", "</" ],
919
+ [ "meta.tag.tag-name", "text" ],
920
+ [ "meta.tag", ">" ]
921
+ ]
922
+ },
923
+ {
924
+ "state": "start",
925
+ "data": [
926
+ [ "meta.tag", "</" ],
927
+ [ "meta.tag.tag-name", "svg" ],
928
+ [ "meta.tag", ">" ]
929
+ ]
930
+ }
931
+ ]