gollum 1.3.1 → 1.4.2

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 (688) hide show
  1. data/HISTORY.md +18 -0
  2. data/README.md +36 -11
  3. data/Rakefile +5 -9
  4. data/gollum.gemspec +34 -623
  5. data/lib/gollum.rb +3 -2
  6. data/lib/gollum/committer.rb +7 -6
  7. data/lib/gollum/frontend/app.rb +11 -5
  8. data/lib/gollum/frontend/public/css/gollum.css +12 -16
  9. data/lib/gollum/frontend/public/css/template.css +103 -38
  10. data/lib/gollum/frontend/public/javascript/editor/gollum.editor.js +294 -282
  11. data/lib/gollum/frontend/public/javascript/editor/langs/asciidoc.js +18 -19
  12. data/lib/gollum/frontend/public/javascript/editor/langs/creole.js +20 -19
  13. data/lib/gollum/frontend/public/javascript/editor/langs/markdown.js +33 -33
  14. data/lib/gollum/frontend/public/javascript/editor/langs/org.js +27 -27
  15. data/lib/gollum/frontend/public/javascript/editor/langs/pod.js +15 -15
  16. data/lib/gollum/frontend/public/javascript/editor/langs/rdoc.js +16 -16
  17. data/lib/gollum/frontend/public/javascript/editor/langs/textile.js +17 -17
  18. data/lib/gollum/frontend/public/javascript/gollum.dialog.js +221 -164
  19. data/lib/gollum/frontend/public/javascript/gollum.js +90 -120
  20. data/lib/gollum/frontend/templates/create.mustache +4 -2
  21. data/lib/gollum/frontend/templates/editor.mustache +1 -1
  22. data/lib/gollum/frontend/templates/history.mustache +1 -1
  23. data/lib/gollum/frontend/templates/page.mustache +0 -2
  24. data/lib/gollum/frontend/views/create.rb +7 -3
  25. data/lib/gollum/frontend/views/page.rb +6 -2
  26. data/lib/gollum/frontend/views/pages.rb +2 -2
  27. data/lib/gollum/frontend/views/search.rb +2 -2
  28. data/lib/gollum/git_access.rb +3 -0
  29. data/lib/gollum/markup.rb +74 -71
  30. data/lib/gollum/page.rb +43 -11
  31. data/lib/gollum/pagination.rb +2 -2
  32. data/lib/gollum/sanitization.rb +58 -31
  33. data/lib/gollum/tex.rb +89 -0
  34. data/lib/gollum/web_sequence_diagram.rb +43 -0
  35. data/lib/gollum/wiki.rb +40 -27
  36. data/test/examples/empty.git/HEAD +1 -0
  37. data/test/examples/empty.git/config +5 -0
  38. data/test/examples/empty.git/description +1 -0
  39. data/test/examples/empty.git/hooks/applypatch-msg.sample +15 -0
  40. data/test/examples/empty.git/hooks/commit-msg.sample +24 -0
  41. data/test/examples/empty.git/hooks/post-commit.sample +8 -0
  42. data/test/examples/empty.git/hooks/post-receive.sample +15 -0
  43. data/test/examples/empty.git/hooks/post-update.sample +8 -0
  44. data/test/examples/empty.git/hooks/pre-applypatch.sample +14 -0
  45. data/test/examples/empty.git/hooks/pre-commit.sample +46 -0
  46. data/test/examples/empty.git/hooks/pre-rebase.sample +169 -0
  47. data/test/examples/empty.git/hooks/prepare-commit-msg.sample +36 -0
  48. data/test/examples/empty.git/hooks/update.sample +128 -0
  49. data/test/examples/empty.git/info/exclude +6 -0
  50. data/test/examples/empty.git/objects/info/.gitkeep +0 -0
  51. data/test/examples/empty.git/objects/pack/.gitkeep +0 -0
  52. data/test/examples/empty.git/refs/heads/.gitkeep +0 -0
  53. data/test/examples/lotr.git/COMMIT_EDITMSG +1 -1
  54. data/test/examples/lotr.git/ORIG_HEAD +1 -0
  55. data/test/examples/lotr.git/index +0 -0
  56. data/test/examples/lotr.git/logs/HEAD +1 -0
  57. data/test/examples/lotr.git/logs/refs/heads/master +1 -0
  58. data/test/examples/lotr.git/objects/12/629d666c5e3178f82f533f543d61b53dc78c0b +0 -0
  59. data/test/examples/lotr.git/objects/1d/b89ebba7e2c14d93b94ff98cfa3708a4f0d4e3 +2 -0
  60. data/test/examples/lotr.git/objects/25/4bdc1ba27d8b8a794538a8522d9a2b56ec2dd9 +0 -0
  61. data/test/examples/lotr.git/objects/a6/59b3763b822dd97544621fd0beef162ea37b14 +4 -0
  62. data/test/examples/lotr.git/objects/bc/4b5fc0ce2c2ba3acef6647e4f67256ee45ab60 +0 -0
  63. data/test/examples/lotr.git/objects/f4/84ebb1f40f8eb20d1bcd8d1d71934d2b8ae961 +0 -0
  64. data/test/examples/lotr.git/refs/heads/master +1 -1
  65. data/test/helper.rb +1 -1
  66. data/test/test_app.rb +25 -0
  67. data/test/test_committer.rb +2 -2
  68. data/test/test_file.rb +1 -1
  69. data/test/test_git_access.rb +2 -2
  70. data/test/test_markup.rb +119 -24
  71. data/test/test_page.rb +20 -0
  72. data/test/test_wiki.rb +112 -7
  73. metadata +89 -672
  74. data/lib/gollum/albino.rb +0 -5
  75. data/lib/gollum/frontend/public/javascript/MathJax/MathJax.js +0 -43
  76. data/lib/gollum/frontend/public/javascript/MathJax/config/MMLorHTML.js +0 -18
  77. data/lib/gollum/frontend/public/javascript/MathJax/config/MathJax.js +0 -590
  78. data/lib/gollum/frontend/public/javascript/MathJax/config/local/local.js +0 -37
  79. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.buildinfo +0 -4
  80. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/CSS-styles.doctree +0 -0
  81. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/HTML-snippets.doctree +0 -0
  82. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/ajax.doctree +0 -0
  83. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/callback.doctree +0 -0
  84. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/elementjax.doctree +0 -0
  85. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/html.doctree +0 -0
  86. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/hub.doctree +0 -0
  87. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/index.doctree +0 -0
  88. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/inputjax.doctree +0 -0
  89. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/jax.doctree +0 -0
  90. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/message.doctree +0 -0
  91. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/object.doctree +0 -0
  92. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/outputjax.doctree +0 -0
  93. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/queue.doctree +0 -0
  94. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/signal.doctree +0 -0
  95. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/variable.doctree +0 -0
  96. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/callbacks.doctree +0 -0
  97. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/community.doctree +0 -0
  98. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/configuration.doctree +0 -0
  99. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/dynamic.doctree +0 -0
  100. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/environment.pickle +0 -0
  101. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/glossary.doctree +0 -0
  102. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/index.doctree +0 -0
  103. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/installation.doctree +0 -0
  104. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/jsMath.doctree +0 -0
  105. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/mathjax.doctree +0 -0
  106. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/mathml.doctree +0 -0
  107. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/model.doctree +0 -0
  108. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/FontWarnings.doctree +0 -0
  109. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/HTML-CSS.doctree +0 -0
  110. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MMLorHTML.doctree +0 -0
  111. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MathML.doctree +0 -0
  112. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MathMenu.doctree +0 -0
  113. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MathZoom.doctree +0 -0
  114. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/NativeMML.doctree +0 -0
  115. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/TeX.doctree +0 -0
  116. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/hub.doctree +0 -0
  117. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/jsMath2jax.doctree +0 -0
  118. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/mml2jax.doctree +0 -0
  119. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/tex2jax.doctree +0 -0
  120. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/output.doctree +0 -0
  121. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/platforms/index.doctree +0 -0
  122. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/platforms/movable-type.doctree +0 -0
  123. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/platforms/wordpress.doctree +0 -0
  124. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/queues.doctree +0 -0
  125. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/signals.doctree +0 -0
  126. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/start.doctree +0 -0
  127. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/startup.doctree +0 -0
  128. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/synchronize.doctree +0 -0
  129. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/tex.doctree +0 -0
  130. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/typeset.doctree +0 -0
  131. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/CSS-styles.html +0 -173
  132. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/HTML-snippets.html +0 -170
  133. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/badge.gif +0 -0
  134. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/mt_head.png +0 -0
  135. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/mt_menu.png +0 -0
  136. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/mt_templates.png +0 -0
  137. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/wp_menu.png +0 -0
  138. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/wp_templates.png +0 -0
  139. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/CSS-styles.txt +0 -79
  140. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/HTML-snippets.txt +0 -83
  141. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/ajax.txt +0 -196
  142. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/callback.txt +0 -259
  143. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/elementjax.txt +0 -122
  144. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/html.txt +0 -122
  145. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/hub.txt +0 -330
  146. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/index.txt +0 -44
  147. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/inputjax.txt +0 -86
  148. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/jax.txt +0 -148
  149. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/message.txt +0 -86
  150. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/object.txt +0 -210
  151. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/outputjax.txt +0 -100
  152. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/queue.txt +0 -99
  153. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/signal.txt +0 -154
  154. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/variable.txt +0 -83
  155. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/callbacks.txt +0 -228
  156. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/community.txt +0 -60
  157. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/configuration.txt +0 -375
  158. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/dynamic.txt +0 -181
  159. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/glossary.txt +0 -75
  160. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/index.txt +0 -71
  161. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/installation.txt +0 -184
  162. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/jsMath.txt +0 -31
  163. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/mathjax.txt +0 -36
  164. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/mathml.txt +0 -97
  165. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/model.txt +0 -224
  166. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/FontWarnings.txt +0 -140
  167. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/HTML-CSS.txt +0 -119
  168. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MMLorHTML.txt +0 -42
  169. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MathML.txt +0 -27
  170. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MathMenu.txt +0 -79
  171. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MathZoom.txt +0 -42
  172. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/NativeMML.txt +0 -61
  173. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/TeX.txt +0 -67
  174. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/hub.txt +0 -209
  175. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/jsMath2jax.txt +0 -53
  176. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/mml2jax.txt +0 -53
  177. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/tex2jax.txt +0 -137
  178. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/output.txt +0 -126
  179. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/index.txt +0 -65
  180. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/movable-type.txt +0 -41
  181. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/wordpress.txt +0 -42
  182. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/queues.txt +0 -254
  183. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/signals.txt +0 -161
  184. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/start.txt +0 -314
  185. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/startup.txt +0 -152
  186. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/synchronize.txt +0 -65
  187. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/tex.txt +0 -1090
  188. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/typeset.txt +0 -229
  189. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/basic.css +0 -509
  190. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/doctools.js +0 -247
  191. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/file.png +0 -0
  192. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/jquery.js +0 -154
  193. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/mathjax_mathml.user.js +0 -22
  194. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/mathjax_wikipedia.user.js +0 -35
  195. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/minus.png +0 -0
  196. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/mj.css +0 -223
  197. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/plus.png +0 -0
  198. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/pygments.css +0 -61
  199. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/searchtools.js +0 -505
  200. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/underscore.js +0 -16
  201. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/ajax.html +0 -406
  202. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/callback.html +0 -435
  203. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/elementjax.html +0 -283
  204. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/html.html +0 -292
  205. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/hub.html +0 -674
  206. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/index.html +0 -144
  207. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/inputjax.html +0 -221
  208. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/jax.html +0 -319
  209. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/message.html +0 -224
  210. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/object.html +0 -356
  211. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/outputjax.html +0 -246
  212. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/queue.html +0 -247
  213. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/signal.html +0 -334
  214. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/variable.html +0 -220
  215. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/callbacks.html +0 -305
  216. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/community.html +0 -155
  217. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/configuration.html +0 -434
  218. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/dynamic.html +0 -274
  219. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/genindex.html +0 -295
  220. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/glossary.html +0 -160
  221. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/index.html +0 -177
  222. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/installation.html +0 -262
  223. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/jsMath.html +0 -128
  224. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/mathjax.html +0 -137
  225. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/mathml.html +0 -194
  226. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/model.html +0 -305
  227. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/objects.inv +0 -0
  228. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/FontWarnings.html +0 -264
  229. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/HTML-CSS.html +0 -241
  230. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MMLorHTML.html +0 -143
  231. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MathML.html +0 -132
  232. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MathMenu.html +0 -194
  233. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MathZoom.html +0 -147
  234. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/NativeMML.html +0 -171
  235. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/TeX.html +0 -175
  236. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/hub.html +0 -342
  237. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/jsMath2jax.html +0 -154
  238. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/mml2jax.html +0 -154
  239. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/tex2jax.html +0 -249
  240. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/output.html +0 -218
  241. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/platforms/index.html +0 -168
  242. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/platforms/movable-type.html +0 -145
  243. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/platforms/wordpress.html +0 -146
  244. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/queues.html +0 -334
  245. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/search.html +0 -95
  246. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/searchindex.js +0 -1
  247. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/signals.html +0 -257
  248. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/start.html +0 -374
  249. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/startup.html +0 -239
  250. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/synchronize.html +0 -161
  251. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/tex.html +0 -1152
  252. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/typeset.html +0 -318
  253. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/CSS-styles.rst +0 -79
  254. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/HTML-snippets.rst +0 -83
  255. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/_static/mathjax_mathml.user.js +0 -22
  256. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/_static/mathjax_wikipedia.user.js +0 -35
  257. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/ajax.rst +0 -196
  258. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/callback.rst +0 -259
  259. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/elementjax.rst +0 -122
  260. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/html.rst +0 -122
  261. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/hub.rst +0 -330
  262. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/index.rst +0 -44
  263. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/inputjax.rst +0 -86
  264. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/jax.rst +0 -148
  265. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/message.rst +0 -86
  266. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/object.rst +0 -210
  267. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/outputjax.rst +0 -100
  268. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/queue.rst +0 -99
  269. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/signal.rst +0 -154
  270. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/variable.rst +0 -83
  271. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/callbacks.rst +0 -228
  272. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/community.rst +0 -60
  273. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/conf.py +0 -198
  274. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/configuration.rst +0 -375
  275. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/dynamic.rst +0 -181
  276. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/glossary.rst +0 -75
  277. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/mt_head.png +0 -0
  278. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/mt_menu.png +0 -0
  279. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/mt_templates.png +0 -0
  280. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/wp_menu.png +0 -0
  281. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/wp_templates.png +0 -0
  282. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/index.rst +0 -71
  283. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/installation.rst +0 -184
  284. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/jsMath.rst +0 -31
  285. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mathjax.rst +0 -36
  286. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mathml.rst +0 -97
  287. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mjtheme/static/mj.css_t +0 -256
  288. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mjtheme/theme.conf +0 -30
  289. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/model.rst +0 -224
  290. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/FontWarnings.rst +0 -140
  291. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/HTML-CSS.rst +0 -119
  292. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MMLorHTML.rst +0 -42
  293. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MathML.rst +0 -27
  294. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MathMenu.rst +0 -79
  295. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MathZoom.rst +0 -42
  296. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/NativeMML.rst +0 -61
  297. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/TeX.rst +0 -67
  298. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/hub.rst +0 -209
  299. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/jsMath2jax.rst +0 -53
  300. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/mml2jax.rst +0 -53
  301. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/tex2jax.rst +0 -137
  302. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/output.rst +0 -126
  303. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/index.rst +0 -65
  304. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/movable-type.rst +0 -41
  305. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/wordpress.rst +0 -42
  306. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/queues.rst +0 -254
  307. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/signals.rst +0 -161
  308. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/start.rst +0 -314
  309. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/startup.rst +0 -152
  310. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/synchronize.rst +0 -65
  311. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/tex.rst +0 -1090
  312. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/typeset.rst +0 -229
  313. data/lib/gollum/frontend/public/javascript/MathJax/extensions/FontWarnings.js +0 -18
  314. data/lib/gollum/frontend/public/javascript/MathJax/extensions/MathMenu.js +0 -18
  315. data/lib/gollum/frontend/public/javascript/MathJax/extensions/MathZoom.js +0 -18
  316. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSmath.js +0 -18
  317. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSsymbols.js +0 -18
  318. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/autobold.js +0 -18
  319. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/boldsymbol.js +0 -18
  320. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/mathchoice.js +0 -18
  321. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/newcommand.js +0 -18
  322. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noErrors.js +0 -18
  323. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noUndefined.js +0 -18
  324. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/unicode.js +0 -18
  325. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/verb.js +0 -18
  326. data/lib/gollum/frontend/public/javascript/MathJax/extensions/jsMath2jax.js +0 -18
  327. data/lib/gollum/frontend/public/javascript/MathJax/extensions/mml2jax.js +0 -18
  328. data/lib/gollum/frontend/public/javascript/MathJax/extensions/tex2jax.js +0 -18
  329. data/lib/gollum/frontend/public/javascript/MathJax/extensions/toMathML.js +0 -18
  330. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/jax.js +0 -19
  331. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Arrows.js +0 -18
  332. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/BasicLatin.js +0 -18
  333. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiacritMarks.js +0 -18
  334. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiactForSymbols.js +0 -18
  335. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Dingbats.js +0 -18
  336. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeneralPunctuation.js +0 -18
  337. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeometricShapes.js +0 -18
  338. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GreekAndCoptic.js +0 -18
  339. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Latin1Supplement.js +0 -18
  340. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/LetterlikeSymbols.js +0 -18
  341. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MathOperators.js +0 -18
  342. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js +0 -18
  343. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js +0 -18
  344. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscTechnical.js +0 -18
  345. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SpacingModLetters.js +0 -18
  346. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SuppMathOperators.js +0 -18
  347. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SupplementalArrowsB.js +0 -18
  348. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/config.js +0 -18
  349. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/a.js +0 -18
  350. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/b.js +0 -18
  351. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/c.js +0 -18
  352. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/d.js +0 -18
  353. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/e.js +0 -18
  354. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/f.js +0 -18
  355. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/fr.js +0 -18
  356. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/g.js +0 -18
  357. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/h.js +0 -18
  358. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/i.js +0 -18
  359. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/j.js +0 -18
  360. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/k.js +0 -18
  361. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/l.js +0 -18
  362. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/m.js +0 -18
  363. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/n.js +0 -18
  364. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/o.js +0 -18
  365. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/opf.js +0 -18
  366. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/p.js +0 -18
  367. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/q.js +0 -18
  368. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/r.js +0 -18
  369. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/s.js +0 -18
  370. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/scr.js +0 -18
  371. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/t.js +0 -18
  372. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/u.js +0 -18
  373. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/v.js +0 -18
  374. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/w.js +0 -18
  375. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/x.js +0 -18
  376. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/y.js +0 -18
  377. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/z.js +0 -18
  378. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/jax.js +0 -18
  379. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/config.js +0 -18
  380. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/jax.js +0 -19
  381. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/maction.js +0 -18
  382. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/menclose.js +0 -18
  383. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mglyph.js +0 -18
  384. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mmultiscripts.js +0 -18
  385. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/ms.js +0 -18
  386. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mtable.js +0 -18
  387. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/multiline.js +0 -18
  388. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/config.js +0 -18
  389. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js +0 -18
  390. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js +0 -18
  391. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js +0 -18
  392. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js +0 -18
  393. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js +0 -18
  394. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js +0 -18
  395. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js +0 -18
  396. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js +0 -18
  397. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js +0 -18
  398. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js +0 -18
  399. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js +0 -18
  400. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js +0 -18
  401. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js +0 -18
  402. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js +0 -18
  403. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js +0 -18
  404. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js +0 -18
  405. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js +0 -18
  406. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js +0 -18
  407. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js +0 -18
  408. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js +0 -18
  409. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js +0 -18
  410. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js +0 -18
  411. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js +0 -18
  412. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js +0 -18
  413. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js +0 -18
  414. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js +0 -18
  415. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js +0 -18
  416. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js +0 -18
  417. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js +0 -18
  418. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js +0 -18
  419. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js +0 -18
  420. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js +0 -18
  421. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js +0 -18
  422. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js +0 -18
  423. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js +0 -18
  424. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js +0 -18
  425. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js +0 -18
  426. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js +0 -18
  427. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js +0 -18
  428. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js +0 -18
  429. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js +0 -18
  430. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js +0 -18
  431. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js +0 -18
  432. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js +0 -18
  433. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js +0 -18
  434. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js +0 -18
  435. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js +0 -18
  436. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js +0 -18
  437. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js +0 -18
  438. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js +0 -18
  439. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js +0 -18
  440. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js +0 -18
  441. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js +0 -18
  442. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js +0 -18
  443. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js +0 -18
  444. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js +0 -18
  445. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js +0 -18
  446. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js +0 -18
  447. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js +0 -18
  448. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js +0 -18
  449. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js +0 -18
  450. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js +0 -18
  451. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js +0 -18
  452. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js +0 -18
  453. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js +0 -18
  454. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js +0 -18
  455. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js +0 -18
  456. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js +0 -18
  457. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js +0 -18
  458. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js +0 -18
  459. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js +0 -18
  460. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js +0 -18
  461. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js +0 -18
  462. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js +0 -18
  463. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js +0 -18
  464. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js +0 -18
  465. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js +0 -18
  466. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js +0 -18
  467. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js +0 -18
  468. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js +0 -18
  469. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js +0 -18
  470. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js +0 -18
  471. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js +0 -18
  472. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js +0 -18
  473. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js +0 -18
  474. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js +0 -18
  475. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js +0 -18
  476. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js +0 -18
  477. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js +0 -18
  478. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js +0 -18
  479. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js +0 -18
  480. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js +0 -18
  481. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js +0 -18
  482. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js +0 -18
  483. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js +0 -18
  484. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js +0 -18
  485. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js +0 -18
  486. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js +0 -18
  487. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js +0 -18
  488. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js +0 -18
  489. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js +0 -18
  490. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js +0 -18
  491. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js +0 -18
  492. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js +0 -18
  493. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js +0 -18
  494. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js +0 -18
  495. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js +0 -18
  496. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js +0 -18
  497. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js +0 -18
  498. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js +0 -18
  499. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js +0 -18
  500. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js +0 -18
  501. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js +0 -18
  502. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js +0 -18
  503. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js +0 -18
  504. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js +0 -18
  505. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js +0 -18
  506. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js +0 -18
  507. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js +0 -18
  508. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js +0 -18
  509. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js +0 -18
  510. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js +0 -18
  511. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js +0 -18
  512. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js +0 -18
  513. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js +0 -18
  514. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js +0 -18
  515. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js +0 -18
  516. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js +0 -18
  517. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js +0 -18
  518. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js +0 -18
  519. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js +0 -18
  520. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js +0 -18
  521. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js +0 -18
  522. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js +0 -18
  523. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js +0 -18
  524. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js +0 -18
  525. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js +0 -18
  526. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js +0 -18
  527. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js +0 -18
  528. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js +0 -18
  529. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js +0 -18
  530. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js +0 -18
  531. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js +0 -18
  532. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js +0 -18
  533. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js +0 -18
  534. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js +0 -18
  535. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js +0 -18
  536. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js +0 -18
  537. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js +0 -18
  538. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js +0 -18
  539. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js +0 -18
  540. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js +0 -18
  541. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js +0 -18
  542. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js +0 -18
  543. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js +0 -18
  544. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js +0 -18
  545. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js +0 -18
  546. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js +0 -18
  547. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js +0 -18
  548. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js +0 -18
  549. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js +0 -18
  550. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js +0 -18
  551. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js +0 -18
  552. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js +0 -18
  553. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js +0 -18
  554. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js +0 -18
  555. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js +0 -18
  556. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js +0 -18
  557. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js +0 -18
  558. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js +0 -18
  559. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js +0 -18
  560. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js +0 -18
  561. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js +0 -18
  562. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js +0 -18
  563. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js +0 -18
  564. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js +0 -18
  565. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js +0 -18
  566. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js +0 -18
  567. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js +0 -18
  568. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js +0 -18
  569. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js +0 -18
  570. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js +0 -18
  571. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js +0 -18
  572. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js +0 -19
  573. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js +0 -18
  574. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js +0 -18
  575. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js +0 -18
  576. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js +0 -18
  577. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js +0 -18
  578. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js +0 -18
  579. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js +0 -18
  580. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js +0 -18
  581. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js +0 -18
  582. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js +0 -18
  583. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js +0 -18
  584. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js +0 -18
  585. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js +0 -18
  586. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js +0 -18
  587. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js +0 -18
  588. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js +0 -18
  589. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js +0 -18
  590. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js +0 -18
  591. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js +0 -18
  592. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js +0 -18
  593. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js +0 -18
  594. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js +0 -18
  595. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js +0 -18
  596. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js +0 -18
  597. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js +0 -18
  598. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js +0 -18
  599. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js +0 -18
  600. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js +0 -18
  601. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js +0 -18
  602. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js +0 -18
  603. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js +0 -18
  604. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js +0 -18
  605. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js +0 -18
  606. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js +0 -18
  607. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js +0 -18
  608. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js +0 -18
  609. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js +0 -18
  610. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GreekAndCoptic.js +0 -18
  611. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js +0 -18
  612. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js +0 -18
  613. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js +0 -18
  614. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js +0 -18
  615. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js +0 -18
  616. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js +0 -18
  617. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js +0 -18
  618. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js +0 -18
  619. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js +0 -18
  620. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js +0 -18
  621. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js +0 -18
  622. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js +0 -18
  623. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js +0 -18
  624. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js +0 -18
  625. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GreekAndCoptic.js +0 -18
  626. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js +0 -18
  627. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedA.js +0 -18
  628. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedB.js +0 -18
  629. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js +0 -18
  630. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js +0 -18
  631. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Arrows.js +0 -18
  632. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js +0 -18
  633. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiactForSymbols.js +0 -18
  634. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeneralPunctuation.js +0 -18
  635. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js +0 -18
  636. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GreekAndCoptic.js +0 -18
  637. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Latin1Supplement.js +0 -18
  638. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedA.js +0 -18
  639. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedB.js +0 -18
  640. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LetterlikeSymbols.js +0 -18
  641. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js +0 -18
  642. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MathOperators.js +0 -18
  643. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscMathSymbolsA.js +0 -18
  644. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js +0 -18
  645. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscTechnical.js +0 -18
  646. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SuppMathOperators.js +0 -18
  647. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SupplementalArrowsA.js +0 -18
  648. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js +0 -18
  649. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js +0 -18
  650. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js +0 -18
  651. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js +0 -18
  652. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js +0 -18
  653. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js +0 -18
  654. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js +0 -18
  655. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js +0 -18
  656. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js +0 -18
  657. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js +0 -18
  658. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js +0 -18
  659. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js +0 -18
  660. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js +0 -18
  661. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js +0 -18
  662. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js +0 -18
  663. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js +0 -18
  664. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js +0 -18
  665. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js +0 -18
  666. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js +0 -18
  667. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js +0 -18
  668. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js +0 -18
  669. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js +0 -18
  670. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js +0 -18
  671. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js +0 -18
  672. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js +0 -18
  673. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js +0 -18
  674. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js +0 -18
  675. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js +0 -18
  676. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js +0 -19
  677. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/imageFonts.js +0 -18
  678. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/jax.js +0 -19
  679. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/config.js +0 -18
  680. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/jax.js +0 -18
  681. data/lib/gollum/frontend/public/javascript/MathJax/test/index-images.html +0 -127
  682. data/lib/gollum/frontend/public/javascript/MathJax/test/index.html +0 -177
  683. data/lib/gollum/frontend/public/javascript/MathJax/test/sample-dynamic.html +0 -54
  684. data/lib/gollum/frontend/public/javascript/MathJax/test/sample-mml.html +0 -44
  685. data/lib/gollum/frontend/public/javascript/MathJax/test/sample-signals.html +0 -121
  686. data/lib/gollum/frontend/public/javascript/MathJax/test/sample-tex.html +0 -22
  687. data/lib/gollum/frontend/public/javascript/MathJax/test/sample-tex2mml.html +0 -23
  688. data/lib/gollum/frontend/public/javascript/MathJax/test/sample.html +0 -99
