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.
- data/HISTORY.md +18 -0
- data/README.md +36 -11
- data/Rakefile +5 -9
- data/gollum.gemspec +34 -623
- data/lib/gollum.rb +3 -2
- data/lib/gollum/committer.rb +7 -6
- data/lib/gollum/frontend/app.rb +11 -5
- data/lib/gollum/frontend/public/css/gollum.css +12 -16
- data/lib/gollum/frontend/public/css/template.css +103 -38
- data/lib/gollum/frontend/public/javascript/editor/gollum.editor.js +294 -282
- data/lib/gollum/frontend/public/javascript/editor/langs/asciidoc.js +18 -19
- data/lib/gollum/frontend/public/javascript/editor/langs/creole.js +20 -19
- data/lib/gollum/frontend/public/javascript/editor/langs/markdown.js +33 -33
- data/lib/gollum/frontend/public/javascript/editor/langs/org.js +27 -27
- data/lib/gollum/frontend/public/javascript/editor/langs/pod.js +15 -15
- data/lib/gollum/frontend/public/javascript/editor/langs/rdoc.js +16 -16
- data/lib/gollum/frontend/public/javascript/editor/langs/textile.js +17 -17
- data/lib/gollum/frontend/public/javascript/gollum.dialog.js +221 -164
- data/lib/gollum/frontend/public/javascript/gollum.js +90 -120
- data/lib/gollum/frontend/templates/create.mustache +4 -2
- data/lib/gollum/frontend/templates/editor.mustache +1 -1
- data/lib/gollum/frontend/templates/history.mustache +1 -1
- data/lib/gollum/frontend/templates/page.mustache +0 -2
- data/lib/gollum/frontend/views/create.rb +7 -3
- data/lib/gollum/frontend/views/page.rb +6 -2
- data/lib/gollum/frontend/views/pages.rb +2 -2
- data/lib/gollum/frontend/views/search.rb +2 -2
- data/lib/gollum/git_access.rb +3 -0
- data/lib/gollum/markup.rb +74 -71
- data/lib/gollum/page.rb +43 -11
- data/lib/gollum/pagination.rb +2 -2
- data/lib/gollum/sanitization.rb +58 -31
- data/lib/gollum/tex.rb +89 -0
- data/lib/gollum/web_sequence_diagram.rb +43 -0
- data/lib/gollum/wiki.rb +40 -27
- data/test/examples/empty.git/HEAD +1 -0
- data/test/examples/empty.git/config +5 -0
- data/test/examples/empty.git/description +1 -0
- data/test/examples/empty.git/hooks/applypatch-msg.sample +15 -0
- data/test/examples/empty.git/hooks/commit-msg.sample +24 -0
- data/test/examples/empty.git/hooks/post-commit.sample +8 -0
- data/test/examples/empty.git/hooks/post-receive.sample +15 -0
- data/test/examples/empty.git/hooks/post-update.sample +8 -0
- data/test/examples/empty.git/hooks/pre-applypatch.sample +14 -0
- data/test/examples/empty.git/hooks/pre-commit.sample +46 -0
- data/test/examples/empty.git/hooks/pre-rebase.sample +169 -0
- data/test/examples/empty.git/hooks/prepare-commit-msg.sample +36 -0
- data/test/examples/empty.git/hooks/update.sample +128 -0
- data/test/examples/empty.git/info/exclude +6 -0
- data/test/examples/empty.git/objects/info/.gitkeep +0 -0
- data/test/examples/empty.git/objects/pack/.gitkeep +0 -0
- data/test/examples/empty.git/refs/heads/.gitkeep +0 -0
- data/test/examples/lotr.git/COMMIT_EDITMSG +1 -1
- data/test/examples/lotr.git/ORIG_HEAD +1 -0
- data/test/examples/lotr.git/index +0 -0
- data/test/examples/lotr.git/logs/HEAD +1 -0
- data/test/examples/lotr.git/logs/refs/heads/master +1 -0
- data/test/examples/lotr.git/objects/12/629d666c5e3178f82f533f543d61b53dc78c0b +0 -0
- data/test/examples/lotr.git/objects/1d/b89ebba7e2c14d93b94ff98cfa3708a4f0d4e3 +2 -0
- data/test/examples/lotr.git/objects/25/4bdc1ba27d8b8a794538a8522d9a2b56ec2dd9 +0 -0
- data/test/examples/lotr.git/objects/a6/59b3763b822dd97544621fd0beef162ea37b14 +4 -0
- data/test/examples/lotr.git/objects/bc/4b5fc0ce2c2ba3acef6647e4f67256ee45ab60 +0 -0
- data/test/examples/lotr.git/objects/f4/84ebb1f40f8eb20d1bcd8d1d71934d2b8ae961 +0 -0
- data/test/examples/lotr.git/refs/heads/master +1 -1
- data/test/helper.rb +1 -1
- data/test/test_app.rb +25 -0
- data/test/test_committer.rb +2 -2
- data/test/test_file.rb +1 -1
- data/test/test_git_access.rb +2 -2
- data/test/test_markup.rb +119 -24
- data/test/test_page.rb +20 -0
- data/test/test_wiki.rb +112 -7
- metadata +89 -672
- data/lib/gollum/albino.rb +0 -5
- data/lib/gollum/frontend/public/javascript/MathJax/MathJax.js +0 -43
- data/lib/gollum/frontend/public/javascript/MathJax/config/MMLorHTML.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/config/MathJax.js +0 -590
- data/lib/gollum/frontend/public/javascript/MathJax/config/local/local.js +0 -37
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.buildinfo +0 -4
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/CSS-styles.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/HTML-snippets.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/ajax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/callback.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/elementjax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/html.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/hub.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/index.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/inputjax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/jax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/message.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/object.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/outputjax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/queue.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/signal.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/variable.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/callbacks.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/community.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/configuration.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/dynamic.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/environment.pickle +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/glossary.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/index.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/installation.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/jsMath.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/mathjax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/mathml.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/model.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/FontWarnings.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/HTML-CSS.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MMLorHTML.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MathML.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MathMenu.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MathZoom.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/NativeMML.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/TeX.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/hub.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/jsMath2jax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/mml2jax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/tex2jax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/output.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/platforms/index.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/platforms/movable-type.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/platforms/wordpress.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/queues.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/signals.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/start.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/startup.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/synchronize.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/tex.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/typeset.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/CSS-styles.html +0 -173
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/HTML-snippets.html +0 -170
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/badge.gif +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/mt_head.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/mt_menu.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/mt_templates.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/wp_menu.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/wp_templates.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/CSS-styles.txt +0 -79
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/HTML-snippets.txt +0 -83
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/ajax.txt +0 -196
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/callback.txt +0 -259
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/elementjax.txt +0 -122
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/html.txt +0 -122
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/hub.txt +0 -330
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/index.txt +0 -44
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/inputjax.txt +0 -86
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/jax.txt +0 -148
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/message.txt +0 -86
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/object.txt +0 -210
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/outputjax.txt +0 -100
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/queue.txt +0 -99
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/signal.txt +0 -154
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/variable.txt +0 -83
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/callbacks.txt +0 -228
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/community.txt +0 -60
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/configuration.txt +0 -375
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/dynamic.txt +0 -181
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/glossary.txt +0 -75
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/index.txt +0 -71
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/installation.txt +0 -184
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/jsMath.txt +0 -31
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/mathjax.txt +0 -36
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/mathml.txt +0 -97
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/model.txt +0 -224
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/FontWarnings.txt +0 -140
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/HTML-CSS.txt +0 -119
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MMLorHTML.txt +0 -42
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MathML.txt +0 -27
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MathMenu.txt +0 -79
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MathZoom.txt +0 -42
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/NativeMML.txt +0 -61
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/TeX.txt +0 -67
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/hub.txt +0 -209
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/jsMath2jax.txt +0 -53
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/mml2jax.txt +0 -53
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/tex2jax.txt +0 -137
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/output.txt +0 -126
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/index.txt +0 -65
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/movable-type.txt +0 -41
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/wordpress.txt +0 -42
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/queues.txt +0 -254
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/signals.txt +0 -161
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/start.txt +0 -314
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/startup.txt +0 -152
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/synchronize.txt +0 -65
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/tex.txt +0 -1090
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/typeset.txt +0 -229
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/basic.css +0 -509
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/doctools.js +0 -247
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/file.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/jquery.js +0 -154
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/mathjax_mathml.user.js +0 -22
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/mathjax_wikipedia.user.js +0 -35
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/minus.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/mj.css +0 -223
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/plus.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/pygments.css +0 -61
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/searchtools.js +0 -505
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/underscore.js +0 -16
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/ajax.html +0 -406
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/callback.html +0 -435
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/elementjax.html +0 -283
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/html.html +0 -292
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/hub.html +0 -674
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/index.html +0 -144
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/inputjax.html +0 -221
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/jax.html +0 -319
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/message.html +0 -224
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/object.html +0 -356
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/outputjax.html +0 -246
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/queue.html +0 -247
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/signal.html +0 -334
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/variable.html +0 -220
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/callbacks.html +0 -305
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/community.html +0 -155
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/configuration.html +0 -434
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/dynamic.html +0 -274
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/genindex.html +0 -295
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/glossary.html +0 -160
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/index.html +0 -177
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/installation.html +0 -262
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/jsMath.html +0 -128
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/mathjax.html +0 -137
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/mathml.html +0 -194
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/model.html +0 -305
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/objects.inv +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/FontWarnings.html +0 -264
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/HTML-CSS.html +0 -241
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MMLorHTML.html +0 -143
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MathML.html +0 -132
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MathMenu.html +0 -194
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MathZoom.html +0 -147
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/NativeMML.html +0 -171
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/TeX.html +0 -175
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/hub.html +0 -342
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/jsMath2jax.html +0 -154
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/mml2jax.html +0 -154
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/tex2jax.html +0 -249
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/output.html +0 -218
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/platforms/index.html +0 -168
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/platforms/movable-type.html +0 -145
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/platforms/wordpress.html +0 -146
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/queues.html +0 -334
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/search.html +0 -95
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/searchindex.js +0 -1
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/signals.html +0 -257
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/start.html +0 -374
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/startup.html +0 -239
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/synchronize.html +0 -161
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/tex.html +0 -1152
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/typeset.html +0 -318
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/CSS-styles.rst +0 -79
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/HTML-snippets.rst +0 -83
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/_static/mathjax_mathml.user.js +0 -22
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/_static/mathjax_wikipedia.user.js +0 -35
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/ajax.rst +0 -196
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/callback.rst +0 -259
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/elementjax.rst +0 -122
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/html.rst +0 -122
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/hub.rst +0 -330
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/index.rst +0 -44
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/inputjax.rst +0 -86
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/jax.rst +0 -148
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/message.rst +0 -86
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/object.rst +0 -210
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/outputjax.rst +0 -100
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/queue.rst +0 -99
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/signal.rst +0 -154
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/variable.rst +0 -83
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/callbacks.rst +0 -228
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/community.rst +0 -60
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/conf.py +0 -198
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/configuration.rst +0 -375
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/dynamic.rst +0 -181
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/glossary.rst +0 -75
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/mt_head.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/mt_menu.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/mt_templates.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/wp_menu.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/wp_templates.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/index.rst +0 -71
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/installation.rst +0 -184
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/jsMath.rst +0 -31
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mathjax.rst +0 -36
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mathml.rst +0 -97
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mjtheme/static/mj.css_t +0 -256
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mjtheme/theme.conf +0 -30
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/model.rst +0 -224
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/FontWarnings.rst +0 -140
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/HTML-CSS.rst +0 -119
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MMLorHTML.rst +0 -42
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MathML.rst +0 -27
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MathMenu.rst +0 -79
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MathZoom.rst +0 -42
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/NativeMML.rst +0 -61
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/TeX.rst +0 -67
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/hub.rst +0 -209
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/jsMath2jax.rst +0 -53
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/mml2jax.rst +0 -53
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/tex2jax.rst +0 -137
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/output.rst +0 -126
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/index.rst +0 -65
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/movable-type.rst +0 -41
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/wordpress.rst +0 -42
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/queues.rst +0 -254
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/signals.rst +0 -161
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/start.rst +0 -314
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/startup.rst +0 -152
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/synchronize.rst +0 -65
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/tex.rst +0 -1090
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/typeset.rst +0 -229
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/FontWarnings.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/MathMenu.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/MathZoom.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSmath.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSsymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/autobold.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/boldsymbol.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/mathchoice.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/newcommand.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noErrors.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noUndefined.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/unicode.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/verb.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/jsMath2jax.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/mml2jax.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/tex2jax.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/toMathML.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/jax.js +0 -19
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Arrows.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/BasicLatin.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiacritMarks.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiactForSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Dingbats.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeneralPunctuation.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeometricShapes.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GreekAndCoptic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Latin1Supplement.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/LetterlikeSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MathOperators.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscTechnical.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SpacingModLetters.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SuppMathOperators.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SupplementalArrowsB.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/config.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/a.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/b.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/c.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/d.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/e.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/f.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/fr.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/g.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/h.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/i.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/j.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/k.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/l.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/m.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/n.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/o.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/opf.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/p.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/q.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/r.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/s.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/scr.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/t.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/u.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/v.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/w.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/x.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/y.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/z.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/jax.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/config.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/jax.js +0 -19
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/maction.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/menclose.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mglyph.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mmultiscripts.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/ms.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mtable.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/multiline.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/config.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js +0 -19
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GreekAndCoptic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GreekAndCoptic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedB.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Arrows.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiactForSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeneralPunctuation.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GreekAndCoptic.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Latin1Supplement.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedB.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LetterlikeSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MathOperators.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscMathSymbolsA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscTechnical.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SuppMathOperators.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SupplementalArrowsA.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js +0 -19
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/imageFonts.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/jax.js +0 -19
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/config.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/jax.js +0 -18
- data/lib/gollum/frontend/public/javascript/MathJax/test/index-images.html +0 -127
- data/lib/gollum/frontend/public/javascript/MathJax/test/index.html +0 -177
- data/lib/gollum/frontend/public/javascript/MathJax/test/sample-dynamic.html +0 -54
- data/lib/gollum/frontend/public/javascript/MathJax/test/sample-mml.html +0 -44
- data/lib/gollum/frontend/public/javascript/MathJax/test/sample-signals.html +0 -121
- data/lib/gollum/frontend/public/javascript/MathJax/test/sample-tex.html +0 -22
- data/lib/gollum/frontend/public/javascript/MathJax/test/sample-tex2mml.html +0 -23
- 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.
|
24
|
+
VERSION = '1.4.2'
|
24
25
|
|
25
26
|
class Error < StandardError; end
|
26
27
|
|
data/lib/gollum/committer.rb
CHANGED
@@ -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
|
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
|
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.
|
data/lib/gollum/frontend/app.rb
CHANGED
@@ -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 :
|
18
|
-
set :
|
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;
|
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
|
-
|
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:
|
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:
|
7
|
-
line-height:
|
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:
|
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-
|
36
|
-
font-size:
|
55
|
+
border-bottom: 1px solid #ccc;
|
56
|
+
font-size: 33px; /* was 32, GH is 33px */
|
37
57
|
line-height: normal;
|
38
|
-
padding:
|
39
|
-
margin:
|
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:
|
104
|
-
|
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
|
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:
|
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
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
#template .highlight
|
299
|
-
#template .highlight .
|
300
|
-
#template .highlight .
|
301
|
-
#template .highlight .
|
302
|
-
#template .highlight .
|
303
|
-
#template .highlight .
|
304
|
-
#template .highlight .
|
305
|
-
#template .highlight .
|
306
|
-
#template .highlight .
|
307
|
-
#template .highlight .
|
308
|
-
#template .highlight .
|
309
|
-
#template .highlight .
|
310
|
-
#template .highlight .
|
311
|
-
#template .highlight .
|
312
|
-
#template .highlight .
|
313
|
-
#template .highlight .
|
314
|
-
#template .highlight .
|
315
|
-
#template .highlight .
|
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
|
-
|
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
|
-
|
780
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
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
|
-
|
862
|
-
Help.
|
863
|
-
|
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
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
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
|
-
|
886
|
-
|
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
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
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
|
-
|
961
|
-
|
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
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
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
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
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
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
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
|
-
|
1041
|
-
|
1042
|
-
|
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
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
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
|
-
|
1053
|
-
|
1054
|
-
|
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
|
-
|
1082
|
-
|
1093
|
+
// Placeholder exists as its own thing now
|
1094
|
+
$.GollumEditor.Placeholder = $.GollumPlaceholder;
|
1083
1095
|
|
1084
1096
|
})(jQuery);
|