data/lib/gollum.rb CHANGED
@@ -16,11 +16,12 @@ require File.expand_path('../gollum/wiki', __FILE__)
16
16
  require File.expand_path('../gollum/page', __FILE__)
17
17
  require File.expand_path('../gollum/file', __FILE__)
18
18
  require File.expand_path('../gollum/markup', __FILE__)
19
- require File.expand_path('../gollum/albino', __FILE__)
20
19
  require File.expand_path('../gollum/sanitization', __FILE__)
20
+ require File.expand_path('../gollum/tex', __FILE__)
21
+ require File.expand_path('../gollum/web_sequence_diagram', __FILE__)
21
22
 
22
23
  module Gollum
23
- VERSION = '1.3.1'
24
+ VERSION = '1.4.2'
24
25
 
25
26
  class Error < StandardError; end
26
27
 
@@ -1,7 +1,7 @@
1
1
  module Gollum
2
- # Responsible for handling the commit process for a Wiki. It sets up the
2
+ # Responsible for handling the commit process for a Wiki. It sets up the
3
3
  # Git index, provides methods for modifying the tree, and stores callbacks
4
- # to be fired after the commit has been made. This is specifically
4
+ # to be fired after the commit has been made. This is specifically
5
5
  # designed to handle multiple updated pages in a single commit.
6
6
  class Committer
7
7
  # Gets the instance of the Gollum::Wiki that is being updated.
@@ -21,7 +21,7 @@ module Gollum
21
21
  # :tree - Optional String SHA of the tree to create the
22
22
  # index from.
23
23
  # :committer - Optional Gollum::Committer instance. If provided,
24
- # assume that this operation is part of batch of
24
+ # assume that this operation is part of batch of
25
25
  # updates and the commit happens later.
26
26
  #
27
27
  # Returns the Committer instance.
@@ -73,7 +73,7 @@ module Gollum
73
73
  #
74
74
  # dir - The String subdirectory of the Gollum::Page without any
75
75
  # prefix or suffix slashes (e.g. "foo/bar").
76
- # name - The String Gollum::Page name.
76
+ # name - The String Gollum::Page filename_stripped.
77
77
  # format - The Symbol Gollum::Page format.
78
78
  # data - The String wiki data to store in the tree map.
79
79
  # allow_same_ext - A Boolean determining if the tree map allows the same
@@ -111,7 +111,8 @@ module Gollum
111
111
  # is a working directory present.
112
112
  #
113
113
  # dir - The String directory in which the file lives.
114
- # name - The String name of the page (may be in human format).
114
+ # name - The String name of the page or the stripped filename
115
+ # (should be pre-canonicalized if required).
115
116
  # format - The Symbol format of the page.
116
117
  #
117
118
  # Returns nothing.
@@ -151,7 +152,7 @@ module Gollum
151
152
 
152
153
  # Adds a callback to be fired after a commit.
153
154
  #
154
- # block - A block that expects this Committer instance and the created
155
+ # block - A block that expects this Committer instance and the created
155
156
  # commit's SHA1 as the arguments.
156
157
  #
157
158
  # Returns nothing.
@@ -13,9 +13,9 @@ module Precious
13
13
  dir = File.dirname(File.expand_path(__FILE__))
14
14
 
15
15
  # We want to serve public assets for now
16
-
17
- set :public, "#{dir}/public"
18
- set :static, true
16
+ set :public_folder, "#{dir}/public"
17
+ set :static, true
18
+ set :default_markup, :markdown
19
19
 
20
20
  set :mustache, {
21
21
  # Tell mustache where the Views constant lives
@@ -78,7 +78,7 @@ module Precious
78
78
 
79
79
  begin
80
80
  wiki.write_page(name, format, params[:content], commit_message)
81
- redirect "/#{CGI.escape(name)}"
81
+ redirect "/#{CGI.escape(Gollum::Page.cname(name))}"
82
82
  rescue Gollum::DuplicatePageError => e
83
83
  @message = "Duplicate page: #{e.message}"
84
84
  mustache :error
@@ -145,6 +145,12 @@ module Precious
145
145
  mustache :compare
146
146
  end
147
147
 
148
+ get '/_tex.png' do
149
+ content_type 'image/png'
150
+ formula = Base64.decode64(params[:data])
151
+ Gollum::Tex.render_formula(formula)
152
+ end
153
+
148
154
  get %r{^/(javascript|css|images)} do
149
155
  halt 404
150
156
  end
@@ -200,7 +206,7 @@ module Precious
200
206
  end
201
207
 
202
208
  def update_wiki_page(wiki, page, content, commit_message, name = nil, format = nil)
203
- return if !page ||
209
+ return if !page ||
204
210
  ((!content || page.raw_data == content) && page.format == format)
205
211
  name ||= page.name
206
212
  format = (format || page.format).to_sym
@@ -1,3 +1,10 @@
1
+ #wiki-wrapper #template blockquote {
2
+ margin: 1em 0;
3
+ border-left: 4px solid #ddd;
4
+ padding-left: .8em;
5
+ color: #555;
6
+ }
7
+
1
8
  /*
2
9
  gollum.css
3
10
  A basic stylesheet for Gollum
@@ -6,7 +13,7 @@
6
13
  /* @section core */
7
14
  body, html {
8
15
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
9
- font-size: 10px; /* -> 1em */
16
+ font-size: 10px;
10
17
  margin: 0;
11
18
  padding: 0;
12
19
  }
@@ -30,18 +37,13 @@ a:hover, a:visited {
30
37
 
31
38
  /* @section head */
32
39
  #head {
33
- border-bottom: 1px solid #ccc;
34
40
  margin: 4.5em 0 0.5em;
35
41
  padding: 0.5em 0;
36
42
  overflow: hidden;
37
43
  }
38
44
 
39
45
  #head h1 {
40
- font-size: 3.3em;
41
- float: left;
42
- line-height: normal;
43
- margin: 0;
44
- padding: 0.08em 0 0 0;
46
+ display: none;
45
47
  }
46
48
 
47
49
  #head ul.actions {
@@ -206,12 +208,11 @@ a:hover, a:visited {
206
208
 
207
209
  /* @section page-footer */
208
210
  .page #footer {
209
- border-top: 1px solid #ccc;
210
211
  margin: 1em 0 7em;
211
212
  }
212
213
 
213
214
  #footer p#last-edit {
214
- font-size: 1.2em;
215
+ font-size: .9em;
215
216
  line-height: 1.6em;
216
217
  color: #999;
217
218
  margin: 0.9em 0;
@@ -647,18 +648,13 @@ ul.actions {
647
648
  text-indent: -5000px;
648
649
  width: 28px;
649
650
  }
650
-
651
+
651
652
  .ff #head #searchbar #searchbar-fauxtext #search-submit span,
652
653
  .ie #head #searchbar #searchbar-fauxtext #search-submit span {
653
654
  height: 2.2em;
654
655
  }
655
-
656
+
656
657
  #head #searchbar #searchbar-fauxtext #search-submit:hover span {
657
658
  background-position: -431px -28px;
658
659
  padding: 0;
659
660
  }
660
-
661
-
662
- #MathJax_Message {
663
- display: none;
664
- }
@@ -2,9 +2,29 @@
2
2
  Gollum v3 Template
3
3
  */
4
4
 
5
+ /* margin & padding reset*/
6
+ * {
7
+ margin: 0;
8
+ padding: 0;
9
+ }
10
+
11
+
12
+ html, body {
13
+ color: black;
14
+ }
15
+
16
+ body {
17
+ font: 13.34px helvetica,arial,freesans,clean,sans-serif;
18
+ line-height: 1.4;
19
+ }
20
+
21
+ img {
22
+ border: 0;
23
+ }
24
+
5
25
  #template {
6
- font-size: 13px;
7
- line-height: 23px;
26
+ font-size: 14px;
27
+ line-height: 1.4;
8
28
  margin-bottom: 40px;
9
29
  }
10
30
 
@@ -15,7 +35,7 @@ a.absent {
15
35
 
16
36
  /* Primary Body Copy */
17
37
  #template p {
18
- margin: 16px 0 0;
38
+ margin: 1em 0;
19
39
  padding: 0;
20
40
  }
21
41
 
@@ -32,15 +52,14 @@ a.absent {
32
52
  }
33
53
 
34
54
  #template h1 {
35
- border-top: 4px solid #ccc;
36
- font-size: 32px;
55
+ border-bottom: 1px solid #ccc;
56
+ font-size: 33px; /* was 32, GH is 33px */
37
57
  line-height: normal;
38
- padding: 10px 0 0;
39
- margin: 30px 0 0;
58
+ padding: .08em 0 0 0;
59
+ margin: 0;
40
60
  }
41
61
 
42
62
  #template h2 {
43
- border-top: 4px solid #ccc;
44
63
  font-size: 22px;
45
64
  line-height: normal;
46
65
  margin: 22px 0 0;
@@ -91,7 +110,6 @@ a.absent {
91
110
  /* Border Reset for headers with horizontal rules */
92
111
  #template > h2:first-child,
93
112
  #template > h1:first-child {
94
- border: 0;
95
113
  margin: 12px 0 0;
96
114
  padding: 10px 0 0;
97
115
  }
@@ -100,19 +118,21 @@ a.absent {
100
118
  /* Lists, Blockquotes & Such */
101
119
  #template ul,
102
120
  #template ol {
103
- margin: 0;
104
- padding: 20px 0 0;
105
- list-style-position: inside;
121
+ margin-top: 1.5em;
122
+ margin-left: 2.6em;
106
123
  }
107
124
 
108
125
  /* Nested Lists */
126
+ #template ul li,
127
+ #template ol li,
109
128
  #template ul li ul,
110
129
  #template ol li ol,
111
130
  #template ul li ol,
112
131
  #template ol li ul,
113
132
  #template ul ul,
114
133
  #template ol ol {
115
- padding: 0 0 0 14px;
134
+ padding: 0;
135
+ margin: .5em 0;
116
136
  }
117
137
 
118
138
  #template dl {
@@ -266,7 +286,7 @@ a.absent {
266
286
  background-color: #f8f8f8;
267
287
  border: 1px solid #dedede;
268
288
  font-size: 13px;
269
- padding: 1px 5px;
289
+ padding: 0;
270
290
 
271
291
  -moz-border-radius: 3px;
272
292
  -webkit-border-radius: 3px;
@@ -279,38 +299,83 @@ a.absent {
279
299
  font-size: 13px;
280
300
  line-height: 19px;
281
301
  overflow: auto;
282
- padding: 6px;
302
+ padding: 6px 10px;
283
303
 
284
304
  -moz-border-radius: 3px;
285
305
  -webkit-border-radius: 3px;
286
306
  border-radius: 3px;
287
307
  }
288
308
 
309
+ pre, code {
310
+ font: 12px 'Bitstream Vera Sans Mono','Courier',monospace
311
+ }
312
+
289
313
  #template pre code, #template pre tt {
290
314
  background-color: transparent;
291
315
  border: none;
292
316
  }
293
317
 
294
- #template .highlight { background: #ffffff; }
295
- #template .highlight .c { color: #999988; font-style: italic }
296
- #template .highlight .err { color: #a61717; background-color: #e3d2d2 }
297
- #template .highlight .k { font-weight: bold }
298
- #template .highlight .o { font-weight: bold }
299
- #template .highlight .cm { color: #999988; font-style: italic }
300
- #template .highlight .cp { color: #999999; font-weight: bold }
301
- #template .highlight .c1 { color: #999988; font-style: italic }
302
- #template .highlight .cs { color: #999999; font-weight: bold; font-style: italic }
303
- #template .highlight .gd { color: #000000; background-color: #ffdddd }
304
- #template .highlight .gd .x { color: #000000; background-color: #ffaaaa }
305
- #template .highlight .ge { font-style: italic }
306
- #template .highlight .gr { color: #aa0000 }
307
- #template .highlight .gh { color: #999999 }
308
- #template .highlight .gi { color: #000000; background-color: #ddffdd }
309
- #template .highlight .gi .x { color: #000000; background-color: #aaffaa }
310
- #template .highlight .gc { color: #999; background-color: #EAF2F5 }
311
- #template .highlight .go { color: #888888 }
312
- #template .highlight .gp { color: #555555 }
313
- #template .highlight .gs { font-weight: bold }
314
- #template .highlight .gu { color: #aaaaaa }
315
- #template .highlight .gt { color: #aa0000 }
316
-
318
+ /*
319
+ Highlight rules from pull req 191
320
+ https://github.com/eboto/gollum/commit/5df09477abf4a04c82c7fcaa2bd7ee2a85e7ec82
321
+ */
322
+ #template .highlight { background:#fff; }
323
+ #template .highlight .c { color:#998;font-style:italic; }
324
+ #template .highlight .err { color:#a61717;background-color:#e3d2d2; }
325
+ #template .highlight .k { font-weight:bold; }
326
+ #template .highlight .o { font-weight:bold; }
327
+ #template .highlight .cm { color:#998;font-style:italic; }
328
+ #template .highlight .cp { color:#999;font-weight:bold; }
329
+ #template .highlight .c1 { color:#998;font-style:italic; }
330
+ #template .highlight .cs { color:#999;font-weight:bold;font-style:italic; }
331
+ #template .highlight .gd { color:#000;background-color:#fdd; }
332
+ #template .highlight .gd .x { color:#000;background-color:#faa; }
333
+ #template .highlight .ge { font-style:italic; }
334
+ #template .highlight .gr { color:#a00; }
335
+ #template .highlight .gh { color:#999; }
336
+ #template .highlight .gi { color:#000;background-color:#dfd; }
337
+ #template .highlight .gi .x { color:#000;background-color:#afa; }
338
+ #template .highlight .go { color:#888; }
339
+ #template .highlight .gp { color:#555; }
340
+ #template .highlight .gs { font-weight:bold; }
341
+ #template .highlight .gu { color:#800080;font-weight:bold; }
342
+ #template .highlight .gt { color:#a00; }
343
+ #template .highlight .kc { font-weight:bold; }
344
+ #template .highlight .kd { font-weight:bold; }
345
+ #template .highlight .kp { font-weight:bold; }
346
+ #template .highlight .kr { font-weight:bold; }
347
+ #template .highlight .kt { color:#458;font-weight:bold; }
348
+ #template .highlight .m { color:#099; }
349
+ #template .highlight .s { color:#d14; }
350
+ #template .highlight .na { color:#008080; }
351
+ #template .highlight .nb { color:#0086B3; }
352
+ #template .highlight .nc { color:#458;font-weight:bold; }
353
+ #template .highlight .no { color:#008080; }
354
+ #template .highlight .ni { color:#800080; }
355
+ #template .highlight .ne { color:#900;font-weight:bold; }
356
+ #template .highlight .nf { color:#900;font-weight:bold; }
357
+ #template .highlight .nn { color:#555; }
358
+ #template .highlight .nt { color:#000080; }
359
+ #template .highlight .nv { color:#008080; }
360
+ #template .highlight .ow { font-weight:bold; }
361
+ #template .highlight .w { color:#bbb; }
362
+ #template .highlight .mf { color:#099; }
363
+ #template .highlight .mh { color:#099; }
364
+ #template .highlight .mi { color:#099; }
365
+ #template .highlight .mo { color:#099; }
366
+ #template .highlight .sb { color:#d14; }
367
+ #template .highlight .sc { color:#d14; }
368
+ #template .highlight .sd { color:#d14; }
369
+ #template .highlight .s2 { color:#d14; }
370
+ #template .highlight .se { color:#d14; }
371
+ #template .highlight .sh { color:#d14; }
372
+ #template .highlight .si { color:#d14; }
373
+ #template .highlight .sx { color:#d14; }
374
+ #template .highlight .sr { color:#009926; }
375
+ #template .highlight .s1 { color:#d14; }
376
+ #template .highlight .ss { color:#990073; }
377
+ #template .highlight .bp { color:#999; }
378
+ #template .highlight .vc { color:#008080; }
379
+ #template .highlight .vg { color:#008080; }
380
+ #template .highlight .vi { color:#008080; }
381
+ #template .highlight .il { color:#099; }
@@ -62,7 +62,7 @@
62
62
  // get form fields
63
63
  var oldAction = $('#gollum-editor form').attr('action');
64
64
  var $form = $($('#gollum-editor form').get(0));
65
- $form.attr('action', '/preview');
65
+ $form.attr('action', this.href || '/preview');
66
66
  $form.attr('target', '_blank');
67
67
  $form.submit();
68
68
 
@@ -154,7 +154,13 @@
154
154
  define: function( name, definitionObject ) {
155
155
  LanguageDefinition._ACTIVE_LANG = name;
156
156
  LanguageDefinition._LOADED_LANGS.push( name );
157
- LanguageDefinition._LANG[name] = definitionObject;
157
+ if ( typeof $.GollumEditor.WikiLanguage == 'object' ) {
158
+ var definition = {};
159
+ $.extend(definition, $.GollumEditor.WikiLanguage, definitionObject);
160
+ LanguageDefinition._LANG[name] = definition;
161
+ } else {
162
+ LanguageDefinition._LANG[name] = definitionObject;
163
+ }
158
164
  },
159
165
 
160
166
  getActiveLanguage: function() {
@@ -162,6 +168,9 @@
162
168
  },
163
169
 
164
170
  setActiveLanguage: function( name ) {
171
+ if(LanguageDefinition.getHookFunctionFor("deactivate")) {
172
+ LanguageDefinition.getHookFunctionFor("deactivate")();
173
+ }
165
174
  if ( !LanguageDefinition.isLoadedFor(name) ) {
166
175
  LanguageDefinition._ACTIVE_LANG = null;
167
176
  LanguageDefinition.loadFor( name, function(x, t) {
@@ -180,13 +189,33 @@
180
189
  FormatSelector.updateSelected();
181
190
  }
182
191
 
192
+ if(LanguageDefinition.getHookFunctionFor("activate")) {
193
+ LanguageDefinition.getHookFunctionFor("activate")();
194
+ }
183
195
  } );
184
196
  } else {
185
197
  LanguageDefinition._ACTIVE_LANG = name;
186
198
  FunctionBar.refresh();
199
+
200
+ if(LanguageDefinition.getHookFunctionFor("activate")) {
201
+ LanguageDefinition.getHookFunctionFor("activate")();
202
+ }
187
203
  }
188
204
  },
189
205
 
206
+ getHookFunctionFor: function(attr, specified_lang) {
207
+ if ( !specified_lang ) {
208
+ specified_lang = LanguageDefinition._ACTIVE_LANG;
209
+ }
210
+
211
+ if ( LanguageDefinition.isLoadedFor(specified_lang) &&
212
+ LanguageDefinition._LANG[specified_lang][attr] &&
213
+ typeof LanguageDefinition._LANG[specified_lang][attr] == 'function' ) {
214
+ return LanguageDefinition._LANG[specified_lang][attr];
215
+ }
216
+
217
+ return null;
218
+ },
190
219
 
191
220
  /**
192
221
  * gets a definition object for a specified attribute
@@ -368,17 +397,6 @@
368
397
  },
369
398
 
370
399
 
371
- /**
372
- * EditorHas.mathJax
373
- * True if the editor has MathJax enabled and running, false otherwise.
374
- *
375
- * @return boolean
376
- */
377
- mathJax: function() {
378
- return (typeof window.MathJax == 'object');
379
- },
380
-
381
-
382
400
  /**
383
401
  * EditorHas.previewButton
384
402
  * True if the editor has a preview button, false otherwise.
@@ -776,226 +794,216 @@
776
794
  var Help = {
777
795
 
778
796
  _ACTIVE_HELP: '',
779
- _LOADED_HELP_LANGS: [],
780
- _HELP: {},
797
+ _LOADED_HELP_LANGS: [],
798
+ _HELP: {},
781
799
 
800
+ /**
801
+ * Help.define
802
+ *
803
+ * Defines a new help context and enables the help function if it
804
+ * exists in the Gollum Function Bar.
805
+ *
806
+ * @param string name The name you're giving to this help context.
807
+ * Generally, this should match the language name.
808
+ * @param object definitionObject The definition object being loaded from a
809
+ * language / help definition file.
810
+ * @return void
811
+ */
812
+ define: function( name, definitionObject ) {
813
+ if ( Help.isValidHelpFormat( definitionObject ) ) {
814
+ debug('help is a valid format');
782
815
 
783
- /**
784
- * Help.define
785
- *
786
- * Defines a new help context and enables the help function if it
787
- * exists in the Gollum Function Bar.
788
- *
789
- * @param string name The name you're giving to this help context.
790
- * Generally, this should match the language name.
791
- * @param object definitionObject The definition object being loaded from a
792
- * language / help definition file.
793
- * @return void
794
- */
795
- define: function( name, definitionObject ) {
796
- if ( Help.isValidHelpFormat( definitionObject ) ) {
797
- debug('help is a valid format');
798
-
799
- Help._ACTIVE_HELP_LANG = name;
800
- Help._LOADED_HELP_LANGS.push( name );
801
- Help._HELP[name] = definitionObject;
802
-
803
- if ( $("#function-help").length ) {
804
- if ( $('#function-help').hasClass('disabled') ) {
805
- $('#function-help').removeClass('disabled');
806
- }
807
- $('#function-help').unbind('click');
808
- $('#function-help').click( Help.evtHelpButtonClick );
809
-
810
- // generate help menus
811
- Help.generateHelpMenuFor( name );
812
- }
813
- } else {
814
- if ( $('#function-help').length ) {
815
- $('#function-help').addClass('disabled');
816
- }
817
- }
818
- },
816
+ Help._ACTIVE_HELP_LANG = name;
817
+ Help._LOADED_HELP_LANGS.push( name );
818
+ Help._HELP[name] = definitionObject;
819
819
 
820
+ if ( $("#function-help").length ) {
821
+ if ( $('#function-help').hasClass('disabled') ) {
822
+ $('#function-help').removeClass('disabled');
823
+ }
824
+ $('#function-help').unbind('click');
825
+ $('#function-help').click( Help.evtHelpButtonClick );
820
826
 
821
- /**
822
- * Help.generateHelpMenuFor
823
- * Generates the markup for the main help menu given a context name.
824
- *
825
- * @param string name The context name.
826
- * @return void
827
- */
828
- generateHelpMenuFor: function( name ) {
829
- if ( !Help._HELP[name] ) {
830
- debug('Help is not defined for ' + name.toString());
831
- return false;
832
- }
833
- var helpData = Help._HELP[name];
834
-
835
- if ( EditorHas.mathJax() && Help.isLoadedFor('mathjax') ) {
836
- debug('Adding MathJax support to help');
837
- // TODO
838
- }
839
-
840
- // clear this shiz out
841
- $('#gollum-editor-help-parent').html('');
842
- $('#gollum-editor-help-list').html('');
843
- $('#gollum-editor-help-content').html('');
844
-
845
- // go go inefficient algorithm
846
- for ( var i=0; i < helpData.length; i++ ) {
847
- if ( typeof helpData[i] != 'object' ) {
848
- break;
849
- }
827
+ // generate help menus
828
+ Help.generateHelpMenuFor( name );
850
829
 
851
- var $newLi = $('<li><a href="#" rel="' + i + '">' +
852
- helpData[i].menuName + '</a></li>');
853
- $('#gollum-editor-help-parent').append( $newLi );
854
- if ( i === 0 ) {
855
- // select on first run
856
- $newLi.children('a').addClass('selected');
857
- }
858
- $newLi.children('a').click( Help.evtParentMenuClick );
859
- }
830
+ if ( $('#gollum-editor-help').length &&
831
+ typeof $('#gollum-editor-help').attr('data-autodisplay') !== 'undefined' &&
832
+ $('#gollum-editor-help').attr('data-autodisplay') === 'true' ) {
833
+ Help.show();
834
+ }
835
+ }
836
+ } else {
837
+ if ( $('#function-help').length ) {
838
+ $('#function-help').addClass('disabled');
839
+ }
840
+ }
841
+ },
860
842
 
861
- // generate parent submenu on first run
862
- Help.generateSubMenu( helpData[0], 0 );
863
- $($('#gollum-editor-help-list li a').get(0)).click();
843
+ /**
844
+ * Help.generateHelpMenuFor
845
+ * Generates the markup for the main help menu given a context name.
846
+ *
847
+ * @param string name The context name.
848
+ * @return void
849
+ */
850
+ generateHelpMenuFor: function( name ) {
851
+ if ( !Help._HELP[name] ) {
852
+ debug('Help is not defined for ' + name.toString());
853
+ return false;
854
+ }
855
+ var helpData = Help._HELP[name];
864
856
 
865
- },
857
+ // clear this shiz out
858
+ $('#gollum-editor-help-parent').html('');
859
+ $('#gollum-editor-help-list').html('');
860
+ $('#gollum-editor-help-content').html('');
866
861
 
862
+ // go go inefficient algorithm
863
+ for ( var i=0; i < helpData.length; i++ ) {
864
+ if ( typeof helpData[i] != 'object' ) {
865
+ break;
866
+ }
867
867
 
868
- /**
869
- * Help.generateSubMenu
870
- * Generates the markup for the inline help sub-menu given the data
871
- * object for the submenu and the array index to start at.
872
- *
873
- * @param object subData The data for the sub-menu.
874
- * @param integer index The index clicked on (parent menu index).
875
- * @return void
876
- */
877
- generateSubMenu: function( subData, index ) {
878
- $('#gollum-editor-help-list').html('');
879
- $('#gollum-editor-help-content').html('');
880
- for ( var i=0; i < subData.content.length; i++ ) {
881
- if ( typeof subData.content[i] != 'object' ) {
882
- break;
883
- }
868
+ var $newLi = $('<li><a href="#" rel="' + i + '">' +
869
+ helpData[i].menuName + '</a></li>');
870
+ $('#gollum-editor-help-parent').append( $newLi );
871
+ if ( i === 0 ) {
872
+ // select on first run
873
+ $newLi.children('a').addClass('selected');
874
+ }
875
+ $newLi.children('a').click( Help.evtParentMenuClick );
876
+ }
884
877
 
885
- var $subLi = $('<li><a href="#" rel="' + index + ':' + i + '">' +
886
- subData.content[i].menuName + '</a></li>');
887
-
888
-
889
- $('#gollum-editor-help-list').append( $subLi );
890
- $subLi.children('a').click( Help.evtSubMenuClick );
891
- }
892
- },
893
-
894
-
895
- hide: function() {
896
- if ( $.browser.msie ) {
897
- $('#gollum-editor-help').css('display', 'none');
898
- } else {
899
- $('#gollum-editor-help').animate({
900
- opacity: 0
901
- }, 200,
902
- function() {
903
- $('#gollum-editor-help')
904
- .animate({ height: 'hide' }, 200);
905
- });
906
- }
907
- },
908
-
909
- show: function() {
910
- if ( $.browser.msie ) {
911
- // bypass effects for internet explorer, since it does weird crap
912
- // to text antialiasing with opacity animations
913
- $('#gollum-editor-help').css('display', 'block');
914
- } else {
915
- $('#gollum-editor-help').animate({
916
- height: 'show'
917
- }, 200,
918
- function() {
919
- $('#gollum-editor-help')
920
- .animate({ opacity: 1 }, 300);
921
- });
922
- }
923
- },
878
+ // generate parent submenu on first run
879
+ Help.generateSubMenu( helpData[0], 0 );
880
+ $($('#gollum-editor-help-list li a').get(0)).click();
924
881
 
882
+ },
925
883
 
926
- /**
927
- * Help.showHelpFor
928
- * Displays the actual help content given the two menu indexes, which are
929
- * rendered in the rel="" attributes of the help menus
930
- *
931
- * @param integer index1 parent index
932
- * @param integer index2 submenu index
933
- * @return void
934
- */
935
- showHelpFor: function( index1, index2 ) {
936
- var html =
937
- Help._HELP[Help._ACTIVE_HELP_LANG][index1].content[index2].data;
938
- $('#gollum-editor-help-content').html(html);
939
- },
884
+ /**
885
+ * Help.generateSubMenu
886
+ * Generates the markup for the inline help sub-menu given the data
887
+ * object for the submenu and the array index to start at.
888
+ *
889
+ * @param object subData The data for the sub-menu.
890
+ * @param integer index The index clicked on (parent menu index).
891
+ * @return void
892
+ */
893
+ generateSubMenu: function( subData, index ) {
894
+ $('#gollum-editor-help-list').html('');
895
+ $('#gollum-editor-help-content').html('');
896
+ for ( var i=0; i < subData.content.length; i++ ) {
897
+ if ( typeof subData.content[i] != 'object' ) {
898
+ break;
899
+ }
940
900
 
901
+ var $subLi = $('<li><a href="#" rel="' + index + ':' + i + '">' +
902
+ subData.content[i].menuName + '</a></li>');
941
903
 
942
- /**
943
- * Help.isLoadedFor
944
- * Returns true if help is loaded for a specific markup language,
945
- * false otherwise.
946
- *
947
- * @param string name The name of the markup language.
948
- * @return boolean
949
- */
950
- isLoadedFor: function( name ) {
951
- for ( var i=0; i < Help._LOADED_HELP_LANGS.length; i++ ) {
952
- if ( name == Help._LOADED_HELP_LANGS[i] ) {
953
- return true;
954
- }
955
- }
956
- return false;
957
- },
958
904
 
905
+ $('#gollum-editor-help-list').append( $subLi );
906
+ $subLi.children('a').click( Help.evtSubMenuClick );
907
+ }
908
+ },
959
909
 
960
- isShown: function() {
961
- return ( $('#gollum-editor-help').is(':visible') );
962
- },
910
+ hide: function() {
911
+ if ( $.browser.msie ) {
912
+ $('#gollum-editor-help').css('display', 'none');
913
+ } else {
914
+ $('#gollum-editor-help').animate({
915
+ opacity: 0
916
+ }, 200, function() {
917
+ $('#gollum-editor-help')
918
+ .animate({ height: 'hide' }, 200);
919
+ });
920
+ }
921
+ },
963
922
 
923
+ show: function() {
924
+ if ( $.browser.msie ) {
925
+ // bypass effects for internet explorer, since it does weird crap
926
+ // to text antialiasing with opacity animations
927
+ $('#gollum-editor-help').css('display', 'block');
928
+ } else {
929
+ $('#gollum-editor-help').animate({
930
+ height: 'show'
931
+ }, 200, function() {
932
+ $('#gollum-editor-help')
933
+ .animate({ opacity: 1 }, 300);
934
+ });
935
+ }
936
+ },
964
937
 
965
- /**
966
- * Help.isValidHelpFormat
967
- * Does a quick check to make sure that the help definition isn't in a
968
- * completely messed-up format.
969
- *
970
- * @param object (Array) helpArr The help definition array.
971
- * @return boolean
972
- */
973
- isValidHelpFormat: function( helpArr ) {
974
- return ( typeof helpArr == 'object' &&
975
- helpArr.length &&
976
- typeof helpArr[0].menuName == 'string' &&
977
- typeof helpArr[0].content == 'object' &&
978
- helpArr[0].content.length );
979
- },
938
+ /**
939
+ * Help.showHelpFor
940
+ * Displays the actual help content given the two menu indexes, which are
941
+ * rendered in the rel="" attributes of the help menus
942
+ *
943
+ * @param integer index1 parent index
944
+ * @param integer index2 submenu index
945
+ * @return void
946
+ */
947
+ showHelpFor: function( index1, index2 ) {
948
+ var html =
949
+ Help._HELP[Help._ACTIVE_HELP_LANG][index1].content[index2].data;
950
+ $('#gollum-editor-help-content').html(html);
951
+ },
980
952
 
953
+ /**
954
+ * Help.isLoadedFor
955
+ * Returns true if help is loaded for a specific markup language,
956
+ * false otherwise.
957
+ *
958
+ * @param string name The name of the markup language.
959
+ * @return boolean
960
+ */
961
+ isLoadedFor: function( name ) {
962
+ for ( var i=0; i < Help._LOADED_HELP_LANGS.length; i++ ) {
963
+ if ( name == Help._LOADED_HELP_LANGS[i] ) {
964
+ return true;
965
+ }
966
+ }
967
+ return false;
968
+ },
981
969
 
982
- /**
983
- * Help.setActiveHelp
984
- * Sets the active help definition to the one defined in the argument,
985
- * re-rendering the help menu to match the new definition.
986
- *
987
- * @param string name The name of the help definition.
988
- * @return void
989
- */
990
- setActiveHelp: function( name ) {
991
- if ( !Help.isLoadedFor( name ) ) {
992
- if ( $('#function-help').length ) {
993
- $('#function-help').addClass('disabled');
994
- }
995
- if ( Help.isShown() ) {
996
- Help.hide();
997
- }
998
- } else {
970
+ isShown: function() {
971
+ return ($('#gollum-editor-help').is(':visible'));
972
+ },
973
+
974
+ /**
975
+ * Help.isValidHelpFormat
976
+ * Does a quick check to make sure that the help definition isn't in a
977
+ * completely messed-up format.
978
+ *
979
+ * @param object (Array) helpArr The help definition array.
980
+ * @return boolean
981
+ */
982
+ isValidHelpFormat: function( helpArr ) {
983
+ return ( typeof helpArr == 'object' &&
984
+ helpArr.length &&
985
+ typeof helpArr[0].menuName == 'string' &&
986
+ typeof helpArr[0].content == 'object' &&
987
+ helpArr[0].content.length );
988
+ },
989
+
990
+ /**
991
+ * Help.setActiveHelp
992
+ * Sets the active help definition to the one defined in the argument,
993
+ * re-rendering the help menu to match the new definition.
994
+ *
995
+ * @param string name The name of the help definition.
996
+ * @return void
997
+ */
998
+ setActiveHelp: function( name ) {
999
+ if ( !Help.isLoadedFor( name ) ) {
1000
+ if ( $('#function-help').length ) {
1001
+ $('#function-help').addClass('disabled');
1002
+ }
1003
+ if ( Help.isShown() ) {
1004
+ Help.hide();
1005
+ }
1006
+ } else {
999
1007
  Help._ACTIVE_HELP_LANG = name;
1000
1008
  if ( $("#function-help").length ) {
1001
1009
  if ( $('#function-help').hasClass('disabled') ) {
@@ -1005,80 +1013,84 @@
1005
1013
  $('#function-help').click( Help.evtHelpButtonClick );
1006
1014
  Help.generateHelpMenuFor( name );
1007
1015
  }
1008
- }
1009
- },
1010
-
1011
-
1012
- /**
1013
- * Help.evtHelpButtonClick
1014
- * Event handler for clicking the help button in the function bar.
1015
- *
1016
- * @param jQuery.Event e The jQuery event object.
1017
- * @return void
1018
- */
1019
- evtHelpButtonClick: function( e ) {
1020
- e.preventDefault();
1021
- if ( Help.isShown() ) { Help.hide(); }
1022
- else { Help.show(); }
1023
- },
1024
-
1016
+ }
1017
+ },
1025
1018
 
1026
- /**
1027
- * Help.evtParentMenuClick
1028
- * Event handler for clicking on an item in the parent menu. Automatically
1029
- * renders the submenu for the parent menu as well as the first result for
1030
- * the actual plain text.
1031
- *
1032
- * @param jQuery.Event e The jQuery event object.
1033
- * @return void
1034
- */
1035
- evtParentMenuClick: function( e ) {
1036
- e.preventDefault();
1037
- // short circuit if we've selected this already
1038
- if ( $(this).hasClass('selected') ) { return; }
1019
+ /**
1020
+ * Help.evtHelpButtonClick
1021
+ * Event handler for clicking the help button in the function bar.
1022
+ *
1023
+ * @param jQuery.Event e The jQuery event object.
1024
+ * @return void
1025
+ */
1026
+ evtHelpButtonClick: function( e ) {
1027
+ e.preventDefault();
1028
+ if ( Help.isShown() ) {
1029
+ // turn off autodisplay if it's on
1030
+ if ( $('#gollum-editor-help').length &&
1031
+ $('#gollum-editor-help').attr('data-autodisplay') !== 'undefined' &&
1032
+ $('#gollum-editor-help').attr('data-autodisplay') === 'true' ) {
1033
+ $.post('/wiki/help?_method=delete');
1034
+ $('#gollum-editor-help').attr('data-autodisplay', '');
1035
+ }
1036
+ Help.hide(); }
1037
+ else { Help.show(); }
1038
+ },
1039
1039
 
1040
- // populate from help data for this
1041
- var helpIndex = $(this).attr('rel');
1042
- var subData = Help._HELP[Help._ACTIVE_HELP_LANG][helpIndex];
1040
+ /**
1041
+ * Help.evtParentMenuClick
1042
+ * Event handler for clicking on an item in the parent menu. Automatically
1043
+ * renders the submenu for the parent menu as well as the first result for
1044
+ * the actual plain text.
1045
+ *
1046
+ * @param jQuery.Event e The jQuery event object.
1047
+ * @return void
1048
+ */
1049
+ evtParentMenuClick: function( e ) {
1050
+ e.preventDefault();
1051
+ // short circuit if we've selected this already
1052
+ if ( $(this).hasClass('selected') ) { return; }
1053
+
1054
+ // populate from help data for this
1055
+ var helpIndex = $(this).attr('rel');
1056
+ var subData = Help._HELP[Help._ACTIVE_HELP_LANG][helpIndex];
1057
+
1058
+ $('#gollum-editor-help-parent li a').removeClass('selected');
1059
+ $(this).addClass('selected');
1060
+ Help.generateSubMenu( subData, helpIndex );
1061
+ $($('#gollum-editor-help-list li a').get(0)).click();
1062
+ },
1043
1063
 
1044
- $('#gollum-editor-help-parent li a').removeClass('selected');
1045
- $(this).addClass('selected');
1046
- Help.generateSubMenu( subData, helpIndex );
1047
- $($('#gollum-editor-help-list li a').get(0)).click();
1048
- },
1064
+ /**
1065
+ * Help.evtSubMenuClick
1066
+ * Event handler for clicking an item in a help submenu. Renders the
1067
+ * appropriate text for the submenu link.
1068
+ *
1069
+ * @param jQuery.Event e The jQuery event object.
1070
+ * @return void
1071
+ */
1072
+ evtSubMenuClick: function( e ) {
1073
+ e.preventDefault();
1074
+ if ( $(this).hasClass('selected') ) { return; }
1075
+
1076
+ // split index rel data
1077
+ var rawIndex = $(this).attr('rel').split(':');
1078
+ $('#gollum-editor-help-list li a').removeClass('selected');
1079
+ $(this).addClass('selected');
1080
+ Help.showHelpFor( rawIndex[0], rawIndex[1] );
1081
+ }
1082
+ };
1049
1083
 
1084
+ // Publicly-accessible function to Help.define
1085
+ $.GollumEditor.defineHelp = Help.define;
1050
1086
 
1051
- /**
1052
- * Help.evtSubMenuClick
1053
- * Event handler for clicking an item in a help submenu. Renders the
1054
- * appropriate text for the submenu link.
1055
- *
1056
- * @param jQuery.Event e The jQuery event object.
1057
- * @return void
1058
- */
1059
- evtSubMenuClick: function( e ) {
1060
- e.preventDefault();
1061
- if ( $(this).hasClass('selected') ) { return; }
1062
-
1063
- // split index rel data
1064
- var rawIndex = $(this).attr('rel').split(':');
1065
- $('#gollum-editor-help-list li a').removeClass('selected');
1066
- $(this).addClass('selected');
1067
- Help.showHelpFor( rawIndex[0], rawIndex[1] );
1068
- }
1069
- };
1070
-
1071
-
1072
- // Publicly-accessible function to Help.define
1073
- $.GollumEditor.defineHelp = Help.define;
1074
-
1075
- // Dialog exists as its own thing now
1076
- $.GollumEditor.Dialog = $.GollumDialog;
1077
- $.GollumEditor.replaceSelection = function( repText ) {
1078
- FunctionBar.replaceFieldSelection( $('#gollum-editor-body'), repText );
1079
- };
1087
+ // Dialog exists as its own thing now
1088
+ $.GollumEditor.Dialog = $.GollumDialog;
1089
+ $.GollumEditor.replaceSelection = function( repText ) {
1090
+ FunctionBar.replaceFieldSelection( $('#gollum-editor-body'), repText );
1091
+ };
1080
1092
 
1081
- // Placeholder exists as its own thing now
1082
- $.GollumEditor.Placeholder = $.GollumPlaceholder;
1093
+ // Placeholder exists as its own thing now
1094
+ $.GollumEditor.Placeholder = $.GollumPlaceholder;
1083
1095
 
1084
1096
  })(jQuery);