amiba 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (619) hide show
  1. data/bin/amiba-wp-import +11 -0
  2. data/lib/amiba/all.rb +6 -0
  3. data/lib/amiba/entry.rb +1 -1
  4. data/lib/amiba/frontend/Gemfile +12 -0
  5. data/lib/amiba/frontend/Gemfile.lock +76 -0
  6. data/lib/amiba/frontend/app.rb +214 -0
  7. data/lib/amiba/frontend/config.ru +6 -0
  8. data/lib/amiba/frontend/public/css/dialog.css +141 -0
  9. data/lib/amiba/frontend/public/css/editor.css +537 -0
  10. data/lib/amiba/frontend/public/css/gollum.css +664 -0
  11. data/lib/amiba/frontend/public/css/ie7.css +69 -0
  12. data/lib/amiba/frontend/public/css/template.css +316 -0
  13. data/lib/amiba/frontend/public/images/icon-sprite.png +0 -0
  14. data/lib/amiba/frontend/public/javascript/MathJax/MathJax.js +43 -0
  15. data/lib/amiba/frontend/public/javascript/MathJax/config/MMLorHTML.js +18 -0
  16. data/lib/amiba/frontend/public/javascript/MathJax/config/MathJax.js +590 -0
  17. data/lib/amiba/frontend/public/javascript/MathJax/config/local/local.js +37 -0
  18. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/CSS-styles.html +173 -0
  19. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/HTML-snippets.html +170 -0
  20. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_images/badge.gif +0 -0
  21. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_images/mt_head.png +0 -0
  22. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_images/mt_menu.png +0 -0
  23. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_images/mt_templates.png +0 -0
  24. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_images/wp_menu.png +0 -0
  25. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_images/wp_templates.png +0 -0
  26. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/CSS-styles.txt +79 -0
  27. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/HTML-snippets.txt +83 -0
  28. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/api/ajax.txt +196 -0
  29. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/api/callback.txt +259 -0
  30. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/api/elementjax.txt +122 -0
  31. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/api/html.txt +122 -0
  32. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/api/hub.txt +330 -0
  33. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/api/index.txt +44 -0
  34. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/api/inputjax.txt +86 -0
  35. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/api/jax.txt +148 -0
  36. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/api/message.txt +86 -0
  37. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/api/object.txt +210 -0
  38. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/api/outputjax.txt +100 -0
  39. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/api/queue.txt +99 -0
  40. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/api/signal.txt +154 -0
  41. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/api/variable.txt +83 -0
  42. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/callbacks.txt +228 -0
  43. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/community.txt +60 -0
  44. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/configuration.txt +375 -0
  45. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/dynamic.txt +181 -0
  46. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/glossary.txt +75 -0
  47. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/index.txt +71 -0
  48. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/installation.txt +184 -0
  49. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/jsMath.txt +31 -0
  50. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/mathjax.txt +36 -0
  51. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/mathml.txt +97 -0
  52. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/model.txt +224 -0
  53. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/options/FontWarnings.txt +140 -0
  54. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/options/HTML-CSS.txt +119 -0
  55. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/options/MMLorHTML.txt +42 -0
  56. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/options/MathML.txt +27 -0
  57. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/options/MathMenu.txt +79 -0
  58. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/options/MathZoom.txt +42 -0
  59. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/options/NativeMML.txt +61 -0
  60. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/options/TeX.txt +67 -0
  61. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/options/hub.txt +209 -0
  62. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/options/jsMath2jax.txt +53 -0
  63. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/options/mml2jax.txt +53 -0
  64. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/options/tex2jax.txt +137 -0
  65. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/output.txt +126 -0
  66. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/platforms/index.txt +65 -0
  67. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/platforms/movable-type.txt +41 -0
  68. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/platforms/wordpress.txt +42 -0
  69. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/queues.txt +254 -0
  70. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/signals.txt +161 -0
  71. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/start.txt +314 -0
  72. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/startup.txt +152 -0
  73. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/synchronize.txt +65 -0
  74. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/tex.txt +1090 -0
  75. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/typeset.txt +229 -0
  76. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_static/basic.css +509 -0
  77. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_static/doctools.js +247 -0
  78. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_static/file.png +0 -0
  79. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_static/jquery.js +154 -0
  80. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_static/mathjax_mathml.user.js +22 -0
  81. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_static/mathjax_wikipedia.user.js +35 -0
  82. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_static/minus.png +0 -0
  83. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_static/mj.css +223 -0
  84. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_static/plus.png +0 -0
  85. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_static/pygments.css +61 -0
  86. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_static/searchtools.js +505 -0
  87. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/_static/underscore.js +16 -0
  88. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/api/ajax.html +406 -0
  89. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/api/callback.html +435 -0
  90. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/api/elementjax.html +283 -0
  91. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/api/html.html +292 -0
  92. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/api/hub.html +674 -0
  93. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/api/index.html +144 -0
  94. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/api/inputjax.html +221 -0
  95. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/api/jax.html +319 -0
  96. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/api/message.html +224 -0
  97. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/api/object.html +356 -0
  98. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/api/outputjax.html +246 -0
  99. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/api/queue.html +247 -0
  100. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/api/signal.html +334 -0
  101. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/api/variable.html +220 -0
  102. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/callbacks.html +305 -0
  103. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/community.html +155 -0
  104. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/configuration.html +434 -0
  105. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/dynamic.html +274 -0
  106. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/genindex.html +295 -0
  107. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/glossary.html +160 -0
  108. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/index.html +177 -0
  109. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/installation.html +262 -0
  110. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/jsMath.html +128 -0
  111. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/mathjax.html +137 -0
  112. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/mathml.html +194 -0
  113. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/model.html +305 -0
  114. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/objects.inv +0 -0
  115. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/options/FontWarnings.html +264 -0
  116. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/options/HTML-CSS.html +241 -0
  117. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/options/MMLorHTML.html +143 -0
  118. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/options/MathML.html +132 -0
  119. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/options/MathMenu.html +194 -0
  120. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/options/MathZoom.html +147 -0
  121. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/options/NativeMML.html +171 -0
  122. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/options/TeX.html +175 -0
  123. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/options/hub.html +342 -0
  124. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/options/jsMath2jax.html +154 -0
  125. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/options/mml2jax.html +154 -0
  126. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/options/tex2jax.html +249 -0
  127. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/output.html +218 -0
  128. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/platforms/index.html +168 -0
  129. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/platforms/movable-type.html +145 -0
  130. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/platforms/wordpress.html +146 -0
  131. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/queues.html +334 -0
  132. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/search.html +95 -0
  133. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/searchindex.js +1 -0
  134. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/signals.html +257 -0
  135. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/start.html +374 -0
  136. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/startup.html +239 -0
  137. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/synchronize.html +161 -0
  138. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/tex.html +1152 -0
  139. data/lib/amiba/frontend/public/javascript/MathJax/docs/html/typeset.html +318 -0
  140. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/CSS-styles.rst +79 -0
  141. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/HTML-snippets.rst +83 -0
  142. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/_static/mathjax_mathml.user.js +22 -0
  143. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/_static/mathjax_wikipedia.user.js +35 -0
  144. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/api/ajax.rst +196 -0
  145. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/api/callback.rst +259 -0
  146. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/api/elementjax.rst +122 -0
  147. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/api/html.rst +122 -0
  148. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/api/hub.rst +330 -0
  149. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/api/index.rst +44 -0
  150. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/api/inputjax.rst +86 -0
  151. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/api/jax.rst +148 -0
  152. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/api/message.rst +86 -0
  153. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/api/object.rst +210 -0
  154. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/api/outputjax.rst +100 -0
  155. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/api/queue.rst +99 -0
  156. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/api/signal.rst +154 -0
  157. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/api/variable.rst +83 -0
  158. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/callbacks.rst +228 -0
  159. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/community.rst +60 -0
  160. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/conf.py +198 -0
  161. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/configuration.rst +375 -0
  162. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/dynamic.rst +181 -0
  163. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/glossary.rst +75 -0
  164. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/images/mt_head.png +0 -0
  165. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/images/mt_menu.png +0 -0
  166. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/images/mt_templates.png +0 -0
  167. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/images/wp_menu.png +0 -0
  168. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/images/wp_templates.png +0 -0
  169. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/index.rst +71 -0
  170. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/installation.rst +184 -0
  171. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/jsMath.rst +31 -0
  172. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/mathjax.rst +36 -0
  173. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/mathml.rst +97 -0
  174. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/mjtheme/static/mj.css_t +256 -0
  175. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/mjtheme/theme.conf +30 -0
  176. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/model.rst +224 -0
  177. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/options/FontWarnings.rst +140 -0
  178. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/options/HTML-CSS.rst +119 -0
  179. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/options/MMLorHTML.rst +42 -0
  180. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/options/MathML.rst +27 -0
  181. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/options/MathMenu.rst +79 -0
  182. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/options/MathZoom.rst +42 -0
  183. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/options/NativeMML.rst +61 -0
  184. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/options/TeX.rst +67 -0
  185. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/options/hub.rst +209 -0
  186. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/options/jsMath2jax.rst +53 -0
  187. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/options/mml2jax.rst +53 -0
  188. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/options/tex2jax.rst +137 -0
  189. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/output.rst +126 -0
  190. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/platforms/index.rst +65 -0
  191. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/platforms/movable-type.rst +41 -0
  192. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/platforms/wordpress.rst +42 -0
  193. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/queues.rst +254 -0
  194. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/signals.rst +161 -0
  195. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/start.rst +314 -0
  196. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/startup.rst +152 -0
  197. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/synchronize.rst +65 -0
  198. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/tex.rst +1090 -0
  199. data/lib/amiba/frontend/public/javascript/MathJax/docs/rst/typeset.rst +229 -0
  200. data/lib/amiba/frontend/public/javascript/MathJax/extensions/FontWarnings.js +18 -0
  201. data/lib/amiba/frontend/public/javascript/MathJax/extensions/MathMenu.js +18 -0
  202. data/lib/amiba/frontend/public/javascript/MathJax/extensions/MathZoom.js +18 -0
  203. data/lib/amiba/frontend/public/javascript/MathJax/extensions/TeX/AMSmath.js +18 -0
  204. data/lib/amiba/frontend/public/javascript/MathJax/extensions/TeX/AMSsymbols.js +18 -0
  205. data/lib/amiba/frontend/public/javascript/MathJax/extensions/TeX/autobold.js +18 -0
  206. data/lib/amiba/frontend/public/javascript/MathJax/extensions/TeX/boldsymbol.js +18 -0
  207. data/lib/amiba/frontend/public/javascript/MathJax/extensions/TeX/mathchoice.js +18 -0
  208. data/lib/amiba/frontend/public/javascript/MathJax/extensions/TeX/newcommand.js +18 -0
  209. data/lib/amiba/frontend/public/javascript/MathJax/extensions/TeX/noErrors.js +18 -0
  210. data/lib/amiba/frontend/public/javascript/MathJax/extensions/TeX/noUndefined.js +18 -0
  211. data/lib/amiba/frontend/public/javascript/MathJax/extensions/TeX/unicode.js +18 -0
  212. data/lib/amiba/frontend/public/javascript/MathJax/extensions/TeX/verb.js +18 -0
  213. data/lib/amiba/frontend/public/javascript/MathJax/extensions/jsMath2jax.js +18 -0
  214. data/lib/amiba/frontend/public/javascript/MathJax/extensions/mml2jax.js +18 -0
  215. data/lib/amiba/frontend/public/javascript/MathJax/extensions/tex2jax.js +18 -0
  216. data/lib/amiba/frontend/public/javascript/MathJax/extensions/toMathML.js +18 -0
  217. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/jax.js +19 -0
  218. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/optable/Arrows.js +18 -0
  219. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/optable/BasicLatin.js +18 -0
  220. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiacritMarks.js +18 -0
  221. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiactForSymbols.js +18 -0
  222. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/optable/Dingbats.js +18 -0
  223. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/optable/GeneralPunctuation.js +18 -0
  224. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/optable/GeometricShapes.js +18 -0
  225. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/optable/GreekAndCoptic.js +18 -0
  226. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/optable/Latin1Supplement.js +18 -0
  227. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/optable/LetterlikeSymbols.js +18 -0
  228. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/optable/MathOperators.js +18 -0
  229. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js +18 -0
  230. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js +18 -0
  231. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscTechnical.js +18 -0
  232. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/optable/SpacingModLetters.js +18 -0
  233. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/optable/SuppMathOperators.js +18 -0
  234. data/lib/amiba/frontend/public/javascript/MathJax/jax/element/mml/optable/SupplementalArrowsB.js +18 -0
  235. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/config.js +18 -0
  236. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/a.js +18 -0
  237. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/b.js +18 -0
  238. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/c.js +18 -0
  239. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/d.js +18 -0
  240. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/e.js +18 -0
  241. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/f.js +18 -0
  242. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/fr.js +18 -0
  243. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/g.js +18 -0
  244. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/h.js +18 -0
  245. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/i.js +18 -0
  246. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/j.js +18 -0
  247. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/k.js +18 -0
  248. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/l.js +18 -0
  249. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/m.js +18 -0
  250. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/n.js +18 -0
  251. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/o.js +18 -0
  252. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/opf.js +18 -0
  253. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/p.js +18 -0
  254. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/q.js +18 -0
  255. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/r.js +18 -0
  256. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/s.js +18 -0
  257. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/scr.js +18 -0
  258. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/t.js +18 -0
  259. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/u.js +18 -0
  260. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/v.js +18 -0
  261. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/w.js +18 -0
  262. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/x.js +18 -0
  263. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/y.js +18 -0
  264. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/entities/z.js +18 -0
  265. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/MathML/jax.js +18 -0
  266. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/TeX/config.js +18 -0
  267. data/lib/amiba/frontend/public/javascript/MathJax/jax/input/TeX/jax.js +19 -0
  268. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/maction.js +18 -0
  269. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/menclose.js +18 -0
  270. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mglyph.js +18 -0
  271. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mmultiscripts.js +18 -0
  272. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/ms.js +18 -0
  273. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mtable.js +18 -0
  274. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/multiline.js +18 -0
  275. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/config.js +18 -0
  276. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js +18 -0
  277. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js +18 -0
  278. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js +18 -0
  279. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js +18 -0
  280. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js +18 -0
  281. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js +18 -0
  282. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js +18 -0
  283. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js +18 -0
  284. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js +18 -0
  285. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js +18 -0
  286. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js +18 -0
  287. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js +18 -0
  288. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js +18 -0
  289. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js +18 -0
  290. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js +18 -0
  291. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js +18 -0
  292. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js +18 -0
  293. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js +18 -0
  294. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js +18 -0
  295. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js +18 -0
  296. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js +18 -0
  297. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js +18 -0
  298. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js +18 -0
  299. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js +18 -0
  300. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js +18 -0
  301. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js +18 -0
  302. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js +18 -0
  303. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js +18 -0
  304. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js +18 -0
  305. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js +18 -0
  306. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js +18 -0
  307. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js +18 -0
  308. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js +18 -0
  309. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js +18 -0
  310. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js +18 -0
  311. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js +18 -0
  312. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js +18 -0
  313. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js +18 -0
  314. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js +18 -0
  315. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js +18 -0
  316. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js +18 -0
  317. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js +18 -0
  318. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js +18 -0
  319. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js +18 -0
  320. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js +18 -0
  321. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js +18 -0
  322. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js +18 -0
  323. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js +18 -0
  324. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js +18 -0
  325. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js +18 -0
  326. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js +18 -0
  327. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js +18 -0
  328. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js +18 -0
  329. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js +18 -0
  330. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js +18 -0
  331. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js +18 -0
  332. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js +18 -0
  333. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js +18 -0
  334. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js +18 -0
  335. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js +18 -0
  336. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js +18 -0
  337. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js +18 -0
  338. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js +18 -0
  339. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js +18 -0
  340. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js +18 -0
  341. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js +18 -0
  342. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js +18 -0
  343. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js +18 -0
  344. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js +18 -0
  345. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js +18 -0
  346. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js +18 -0
  347. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js +18 -0
  348. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js +18 -0
  349. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js +18 -0
  350. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js +18 -0
  351. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js +18 -0
  352. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js +18 -0
  353. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js +18 -0
  354. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js +18 -0
  355. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js +18 -0
  356. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js +18 -0
  357. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js +18 -0
  358. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js +18 -0
  359. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js +18 -0
  360. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js +18 -0
  361. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js +18 -0
  362. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js +18 -0
  363. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js +18 -0
  364. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js +18 -0
  365. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js +18 -0
  366. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js +18 -0
  367. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js +18 -0
  368. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js +18 -0
  369. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js +18 -0
  370. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js +18 -0
  371. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js +18 -0
  372. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js +18 -0
  373. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js +18 -0
  374. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js +18 -0
  375. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js +18 -0
  376. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js +18 -0
  377. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js +18 -0
  378. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js +18 -0
  379. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js +18 -0
  380. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js +18 -0
  381. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js +18 -0
  382. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js +18 -0
  383. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js +18 -0
  384. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js +18 -0
  385. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js +18 -0
  386. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js +18 -0
  387. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js +18 -0
  388. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js +18 -0
  389. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js +18 -0
  390. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js +18 -0
  391. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js +18 -0
  392. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js +18 -0
  393. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js +18 -0
  394. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js +18 -0
  395. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js +18 -0
  396. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js +18 -0
  397. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js +18 -0
  398. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js +18 -0
  399. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js +18 -0
  400. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js +18 -0
  401. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js +18 -0
  402. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js +18 -0
  403. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js +18 -0
  404. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js +18 -0
  405. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js +18 -0
  406. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js +18 -0
  407. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js +18 -0
  408. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js +18 -0
  409. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js +18 -0
  410. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js +18 -0
  411. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js +18 -0
  412. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js +18 -0
  413. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js +18 -0
  414. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js +18 -0
  415. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js +18 -0
  416. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js +18 -0
  417. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js +18 -0
  418. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js +18 -0
  419. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js +18 -0
  420. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js +18 -0
  421. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js +18 -0
  422. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js +18 -0
  423. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js +18 -0
  424. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js +18 -0
  425. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js +18 -0
  426. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js +18 -0
  427. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js +18 -0
  428. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js +18 -0
  429. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js +18 -0
  430. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js +18 -0
  431. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js +18 -0
  432. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js +18 -0
  433. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js +18 -0
  434. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js +18 -0
  435. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js +18 -0
  436. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js +18 -0
  437. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js +18 -0
  438. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js +18 -0
  439. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js +18 -0
  440. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js +18 -0
  441. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js +18 -0
  442. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js +18 -0
  443. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js +18 -0
  444. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js +18 -0
  445. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js +18 -0
  446. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js +18 -0
  447. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js +18 -0
  448. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js +18 -0
  449. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js +18 -0
  450. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js +18 -0
  451. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js +18 -0
  452. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js +18 -0
  453. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js +18 -0
  454. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js +18 -0
  455. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js +18 -0
  456. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js +18 -0
  457. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js +18 -0
  458. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js +18 -0
  459. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js +19 -0
  460. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js +18 -0
  461. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js +18 -0
  462. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js +18 -0
  463. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js +18 -0
  464. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js +18 -0
  465. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js +18 -0
  466. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js +18 -0
  467. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js +18 -0
  468. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js +18 -0
  469. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js +18 -0
  470. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js +18 -0
  471. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js +18 -0
  472. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js +18 -0
  473. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js +18 -0
  474. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js +18 -0
  475. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js +18 -0
  476. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js +18 -0
  477. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js +18 -0
  478. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js +18 -0
  479. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js +18 -0
  480. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js +18 -0
  481. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js +18 -0
  482. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js +18 -0
  483. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js +18 -0
  484. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js +18 -0
  485. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js +18 -0
  486. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js +18 -0
  487. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js +18 -0
  488. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js +18 -0
  489. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js +18 -0
  490. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js +18 -0
  491. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js +18 -0
  492. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js +18 -0
  493. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js +18 -0
  494. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js +18 -0
  495. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js +18 -0
  496. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js +18 -0
  497. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GreekAndCoptic.js +18 -0
  498. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js +18 -0
  499. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js +18 -0
  500. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js +18 -0
  501. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js +18 -0
  502. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js +18 -0
  503. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js +18 -0
  504. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js +18 -0
  505. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js +18 -0
  506. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js +18 -0
  507. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js +18 -0
  508. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js +18 -0
  509. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js +18 -0
  510. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js +18 -0
  511. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js +18 -0
  512. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GreekAndCoptic.js +18 -0
  513. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js +18 -0
  514. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedA.js +18 -0
  515. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedB.js +18 -0
  516. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js +18 -0
  517. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js +18 -0
  518. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Arrows.js +18 -0
  519. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js +18 -0
  520. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiactForSymbols.js +18 -0
  521. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeneralPunctuation.js +18 -0
  522. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js +18 -0
  523. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GreekAndCoptic.js +18 -0
  524. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Latin1Supplement.js +18 -0
  525. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedA.js +18 -0
  526. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedB.js +18 -0
  527. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LetterlikeSymbols.js +18 -0
  528. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js +18 -0
  529. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MathOperators.js +18 -0
  530. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscMathSymbolsA.js +18 -0
  531. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js +18 -0
  532. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscTechnical.js +18 -0
  533. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SuppMathOperators.js +18 -0
  534. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SupplementalArrowsA.js +18 -0
  535. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js +18 -0
  536. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js +18 -0
  537. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js +18 -0
  538. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js +18 -0
  539. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js +18 -0
  540. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js +18 -0
  541. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js +18 -0
  542. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js +18 -0
  543. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js +18 -0
  544. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js +18 -0
  545. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js +18 -0
  546. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js +18 -0
  547. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js +18 -0
  548. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js +18 -0
  549. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js +18 -0
  550. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js +18 -0
  551. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js +18 -0
  552. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js +18 -0
  553. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js +18 -0
  554. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js +18 -0
  555. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js +18 -0
  556. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js +18 -0
  557. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js +18 -0
  558. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js +18 -0
  559. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js +18 -0
  560. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js +18 -0
  561. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js +18 -0
  562. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js +18 -0
  563. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js +19 -0
  564. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/imageFonts.js +18 -0
  565. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/HTML-CSS/jax.js +19 -0
  566. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/NativeMML/config.js +18 -0
  567. data/lib/amiba/frontend/public/javascript/MathJax/jax/output/NativeMML/jax.js +18 -0
  568. data/lib/amiba/frontend/public/javascript/MathJax/test/index-images.html +127 -0
  569. data/lib/amiba/frontend/public/javascript/MathJax/test/index.html +177 -0
  570. data/lib/amiba/frontend/public/javascript/MathJax/test/sample-dynamic.html +54 -0
  571. data/lib/amiba/frontend/public/javascript/MathJax/test/sample-mml.html +44 -0
  572. data/lib/amiba/frontend/public/javascript/MathJax/test/sample-signals.html +121 -0
  573. data/lib/amiba/frontend/public/javascript/MathJax/test/sample-tex.html +22 -0
  574. data/lib/amiba/frontend/public/javascript/MathJax/test/sample-tex2mml.html +23 -0
  575. data/lib/amiba/frontend/public/javascript/MathJax/test/sample.html +99 -0
  576. data/lib/amiba/frontend/public/javascript/editor/gollum.editor.js +1084 -0
  577. data/lib/amiba/frontend/public/javascript/editor/langs/asciidoc.js +168 -0
  578. data/lib/amiba/frontend/public/javascript/editor/langs/creole.js +103 -0
  579. data/lib/amiba/frontend/public/javascript/editor/langs/markdown.js +211 -0
  580. data/lib/amiba/frontend/public/javascript/editor/langs/org.js +173 -0
  581. data/lib/amiba/frontend/public/javascript/editor/langs/pod.js +111 -0
  582. data/lib/amiba/frontend/public/javascript/editor/langs/rdoc.js +74 -0
  583. data/lib/amiba/frontend/public/javascript/editor/langs/textile.js +175 -0
  584. data/lib/amiba/frontend/public/javascript/gollum.dialog.js +206 -0
  585. data/lib/amiba/frontend/public/javascript/gollum.js +191 -0
  586. data/lib/amiba/frontend/public/javascript/gollum.placeholder.js +54 -0
  587. data/lib/amiba/frontend/public/javascript/jquery.color.js +123 -0
  588. data/lib/amiba/frontend/public/javascript/jquery.js +7179 -0
  589. data/lib/amiba/frontend/templates/compare.mustache +53 -0
  590. data/lib/amiba/frontend/templates/create.mustache +15 -0
  591. data/lib/amiba/frontend/templates/edit.mustache +17 -0
  592. data/lib/amiba/frontend/templates/editor.mustache +96 -0
  593. data/lib/amiba/frontend/templates/error.mustache +8 -0
  594. data/lib/amiba/frontend/templates/history.mustache +60 -0
  595. data/lib/amiba/frontend/templates/index.mustache +36 -0
  596. data/lib/amiba/frontend/templates/layout.mustache +28 -0
  597. data/lib/amiba/frontend/templates/page.mustache +31 -0
  598. data/lib/amiba/frontend/templates/search.mustache +36 -0
  599. data/lib/amiba/frontend/templates/searchbar.mustache +10 -0
  600. data/lib/amiba/frontend/views/compare.rb +94 -0
  601. data/lib/amiba/frontend/views/create.rb +44 -0
  602. data/lib/amiba/frontend/views/edit.rb +30 -0
  603. data/lib/amiba/frontend/views/editable.rb +21 -0
  604. data/lib/amiba/frontend/views/error.rb +7 -0
  605. data/lib/amiba/frontend/views/history.rb +44 -0
  606. data/lib/amiba/frontend/views/index.rb +19 -0
  607. data/lib/amiba/frontend/views/layout.rb +29 -0
  608. data/lib/amiba/frontend/views/page.rb +27 -0
  609. data/lib/amiba/frontend/views/search.rb +20 -0
  610. data/lib/amiba/page.rb +6 -1
  611. data/lib/amiba/scope.rb +11 -7
  612. data/lib/amiba/site.rb +19 -8
  613. data/lib/amiba/source.rb +11 -19
  614. data/lib/amiba/source/entry.rb +26 -5
  615. data/lib/amiba/source/entry_finder.rb +8 -0
  616. data/lib/amiba/source/feed.rb +0 -4
  617. data/lib/amiba/source/partial.rb +1 -4
  618. data/lib/amiba/tilt.rb +19 -0
  619. metadata +718 -120
@@ -0,0 +1,16 @@
1
+ (function(){var j=this,n=j._,i=function(a){this._wrapped=a},m=typeof StopIteration!=="undefined"?StopIteration:"__break__",b=j._=function(a){return new i(a)};if(typeof exports!=="undefined")exports._=b;var k=Array.prototype.slice,o=Array.prototype.unshift,p=Object.prototype.toString,q=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;b.VERSION="0.5.5";b.each=function(a,c,d){try{if(a.forEach)a.forEach(c,d);else if(b.isArray(a)||b.isArguments(a))for(var e=0,f=a.length;e<f;e++)c.call(d,
2
+ a[e],e,a);else{var g=b.keys(a);f=g.length;for(e=0;e<f;e++)c.call(d,a[g[e]],g[e],a)}}catch(h){if(h!=m)throw h;}return a};b.map=function(a,c,d){if(a&&b.isFunction(a.map))return a.map(c,d);var e=[];b.each(a,function(f,g,h){e.push(c.call(d,f,g,h))});return e};b.reduce=function(a,c,d,e){if(a&&b.isFunction(a.reduce))return a.reduce(b.bind(d,e),c);b.each(a,function(f,g,h){c=d.call(e,c,f,g,h)});return c};b.reduceRight=function(a,c,d,e){if(a&&b.isFunction(a.reduceRight))return a.reduceRight(b.bind(d,e),c);
3
+ var f=b.clone(b.toArray(a)).reverse();b.each(f,function(g,h){c=d.call(e,c,g,h,a)});return c};b.detect=function(a,c,d){var e;b.each(a,function(f,g,h){if(c.call(d,f,g,h)){e=f;b.breakLoop()}});return e};b.select=function(a,c,d){if(a&&b.isFunction(a.filter))return a.filter(c,d);var e=[];b.each(a,function(f,g,h){c.call(d,f,g,h)&&e.push(f)});return e};b.reject=function(a,c,d){var e=[];b.each(a,function(f,g,h){!c.call(d,f,g,h)&&e.push(f)});return e};b.all=function(a,c,d){c=c||b.identity;if(a&&b.isFunction(a.every))return a.every(c,
4
+ d);var e=true;b.each(a,function(f,g,h){(e=e&&c.call(d,f,g,h))||b.breakLoop()});return e};b.any=function(a,c,d){c=c||b.identity;if(a&&b.isFunction(a.some))return a.some(c,d);var e=false;b.each(a,function(f,g,h){if(e=c.call(d,f,g,h))b.breakLoop()});return e};b.include=function(a,c){if(b.isArray(a))return b.indexOf(a,c)!=-1;var d=false;b.each(a,function(e){if(d=e===c)b.breakLoop()});return d};b.invoke=function(a,c){var d=b.rest(arguments,2);return b.map(a,function(e){return(c?e[c]:e).apply(e,d)})};b.pluck=
5
+ function(a,c){return b.map(a,function(d){return d[c]})};b.max=function(a,c,d){if(!c&&b.isArray(a))return Math.max.apply(Math,a);var e={computed:-Infinity};b.each(a,function(f,g,h){g=c?c.call(d,f,g,h):f;g>=e.computed&&(e={value:f,computed:g})});return e.value};b.min=function(a,c,d){if(!c&&b.isArray(a))return Math.min.apply(Math,a);var e={computed:Infinity};b.each(a,function(f,g,h){g=c?c.call(d,f,g,h):f;g<e.computed&&(e={value:f,computed:g})});return e.value};b.sortBy=function(a,c,d){return b.pluck(b.map(a,
6
+ function(e,f,g){return{value:e,criteria:c.call(d,e,f,g)}}).sort(function(e,f){e=e.criteria;f=f.criteria;return e<f?-1:e>f?1:0}),"value")};b.sortedIndex=function(a,c,d){d=d||b.identity;for(var e=0,f=a.length;e<f;){var g=e+f>>1;d(a[g])<d(c)?(e=g+1):(f=g)}return e};b.toArray=function(a){if(!a)return[];if(a.toArray)return a.toArray();if(b.isArray(a))return a;if(b.isArguments(a))return k.call(a);return b.values(a)};b.size=function(a){return b.toArray(a).length};b.first=function(a,c,d){return c&&!d?k.call(a,
7
+ 0,c):a[0]};b.rest=function(a,c,d){return k.call(a,b.isUndefined(c)||d?1:c)};b.last=function(a){return a[a.length-1]};b.compact=function(a){return b.select(a,function(c){return!!c})};b.flatten=function(a){return b.reduce(a,[],function(c,d){if(b.isArray(d))return c.concat(b.flatten(d));c.push(d);return c})};b.without=function(a){var c=b.rest(arguments);return b.select(a,function(d){return!b.include(c,d)})};b.uniq=function(a,c){return b.reduce(a,[],function(d,e,f){if(0==f||(c===true?b.last(d)!=e:!b.include(d,
8
+ e)))d.push(e);return d})};b.intersect=function(a){var c=b.rest(arguments);return b.select(b.uniq(a),function(d){return b.all(c,function(e){return b.indexOf(e,d)>=0})})};b.zip=function(){for(var a=b.toArray(arguments),c=b.max(b.pluck(a,"length")),d=new Array(c),e=0;e<c;e++)d[e]=b.pluck(a,String(e));return d};b.indexOf=function(a,c){if(a.indexOf)return a.indexOf(c);for(var d=0,e=a.length;d<e;d++)if(a[d]===c)return d;return-1};b.lastIndexOf=function(a,c){if(a.lastIndexOf)return a.lastIndexOf(c);for(var d=
9
+ a.length;d--;)if(a[d]===c)return d;return-1};b.range=function(a,c,d){var e=b.toArray(arguments),f=e.length<=1;a=f?0:e[0];c=f?e[0]:e[1];d=e[2]||1;e=Math.ceil((c-a)/d);if(e<=0)return[];e=new Array(e);f=a;for(var g=0;1;f+=d){if((d>0?f-c:c-f)>=0)return e;e[g++]=f}};b.bind=function(a,c){var d=b.rest(arguments,2);return function(){return a.apply(c||j,d.concat(b.toArray(arguments)))}};b.bindAll=function(a){var c=b.rest(arguments);if(c.length==0)c=b.functions(a);b.each(c,function(d){a[d]=b.bind(a[d],a)});
10
+ return a};b.delay=function(a,c){var d=b.rest(arguments,2);return setTimeout(function(){return a.apply(a,d)},c)};b.defer=function(a){return b.delay.apply(b,[a,1].concat(b.rest(arguments)))};b.wrap=function(a,c){return function(){var d=[a].concat(b.toArray(arguments));return c.apply(c,d)}};b.compose=function(){var a=b.toArray(arguments);return function(){for(var c=b.toArray(arguments),d=a.length-1;d>=0;d--)c=[a[d].apply(this,c)];return c[0]}};b.keys=function(a){if(b.isArray(a))return b.range(0,a.length);
11
+ var c=[];for(var d in a)q.call(a,d)&&c.push(d);return c};b.values=function(a){return b.map(a,b.identity)};b.functions=function(a){return b.select(b.keys(a),function(c){return b.isFunction(a[c])}).sort()};b.extend=function(a,c){for(var d in c)a[d]=c[d];return a};b.clone=function(a){if(b.isArray(a))return a.slice(0);return b.extend({},a)};b.tap=function(a,c){c(a);return a};b.isEqual=function(a,c){if(a===c)return true;var d=typeof a;if(d!=typeof c)return false;if(a==c)return true;if(!a&&c||a&&!c)return false;
12
+ if(a.isEqual)return a.isEqual(c);if(b.isDate(a)&&b.isDate(c))return a.getTime()===c.getTime();if(b.isNaN(a)&&b.isNaN(c))return true;if(b.isRegExp(a)&&b.isRegExp(c))return a.source===c.source&&a.global===c.global&&a.ignoreCase===c.ignoreCase&&a.multiline===c.multiline;if(d!=="object")return false;if(a.length&&a.length!==c.length)return false;d=b.keys(a);var e=b.keys(c);if(d.length!=e.length)return false;for(var f in a)if(!b.isEqual(a[f],c[f]))return false;return true};b.isEmpty=function(a){return b.keys(a).length==
13
+ 0};b.isElement=function(a){return!!(a&&a.nodeType==1)};b.isArray=function(a){return!!(a&&a.concat&&a.unshift)};b.isArguments=function(a){return a&&b.isNumber(a.length)&&!b.isArray(a)&&!r.call(a,"length")};b.isFunction=function(a){return!!(a&&a.constructor&&a.call&&a.apply)};b.isString=function(a){return!!(a===""||a&&a.charCodeAt&&a.substr)};b.isNumber=function(a){return p.call(a)==="[object Number]"};b.isDate=function(a){return!!(a&&a.getTimezoneOffset&&a.setUTCFullYear)};b.isRegExp=function(a){return!!(a&&
14
+ a.test&&a.exec&&(a.ignoreCase||a.ignoreCase===false))};b.isNaN=function(a){return b.isNumber(a)&&isNaN(a)};b.isNull=function(a){return a===null};b.isUndefined=function(a){return typeof a=="undefined"};b.noConflict=function(){j._=n;return this};b.identity=function(a){return a};b.breakLoop=function(){throw m;};var s=0;b.uniqueId=function(a){var c=s++;return a?a+c:c};b.template=function(a,c){a=new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+a.replace(/[\r\t\n]/g,
15
+ " ").replace(/'(?=[^%]*%>)/g,"\t").split("'").join("\\'").split("\t").join("'").replace(/<%=(.+?)%>/g,"',$1,'").split("<%").join("');").split("%>").join("p.push('")+"');}return p.join('');");return c?a(c):a};b.forEach=b.each;b.foldl=b.inject=b.reduce;b.foldr=b.reduceRight;b.filter=b.select;b.every=b.all;b.some=b.any;b.head=b.first;b.tail=b.rest;b.methods=b.functions;var l=function(a,c){return c?b(a).chain():a};b.each(b.functions(b),function(a){var c=b[a];i.prototype[a]=function(){var d=b.toArray(arguments);
16
+ o.call(d,this._wrapped);return l(c.apply(b,d),this._chain)}});b.each(["pop","push","reverse","shift","sort","splice","unshift"],function(a){var c=Array.prototype[a];i.prototype[a]=function(){c.apply(this._wrapped,arguments);return l(this._wrapped,this._chain)}});b.each(["concat","join","slice"],function(a){var c=Array.prototype[a];i.prototype[a]=function(){return l(c.apply(this._wrapped,arguments),this._chain)}});i.prototype.chain=function(){this._chain=true;return this};i.prototype.value=function(){return this._wrapped}})();
@@ -0,0 +1,406 @@
1
+
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml">
6
+ <head>
7
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+
9
+ <title>The MathJax.Ajax Object &mdash; MathJax v1.0 documentation</title>
10
+ <link rel="stylesheet" href="../_static/mj.css" type="text/css" />
11
+ <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
12
+ <script type="text/javascript">
13
+ var DOCUMENTATION_OPTIONS = {
14
+ URL_ROOT: '../',
15
+ VERSION: '1.0',
16
+ COLLAPSE_INDEX: false,
17
+ FILE_SUFFIX: '.html',
18
+ HAS_SOURCE: true
19
+ };
20
+ </script>
21
+ <script type="text/javascript" src="../_static/jquery.js"></script>
22
+ <script type="text/javascript" src="../_static/underscore.js"></script>
23
+ <script type="text/javascript" src="../_static/doctools.js"></script>
24
+ <link rel="top" title="MathJax v1.0 documentation" href="../index.html" />
25
+ <link rel="up" title="The MathJax API" href="index.html" />
26
+ <link rel="next" title="The MathJax.Message Object" href="message.html" />
27
+ <link rel="prev" title="The MathJax.Hub Object" href="hub.html" />
28
+ </head>
29
+ <body>
30
+ <div class="related">
31
+ <h3>Navigation</h3>
32
+ <ul>
33
+ <li class="right" style="margin-right: 10px">
34
+ <a href="../genindex.html" title="General Index"
35
+ accesskey="I">index</a></li>
36
+ <li class="right" >
37
+ <a href="message.html" title="The MathJax.Message Object"
38
+ accesskey="N">next</a> |</li>
39
+ <li class="right" >
40
+ <a href="hub.html" title="The MathJax.Hub Object"
41
+ accesskey="P">previous</a> |</li>
42
+ <li><a href="../index.html">MathJax v1.0 documentation</a> &raquo;</li>
43
+ <li><a href="index.html" accesskey="U">The MathJax API</a> &raquo;</li>
44
+ </ul>
45
+ </div>
46
+
47
+ <div class="document">
48
+ <div class="documentwrapper">
49
+ <div class="bodywrapper">
50
+ <div class="body">
51
+
52
+ <div class="section" id="the-mathjax-ajax-object">
53
+ <span id="api-ajax"></span><h1>The MathJax.Ajax Object<a class="headerlink" href="#the-mathjax-ajax-object" title="Permalink to this headline">¶</a></h1>
54
+ <p>The <cite>MathJax.Ajax</cite> structure holds the data and functions for handling
55
+ loading of external modules. Modules are loaded only once, even if
56
+ called for in several places. The loading of files is asynchronous,
57
+ and so the code that requests an external module will continue to run
58
+ even when that module has not completed loading, so it is important to
59
+ be aware of the timing issues this may cause. Similarly, creating or
60
+ loading stylesheets is an asynchronous action. In particular, all
61
+ actions that rely on the file or stylesheet having been loaded must be
62
+ delayed until after the file has been downloaded completely. This is
63
+ the reason for the large number of routines that take callback
64
+ functions.</p>
65
+ <p>Any operation that could cause the loading of a file or stylesheet
66
+ must be synchronized with the rest of the code via such callbacks.
67
+ Since processing any mathematics might cause files to be loaded (e.g.,
68
+ little-used markup might be implemented in an extension that is loaded
69
+ only when that markup is used), any code that dynamically typesets
70
+ mathematics will need to be structured to use callbacks to guarantee
71
+ that the mathematics has been completely processed before the code
72
+ tries to use it. See the <a class="reference internal" href="../synchronize.html#synchronization"><em>Synchronizing with MathJax</em></a>
73
+ documentation for details on how to do this properly.</p>
74
+ <div class="section" id="properties">
75
+ <h2>Properties<a class="headerlink" href="#properties" title="Permalink to this headline">¶</a></h2>
76
+ <dl class="describe">
77
+ <dt>
78
+ <tt class="descname">timeout</tt></dt>
79
+ <dd><p>Number of milliseconds to wait for a file to load before
80
+ it is considered to have failed to load.</p>
81
+ <p><em>Default:</em> 20 seconds</p>
82
+ </dd></dl>
83
+
84
+ <dl class="describe">
85
+ <dt>
86
+ <tt class="descname">STATUS.OK</tt></dt>
87
+ <dd><p>The value used to indicate that a file load has occurred
88
+ successfully.</p>
89
+ </dd></dl>
90
+
91
+ <dl class="describe">
92
+ <dt>
93
+ <tt class="descname">STATUS.ERROR</tt></dt>
94
+ <dd><p>The value used to indicate that a file load has caused an error or
95
+ a timeout to occur.</p>
96
+ </dd></dl>
97
+
98
+ <dl class="describe">
99
+ <dt>
100
+ <tt class="descname">loaded</tt></dt>
101
+ <dd><p>An object containing the names of the files that have been loaded (or
102
+ requested) so far. <tt class="docutils literal"><span class="pre">MathJax.Ajax.loaded[&quot;file&quot;]</span></tt> will be
103
+ non-<tt class="docutils literal"><span class="pre">null</span></tt> when the file has been loaded, with the value being
104
+ the <tt class="docutils literal"><span class="pre">MathJax.Ajax.STATUS</span></tt> value of the load attempt.</p>
105
+ </dd></dl>
106
+
107
+ <dl class="describe">
108
+ <dt>
109
+ <tt class="descname">loading</tt></dt>
110
+ <dd><p>An object containing the files that are currently loading, the
111
+ callbacks that are to be run when they load or timeout, and
112
+ additional internal data.</p>
113
+ </dd></dl>
114
+
115
+ </div>
116
+ <div class="section" id="methods">
117
+ <h2>Methods<a class="headerlink" href="#methods" title="Permalink to this headline">¶</a></h2>
118
+ <dl class="method">
119
+ <dt id="Require">
120
+ <tt class="descname">Require</tt><big>(</big><em>file</em><span class="optional">[</span>, <em>callback</em><span class="optional">]</span><big>)</big><a class="headerlink" href="#Require" title="Permalink to this definition">¶</a></dt>
121
+ <dd><p>Loads the given file if it hasn&#8217;t been already. The file must be a
122
+ JavaScript file or a CSS stylesheet; i.e., it must end in <tt class="docutils literal"><span class="pre">.js</span></tt>
123
+ or <tt class="docutils literal"><span class="pre">.css</span></tt>. Alternatively, it can be an object with a single
124
+ <cite>key:value</cite> pair where the <cite>key</cite> is one of <tt class="docutils literal"><span class="pre">js</span></tt> or <tt class="docutils literal"><span class="pre">css</span></tt> and
125
+ the <cite>value</cite> is the file of that type to be loaded (this makes it
126
+ possible to have the file be created by a CGI script, for example,
127
+ or to use a <tt class="docutils literal"><span class="pre">data::</span></tt> URL). The file must be relative to the
128
+ MathJax home directory and can not contain <tt class="docutils literal"><span class="pre">../</span></tt> file path
129
+ components.</p>
130
+ <p>When the file is completely loaded and run, the <cite>callback</cite>, if
131
+ provided, will be executed passing it the status of the file load.
132
+ If there was an error while loading the file, or if the file fails
133
+ to load within the time limit given by <tt class="docutils literal"><span class="pre">MathJax.Ajax.timout</span></tt>,
134
+ the status will be <tt class="docutils literal"><span class="pre">MathJax.Ajax.STATUS.ERROR</span></tt> otherwise it
135
+ will be <tt class="docutils literal"><span class="pre">MathJax.Ajax.STATUS.OK</span></tt>. If the file is already
136
+ loaded, the callback will be called immediately and the file will
137
+ not be loaded again.</p>
138
+ <table class="docutils field-list" frame="void" rules="none">
139
+ <col class="field-name" />
140
+ <col class="field-body" />
141
+ <tbody valign="top">
142
+ <tr class="field"><th class="field-name">Parameters :</th><td class="field-body"><ul class="first simple">
143
+ <li><strong>file</strong> &#8212; name of the file to be loaded</li>
144
+ <li><strong>callback</strong> &#8212; the callback specification</li>
145
+ </ul>
146
+ </td>
147
+ </tr>
148
+ <tr class="field"><th class="field-name">Returns :</th><td class="field-body"><p class="first last">the callback object</p>
149
+ </td>
150
+ </tr>
151
+ </tbody>
152
+ </table>
153
+ </dd></dl>
154
+
155
+ <dl class="method">
156
+ <dt id="Load">
157
+ <tt class="descname">Load</tt><big>(</big><em>file</em><span class="optional">[</span>, <em>callback</em><span class="optional">]</span><big>)</big><a class="headerlink" href="#Load" title="Permalink to this definition">¶</a></dt>
158
+ <dd><p>Used internally to load a given file without checking if it
159
+ already has been loaded, or where it is to be found.</p>
160
+ <table class="docutils field-list" frame="void" rules="none">
161
+ <col class="field-name" />
162
+ <col class="field-body" />
163
+ <tbody valign="top">
164
+ <tr class="field"><th class="field-name">Parameters :</th><td class="field-body"><ul class="first simple">
165
+ <li><strong>file</strong> &#8212; name of the file to be loaded</li>
166
+ <li><strong>callback</strong> &#8212; the callback specification</li>
167
+ </ul>
168
+ </td>
169
+ </tr>
170
+ <tr class="field"><th class="field-name">Returns :</th><td class="field-body"><p class="first last">the callback object</p>
171
+ </td>
172
+ </tr>
173
+ </tbody>
174
+ </table>
175
+ </dd></dl>
176
+
177
+ <dl class="method">
178
+ <dt id="loadComplete">
179
+ <tt class="descname">loadComplete</tt><big>(</big><em>file</em><big>)</big><a class="headerlink" href="#loadComplete" title="Permalink to this definition">¶</a></dt>
180
+ <dd><p>Called from within the loaded files to inform MathJax that the
181
+ file has been completely loaded and initialized. The <cite>file</cite>
182
+ parameter is the name of the file that has been loaded. This
183
+ routine will cause any callback functions registered for the file
184
+ or included in the :meth:<tt class="docutils literal"><span class="pre">MathJax.Ajax.Require()</span></tt> calls to be
185
+ executed, passing them the status or the load
186
+ (<cite>MathJax.Ajax.STATUS.OK`</cite> or <tt class="docutils literal"><span class="pre">MathJax.Ajax.STATUS.ERROR</span></tt>) as
187
+ their last parameter.</p>
188
+ <table class="docutils field-list" frame="void" rules="none">
189
+ <col class="field-name" />
190
+ <col class="field-body" />
191
+ <tbody valign="top">
192
+ <tr class="field"><th class="field-name">Parameters :</th><td class="field-body"><ul class="first simple">
193
+ <li><strong>file</strong> &#8212; name of the file that has been loaded</li>
194
+ </ul>
195
+ </td>
196
+ </tr>
197
+ <tr class="field"><th class="field-name">Returns :</th><td class="field-body"><p class="first last"><tt class="docutils literal"><span class="pre">null</span></tt></p>
198
+ </td>
199
+ </tr>
200
+ </tbody>
201
+ </table>
202
+ </dd></dl>
203
+
204
+ <dl class="method">
205
+ <dt id="loadTimeout">
206
+ <tt class="descname">loadTimeout</tt><big>(</big><em>file</em><big>)</big><a class="headerlink" href="#loadTimeout" title="Permalink to this definition">¶</a></dt>
207
+ <dd><p>Called when the timeout period is over and the file hasn&#8217;t loaded.
208
+ This indicates an error condition, and the
209
+ <tt class="xref py py-meth docutils literal"><span class="pre">MathJax.Ajax.loadError()</span></tt> method will be executed, then the
210
+ file&#8217;s callback will be run with <tt class="docutils literal"><span class="pre">MathJax.Ajax.STATUS.ERROR</span></tt> as
211
+ its parameter.</p>
212
+ <table class="docutils field-list" frame="void" rules="none">
213
+ <col class="field-name" />
214
+ <col class="field-body" />
215
+ <tbody valign="top">
216
+ <tr class="field"><th class="field-name">Parameters :</th><td class="field-body"><ul class="first simple">
217
+ <li><strong>file</strong> &#8212; name of the file that timed out</li>
218
+ </ul>
219
+ </td>
220
+ </tr>
221
+ <tr class="field"><th class="field-name">Returns :</th><td class="field-body"><p class="first last"><tt class="docutils literal"><span class="pre">null</span></tt></p>
222
+ </td>
223
+ </tr>
224
+ </tbody>
225
+ </table>
226
+ </dd></dl>
227
+
228
+ <dl class="method">
229
+ <dt id="loadError">
230
+ <tt class="descname">loadError</tt><big>(</big><em>file</em><big>)</big><a class="headerlink" href="#loadError" title="Permalink to this definition">¶</a></dt>
231
+ <dd><p>The default error handler called when a file fails to load. It
232
+ puts a warning message into the MathJax message box on screen.</p>
233
+ <table class="docutils field-list" frame="void" rules="none">
234
+ <col class="field-name" />
235
+ <col class="field-body" />
236
+ <tbody valign="top">
237
+ <tr class="field"><th class="field-name">Parameters :</th><td class="field-body"><ul class="first simple">
238
+ <li><strong>file</strong> &#8212; the name of the file that failed to load</li>
239
+ </ul>
240
+ </td>
241
+ </tr>
242
+ <tr class="field"><th class="field-name">Returns :</th><td class="field-body"><p class="first last"><tt class="docutils literal"><span class="pre">null</span></tt></p>
243
+ </td>
244
+ </tr>
245
+ </tbody>
246
+ </table>
247
+ </dd></dl>
248
+
249
+ <dl class="method">
250
+ <dt id="loadHook">
251
+ <tt class="descname">loadHook</tt><big>(</big><em>file</em>, <em>callback</em><big>)</big><a class="headerlink" href="#loadHook" title="Permalink to this definition">¶</a></dt>
252
+ <dd><p>Registers a callback to be executed when the given file is
253
+ loaded. The file load operation need to be started when this
254
+ method is called, so it can be used to register a hook for a file
255
+ that may be loaded in the future.</p>
256
+ <table class="docutils field-list" frame="void" rules="none">
257
+ <col class="field-name" />
258
+ <col class="field-body" />
259
+ <tbody valign="top">
260
+ <tr class="field"><th class="field-name">Parameters :</th><td class="field-body"><ul class="first simple">
261
+ <li><strong>file</strong> &#8212; the name of the file to wait for</li>
262
+ <li><strong>callback</strong> &#8212; the callback specification</li>
263
+ </ul>
264
+ </td>
265
+ </tr>
266
+ <tr class="field"><th class="field-name">Returns :</th><td class="field-body"><p class="first last">the callback object</p>
267
+ </td>
268
+ </tr>
269
+ </tbody>
270
+ </table>
271
+ </dd></dl>
272
+
273
+ <dl class="method">
274
+ <dt id="Styles">
275
+ <tt class="descname">Styles</tt><big>(</big><em>styles</em><span class="optional">[</span>, <em>callback</em><span class="optional">]</span><big>)</big><a class="headerlink" href="#Styles" title="Permalink to this definition">¶</a></dt>
276
+ <dd><p>Creates a stylesheet from the given style data. <cite>styles</cite> can
277
+ either be a string containing a stylesheet definition, or an
278
+ object containing a <a class="reference internal" href="../CSS-styles.html#css-style-objects"><em>CSS Style Object</em></a>.
279
+ For example:</p>
280
+ <div class="highlight-javascript"><div class="highlight"><pre><span class="nx">MathJax</span><span class="p">.</span><span class="nx">Ajax</span><span class="p">.</span><span class="nx">Styles</span><span class="p">(</span><span class="s2">&quot;body {font-family: serif; font-style: italic}&quot;</span><span class="p">);</span>
281
+ </pre></div>
282
+ </div>
283
+ <p>and</p>
284
+ <div class="highlight-javascript"><div class="highlight"><pre><span class="nx">MathJax</span><span class="p">.</span><span class="nx">Ajax</span><span class="p">.</span><span class="nx">Styles</span><span class="p">({</span>
285
+ <span class="nx">body</span><span class="o">:</span> <span class="p">{</span>
286
+ <span class="s2">&quot;font-family&quot;</span><span class="o">:</span> <span class="s2">&quot;serif&quot;</span><span class="p">,</span>
287
+ <span class="s2">&quot;font-style&quot;</span><span class="o">:</span> <span class="s2">&quot;italic&quot;</span>
288
+ <span class="p">}</span>
289
+ <span class="p">});</span>
290
+ </pre></div>
291
+ </div>
292
+ <p>both set the body font family and style.</p>
293
+ <p>The callback routine is called when the stylesheet has been
294
+ created and is available for use.</p>
295
+ <table class="docutils field-list" frame="void" rules="none">
296
+ <col class="field-name" />
297
+ <col class="field-body" />
298
+ <tbody valign="top">
299
+ <tr class="field"><th class="field-name">Parameters :</th><td class="field-body"><ul class="first simple">
300
+ <li><strong>styles</strong> &#8212; CSS style object for the styles to set</li>
301
+ <li><strong>callback</strong> &#8212; the callback specification</li>
302
+ </ul>
303
+ </td>
304
+ </tr>
305
+ <tr class="field"><th class="field-name">Returns :</th><td class="field-body"><p class="first last">the callback object</p>
306
+ </td>
307
+ </tr>
308
+ </tbody>
309
+ </table>
310
+ <div class="admonition note">
311
+ <p class="first admonition-title">Note</p>
312
+ <p class="last">Internet Explorer has a limit of 32 dynamically created
313
+ stylesheets, so it is best to combine your styles into one
314
+ large group rather than making several smaller calls.</p>
315
+ </div>
316
+ </dd></dl>
317
+
318
+ <dl class="method">
319
+ <dt id="fileURL">
320
+ <tt class="descname">fileURL</tt><big>(</big><em>file</em><big>)</big><a class="headerlink" href="#fileURL" title="Permalink to this definition">¶</a></dt>
321
+ <dd><p>Returns a complete URL to a file (replacing <tt class="docutils literal"><span class="pre">[MathJax]</span></tt> with the
322
+ actual root URL location).</p>
323
+ <table class="docutils field-list" frame="void" rules="none">
324
+ <col class="field-name" />
325
+ <col class="field-body" />
326
+ <tbody valign="top">
327
+ <tr class="field"><th class="field-name">Parameters :</th><td class="field-body"><ul class="first simple">
328
+ <li><strong>file</strong> &#8212; the file name possibly including <tt class="docutils literal"><span class="pre">[MathJax]</span></tt></li>
329
+ </ul>
330
+ </td>
331
+ </tr>
332
+ <tr class="field"><th class="field-name">Returns :</th><td class="field-body"><p class="first last">the full URL for the file</p>
333
+ </td>
334
+ </tr>
335
+ </tbody>
336
+ </table>
337
+ </dd></dl>
338
+
339
+ </div>
340
+ </div>
341
+
342
+
343
+ </div>
344
+ </div>
345
+ </div>
346
+ <div class="sphinxsidebar">
347
+ <div class="sphinxsidebarwrapper">
348
+ <h3><a href="../index.html">Table Of Contents</a></h3>
349
+ <ul>
350
+ <li><a class="reference internal" href="#">The MathJax.Ajax Object</a><ul>
351
+ <li><a class="reference internal" href="#properties">Properties</a></li>
352
+ <li><a class="reference internal" href="#methods">Methods</a></li>
353
+ </ul>
354
+ </li>
355
+ </ul>
356
+
357
+ <h4>Previous topic</h4>
358
+ <p class="topless"><a href="hub.html"
359
+ title="previous chapter">The MathJax.Hub Object</a></p>
360
+ <h4>Next topic</h4>
361
+ <p class="topless"><a href="message.html"
362
+ title="next chapter">The MathJax.Message Object</a></p>
363
+ <h3>This Page</h3>
364
+ <ul class="this-page-menu">
365
+ <li><a href="../_sources/api/ajax.txt"
366
+ rel="nofollow">Show Source</a></li>
367
+ </ul>
368
+ <div id="searchbox" style="display: none">
369
+ <h3>Quick search</h3>
370
+ <form class="search" action="../search.html" method="get">
371
+ <input type="text" name="q" size="18" />
372
+ <input type="submit" value="Go" />
373
+ <input type="hidden" name="check_keywords" value="yes" />
374
+ <input type="hidden" name="area" value="default" />
375
+ </form>
376
+ <p class="searchtip" style="font-size: 90%">
377
+ Enter search terms or a module, class or function name.
378
+ </p>
379
+ </div>
380
+ <script type="text/javascript">$('#searchbox').show(0);</script>
381
+ </div>
382
+ </div>
383
+ <div class="clearer"></div>
384
+ </div>
385
+ <div class="related">
386
+ <h3>Navigation</h3>
387
+ <ul>
388
+ <li class="right" style="margin-right: 10px">
389
+ <a href="../genindex.html" title="General Index"
390
+ >index</a></li>
391
+ <li class="right" >
392
+ <a href="message.html" title="The MathJax.Message Object"
393
+ >next</a> |</li>
394
+ <li class="right" >
395
+ <a href="hub.html" title="The MathJax.Hub Object"
396
+ >previous</a> |</li>
397
+ <li><a href="../index.html">MathJax v1.0 documentation</a> &raquo;</li>
398
+ <li><a href="index.html" >The MathJax API</a> &raquo;</li>
399
+ </ul>
400
+ </div>
401
+ <div class="footer">
402
+ &copy; Copyright 2010 Design Science.
403
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0b2.
404
+ </div>
405
+ </body>
406
+ </html>
@@ -0,0 +1,435 @@
1
+
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml">
6
+ <head>
7
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+
9
+ <title>The MathJax.Callback Class &mdash; MathJax v1.0 documentation</title>
10
+ <link rel="stylesheet" href="../_static/mj.css" type="text/css" />
11
+ <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
12
+ <script type="text/javascript">
13
+ var DOCUMENTATION_OPTIONS = {
14
+ URL_ROOT: '../',
15
+ VERSION: '1.0',
16
+ COLLAPSE_INDEX: false,
17
+ FILE_SUFFIX: '.html',
18
+ HAS_SOURCE: true
19
+ };
20
+ </script>
21
+ <script type="text/javascript" src="../_static/jquery.js"></script>
22
+ <script type="text/javascript" src="../_static/underscore.js"></script>
23
+ <script type="text/javascript" src="../_static/doctools.js"></script>
24
+ <link rel="top" title="MathJax v1.0 documentation" href="../index.html" />
25
+ <link rel="up" title="The MathJax API" href="index.html" />
26
+ <link rel="next" title="The MathJax.Callback.Queue Class" href="queue.html" />
27
+ <link rel="prev" title="The MathJax.HTML Object" href="html.html" />
28
+ </head>
29
+ <body>
30
+ <div class="related">
31
+ <h3>Navigation</h3>
32
+ <ul>
33
+ <li class="right" style="margin-right: 10px">
34
+ <a href="../genindex.html" title="General Index"
35
+ accesskey="I">index</a></li>
36
+ <li class="right" >
37
+ <a href="queue.html" title="The MathJax.Callback.Queue Class"
38
+ accesskey="N">next</a> |</li>
39
+ <li class="right" >
40
+ <a href="html.html" title="The MathJax.HTML Object"
41
+ accesskey="P">previous</a> |</li>
42
+ <li><a href="../index.html">MathJax v1.0 documentation</a> &raquo;</li>
43
+ <li><a href="index.html" accesskey="U">The MathJax API</a> &raquo;</li>
44
+ </ul>
45
+ </div>
46
+
47
+ <div class="document">
48
+ <div class="documentwrapper">
49
+ <div class="bodywrapper">
50
+ <div class="body">
51
+
52
+ <div class="section" id="the-mathjax-callback-class">
53
+ <span id="api-callback"></span><h1>The MathJax.Callback Class<a class="headerlink" href="#the-mathjax-callback-class" title="Permalink to this headline">¶</a></h1>
54
+ <p>The <tt class="docutils literal"><span class="pre">MathJax.Callback</span></tt> object is one of the key mechanisms used by
55
+ MathJax to synchronize its actions with those that occur
56
+ asynchronously, like loading files and stylesheets. A <cite>Callback</cite>
57
+ object is used to tie the execution of a function to the completion of
58
+ an asynchronous action. See <a class="reference internal" href="../synchronize.html#synchronization"><em>Synchronizing with MathJax</em></a> for more details, and <a class="reference internal" href="../callbacks.html#using-callbacks"><em>Using Callbacks</em></a> in particular for examples of how to specify and
59
+ use MathJax <cite>Callback</cite> objects.</p>
60
+ <div class="section" id="specifying-a-callback">
61
+ <h2>Specifying a callback<a class="headerlink" href="#specifying-a-callback" title="Permalink to this headline">¶</a></h2>
62
+ <p>When a method includes a callback as one of its arguments, that
63
+ callback can be specified in a number of different ways, depending on
64
+ the functionality that is required of the callback. The easiest case
65
+ is to simply provide a function to be called, but it is also possible
66
+ to include data to pass to the function when it is executed, and even
67
+ the object that will be used as the javascript <cite>this</cite> object when the
68
+ function is called.</p>
69
+ <p>Most functions that take callbacks as arguments accept a <cite>callback
70
+ specification</cite> rather than an actual callback object, though you can
71
+ use the <tt class="xref py py-meth docutils literal"><span class="pre">MathJax.Callback()</span></tt> function to convert a callback
72
+ specification into a Callback object if needed.</p>
73
+ <p>A callback specification is any one of the following:</p>
74
+ <blockquote>
75
+ <dl class="describe">
76
+ <dt>
77
+ <tt class="descname">fn</tt></dt>
78
+ <dd><p>A function that is to be called when the callback is executed.
79
+ No additional data is passed to it (other that what it is
80
+ called with at the time the callback is executed), and <cite>this</cite>
81
+ will be the window object.</p>
82
+ </dd></dl>
83
+
84
+ <dl class="describe">
85
+ <dt>
86
+ <tt class="descname">[fn]</tt></dt>
87
+ <dd><p>An array containing a function to be called when the callback
88
+ is executed (as above).</p>
89
+ </dd></dl>
90
+
91
+ <dl class="describe">
92
+ <dt>
93
+ <tt class="descname">[fn, data...]</tt></dt>
94
+ <dd><p>An array containing a function together with data to be passed
95
+ to that function when the callback is executed; <cite>this</cite> is still
96
+ the window object. For example,</p>
97
+ <div class="highlight-javascript"><div class="highlight"><pre><span class="p">[</span><span class="kd">function</span> <span class="p">(</span><span class="nx">x</span><span class="p">,</span><span class="nx">y</span><span class="p">)</span> <span class="p">{</span><span class="k">return</span> <span class="nx">x</span><span class="o">+</span><span class="nx">y</span><span class="p">},</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span><span class="p">]</span>
98
+ </pre></div>
99
+ </div>
100
+ <p>would specify a callback that would pass <tt class="docutils literal"><span class="pre">2</span></tt> and <tt class="docutils literal"><span class="pre">3</span></tt> to
101
+ the given function, and it would return their sum, <tt class="docutils literal"><span class="pre">5</span></tt>, when
102
+ the callback is executed.</p>
103
+ <dl class="describe">
104
+ <dt>
105
+ <tt class="descname">[object, fn]</tt></dt>
106
+ <dd></dd></dl>
107
+
108
+ <p>An array containing an object to use as <cite>this</cite> and a function to
109
+ call for the callback. For example,</p>
110
+ <div class="highlight-javascript"><div class="highlight"><pre><span class="p">[{</span><span class="nx">x</span><span class="o">:</span><span class="s1">&#39;foo&#39;</span><span class="p">,</span> <span class="nx">y</span><span class="o">:</span><span class="s1">&#39;bar&#39;</span><span class="p">},</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span><span class="k">this</span><span class="p">.</span><span class="nx">x</span><span class="p">}]</span>
111
+ </pre></div>
112
+ </div>
113
+ <p>would produce a callback that returns the string <tt class="docutils literal"><span class="pre">&quot;foo&quot;</span></tt>
114
+ when it is called.</p>
115
+ </dd></dl>
116
+
117
+ <dl class="describe">
118
+ <dt>
119
+ <tt class="descname">[object, fn, data...]</tt></dt>
120
+ <dd><p>Similar to the previous case, but with data that is passed to
121
+ the function as well.</p>
122
+ </dd></dl>
123
+
124
+ <p>..describe:: [&#8220;method&#8221;, object]</p>
125
+ <blockquote>
126
+ <p>Here, <cite>object</cite> is an object that has a method called <cite>method</cite>, and
127
+ the callback will execute that method (with the object as
128
+ <cite>this</cite>) when it is called. For example,</p>
129
+ <div class="highlight-javascript"><div class="highlight"><pre><span class="p">[</span><span class="s2">&quot;length&quot;</span><span class="p">,[</span><span class="mi">1</span><span class="p">,</span><span class="mi">2</span><span class="p">,</span><span class="mi">3</span><span class="p">,</span><span class="mi">4</span><span class="p">]]</span>
130
+ </pre></div>
131
+ </div>
132
+ <p>would call the <cite>length</cite> method on the array <tt class="docutils literal"><span class="pre">[1,2,3,4]</span></tt> when
133
+ the callback is called, returning <tt class="docutils literal"><span class="pre">4</span></tt>.</p>
134
+ </blockquote>
135
+ <dl class="describe">
136
+ <dt>
137
+ <tt class="descname">[&quot;method&quot;, object, data...]</tt></dt>
138
+ <dd><p>Similar to the previous case, but with data that is passed to
139
+ the method. E.g.,</p>
140
+ <div class="highlight-javascript"><div class="highlight"><pre><span class="p">[</span><span class="s2">&quot;slice&quot;</span><span class="p">,[</span><span class="mi">1</span><span class="p">,</span><span class="mi">2</span><span class="p">,</span><span class="mi">3</span><span class="p">,</span><span class="mi">4</span><span class="p">],</span><span class="mi">1</span><span class="p">,</span><span class="mi">3</span><span class="p">]</span>
141
+ </pre></div>
142
+ </div>
143
+ <p>would perform the equivalent of <tt class="docutils literal"><span class="pre">[1,2,3,4].slice(1,3)</span></tt>,
144
+ which returns the array <tt class="docutils literal"><span class="pre">[2,3]</span></tt> as a result.</p>
145
+ </dd></dl>
146
+
147
+ <dl class="describe">
148
+ <dt>
149
+ <tt class="descname">{hook: fn, data: [...], object: this}</tt></dt>
150
+ <dd><p>Here the data for the callback are given in an associative
151
+ array of <cite>key:value</cite> pairs. The value of <cite>hook</cite> is the
152
+ function to call, the value of <cite>data</cite> is an array of the
153
+ arguments to pass to the function, and the value of <cite>object</cite>
154
+ is the object to use as <cite>this</cite> in the function call. The
155
+ specification need not include all three <cite>key:value</cite> pairs; any
156
+ that are missing get default values (a function that does
157
+ nothing, an empty array, and the window object, respectively).</p>
158
+ </dd></dl>
159
+
160
+ <dl class="describe">
161
+ <dt>
162
+ <tt class="descname">&quot;string&quot;</tt></dt>
163
+ <dd><p>This specifies a callback where the string is executed via an
164
+ <tt class="docutils literal"><span class="pre">eval()</span></tt> statement. The code is run in the global context,
165
+ so any variables or functions created by the string become
166
+ part of the global namespace. The return value is the value of
167
+ the last statement executed in the string.</p>
168
+ </dd></dl>
169
+
170
+ </blockquote>
171
+ <div class="section" id="executing-a-callback-object">
172
+ <h3>Executing a Callback Object<a class="headerlink" href="#executing-a-callback-object" title="Permalink to this headline">¶</a></h3>
173
+ <p>The <cite>Callback</cite> object is itself a function, and calling that function
174
+ executes the callback. You can pass the callback additional
175
+ parameters, just as you can any function, and these will be added to
176
+ the callback function&#8217;s argument list following any data that was
177
+ supplied at the time the callback was created. For example</p>
178
+ <div class="highlight-javascript"><div class="highlight"><pre><span class="kd">var</span> <span class="nx">f</span> <span class="o">=</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">x</span><span class="p">,</span><span class="nx">y</span><span class="p">)</span> <span class="p">{</span><span class="k">return</span> <span class="nx">x</span> <span class="o">+</span> <span class="s2">&quot; and &quot;</span> <span class="o">+</span><span class="nx">y</span><span class="p">}</span>
179
+ <span class="kd">var</span> <span class="nx">cb</span> <span class="o">=</span> <span class="nx">MathJax</span><span class="p">.</span><span class="nx">Callback</span><span class="p">([</span><span class="nx">f</span><span class="p">,</span> <span class="s2">&quot;foo&quot;</span><span class="p">]);</span>
180
+ <span class="kd">var</span> <span class="nx">result</span> <span class="o">=</span> <span class="nx">cb</span><span class="p">(</span><span class="s2">&quot;bar&quot;</span><span class="p">);</span> <span class="c1">// sets result to &quot;foo and bar&quot;</span>
181
+ </pre></div>
182
+ </div>
183
+ <p>Usually, the callback is not executed by the code that creates it (as
184
+ it is in the example above), but by some other code that runs at a
185
+ later time at the completion of some other activity (say the loading
186
+ of a file), or in response to a user action. For example:</p>
187
+ <div class="highlight-javascript"><div class="highlight"><pre><span class="kd">function</span> <span class="nx">f</span><span class="p">(</span><span class="nx">x</span><span class="p">)</span> <span class="p">{</span><span class="nx">alert</span><span class="p">(</span><span class="s2">&quot;x contains &quot;</span><span class="o">+</span><span class="nx">x</span><span class="p">)};</span>
188
+ <span class="kd">function</span> <span class="nx">DelayedX</span><span class="p">(</span><span class="nx">time</span><span class="p">)</span> <span class="p">{</span>
189
+ <span class="kd">var</span> <span class="nx">x</span> <span class="o">=</span> <span class="s2">&quot;hi&quot;</span><span class="p">;</span>
190
+ <span class="nx">setTimeout</span><span class="p">(</span><span class="nx">MathJax</span><span class="p">.</span><span class="nx">Callback</span><span class="p">([</span><span class="nx">f</span><span class="p">,</span> <span class="nx">x</span><span class="p">],</span> <span class="nx">time</span><span class="p">);</span>
191
+ <span class="p">}</span>
192
+ </pre></div>
193
+ </div>
194
+ <p>The <tt class="docutils literal"><span class="pre">DelayedX</span></tt> function arranges for the function <tt class="docutils literal"><span class="pre">f</span></tt> to be called at
195
+ a later time, passing it the value of a local variable, <tt class="docutils literal"><span class="pre">x</span></tt>. Normally,
196
+ this would require the use of a closure, but that is not needed when a
197
+ <cite>MathJax.Callback</cite> object is used.</p>
198
+ </div>
199
+ </div>
200
+ <div class="section" id="callback-object-properties">
201
+ <h2>Callback Object Properties<a class="headerlink" href="#callback-object-properties" title="Permalink to this headline">¶</a></h2>
202
+ <dl class="describe">
203
+ <dt>
204
+ <tt class="descname">hook</tt></dt>
205
+ <dd><p>The function to be called when the callback is executed.</p>
206
+ </dd></dl>
207
+
208
+ <dl class="describe">
209
+ <dt>
210
+ <tt class="descname">data</tt></dt>
211
+ <dd><p>An array containing the arguments to pass to the callback
212
+ function when it is executed.</p>
213
+ </dd></dl>
214
+
215
+ <dl class="describe">
216
+ <dt>
217
+ <tt class="descname">object</tt></dt>
218
+ <dd><p>The object to use as <cite>this</cite> during the call to the callback
219
+ function.</p>
220
+ </dd></dl>
221
+
222
+ <dl class="describe">
223
+ <dt>
224
+ <tt class="descname">called</tt></dt>
225
+ <dd><p>Set to <tt class="docutils literal"><span class="pre">true</span></tt> after the callback has been called, and undefined
226
+ otherwise. A callback will not be exectued a second time unless
227
+ the callback&#8217;s <a class="reference internal" href="#reset" title="reset"><tt class="xref py py-meth docutils literal"><span class="pre">reset()</span></tt></a> method is called first, or its
228
+ <tt class="docutils literal"><span class="pre">autoReset</span></tt> property is set to <tt class="docutils literal"><span class="pre">true</span></tt>.</p>
229
+ </dd></dl>
230
+
231
+ <dl class="describe">
232
+ <dt>
233
+ <tt class="descname">autoReset</tt></dt>
234
+ <dd><p>Set this to <tt class="docutils literal"><span class="pre">true</span></tt> if you want to be able to call the callback
235
+ more than once. (This is the case for signal listeners, for example).</p>
236
+ </dd></dl>
237
+
238
+ <dl class="describe">
239
+ <dt>
240
+ <tt class="descname">isCallback</tt></dt>
241
+ <dd><p>Always set to <tt class="docutils literal"><span class="pre">true</span></tt> (used to detect if an object is a callback
242
+ or not).</p>
243
+ </dd></dl>
244
+
245
+ </div>
246
+ <div class="section" id="callback-object-methods">
247
+ <h2>Callback Object Methods<a class="headerlink" href="#callback-object-methods" title="Permalink to this headline">¶</a></h2>
248
+ <dl class="method">
249
+ <dt id="reset">
250
+ <tt class="descname">reset</tt><big>(</big><big>)</big><a class="headerlink" href="#reset" title="Permalink to this definition">¶</a></dt>
251
+ <dd><p>Clears the callback&#8217;s <cite>called</cite> property.</p>
252
+ </dd></dl>
253
+
254
+ </div>
255
+ <div class="section" id="mathjax-callback-methods">
256
+ <h2>MathJax.Callback Methods<a class="headerlink" href="#mathjax-callback-methods" title="Permalink to this headline">¶</a></h2>
257
+ <dl class="method">
258
+ <dt id="Delay">
259
+ <tt class="descname">Delay</tt><big>(</big><em>time</em><span class="optional">[</span>, <em>callback</em><span class="optional">]</span><big>)</big><a class="headerlink" href="#Delay" title="Permalink to this definition">¶</a></dt>
260
+ <dd><p>Waits for the specified time (given in milliseconds) and then
261
+ performs the callback. It returns the Callback object (or a blank
262
+ one if none was supplied). The returned callback structure has a
263
+ <cite>timeout</cite> property set to the result of the <tt class="docutils literal"><span class="pre">setTimeout()</span></tt> call
264
+ that was used to perform the wait so that you can cancel the wait,
265
+ if needed. Thus <tt class="xref py py-meth docutils literal"><span class="pre">MathJax.Callback.Delay()</span></tt> can be used to
266
+ start a timeout delay that executes the callback if an action
267
+ doesn&#8217;t occur within the given time (and if the action does occur,
268
+ the timeout can be canceled). Since
269
+ <tt class="xref py py-meth docutils literal"><span class="pre">MathJax.Callback.Delay()</span></tt> returns a callback structure, it
270
+ can be used in a callback queue to insert a delay between queued
271
+ commands.</p>
272
+ <table class="docutils field-list" frame="void" rules="none">
273
+ <col class="field-name" />
274
+ <col class="field-body" />
275
+ <tbody valign="top">
276
+ <tr class="field"><th class="field-name">Parameters :</th><td class="field-body"><ul class="first simple">
277
+ <li><strong>time</strong> &#8212; the amount of time to wait</li>
278
+ <li><strong>callback</strong> &#8212; the callback specification</li>
279
+ </ul>
280
+ </td>
281
+ </tr>
282
+ <tr class="field"><th class="field-name">Returns :</th><td class="field-body"><p class="first last">the callback object</p>
283
+ </td>
284
+ </tr>
285
+ </tbody>
286
+ </table>
287
+ </dd></dl>
288
+
289
+ <dl class="method">
290
+ <dt id="executeHooks">
291
+ <tt class="descname">executeHooks</tt><big>(</big><em>hooks</em><span class="optional">[</span>, <em>data</em><span class="optional">[</span>, <em>reset</em><span class="optional">]</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#executeHooks" title="Permalink to this definition">¶</a></dt>
292
+ <dd><p>Calls each callback in the <cite>hooks</cite> array (or the single hook if it
293
+ is not an array), passing it the arguments stored in the data
294
+ array. It <cite>reset</cite> is <tt class="docutils literal"><span class="pre">true</span></tt>, then the callback&#8217;s
295
+ <a class="reference internal" href="#reset" title="reset"><tt class="xref py py-meth docutils literal"><span class="pre">reset()</span></tt></a> method will be called before each hook is
296
+ executed. If any of the hooks returns a <cite>Callback</cite> object, then
297
+ it collects those callbacks and returns a new callback that will
298
+ execute when all the ones returned by the hooks have been
299
+ completed. Otherwise, <tt class="xref py py-meth docutils literal"><span class="pre">MathJax.Callback.executeHooks()</span></tt>
300
+ returns <tt class="docutils literal"><span class="pre">null</span></tt>.</p>
301
+ <table class="docutils field-list" frame="void" rules="none">
302
+ <col class="field-name" />
303
+ <col class="field-body" />
304
+ <tbody valign="top">
305
+ <tr class="field"><th class="field-name">Parameters :</th><td class="field-body"><ul class="first simple">
306
+ <li><strong>hooks</strong> &#8212; array of hooks to be called, or a hook</li>
307
+ <li><strong>data</strong> &#8212; array of arguments to pass to each hook in turn</li>
308
+ <li><strong>reset</strong> &#8212; <tt class="docutils literal"><span class="pre">true</span></tt> if the <a class="reference internal" href="#reset" title="reset"><tt class="xref py py-meth docutils literal"><span class="pre">reset()</span></tt></a> method should be called</li>
309
+ </ul>
310
+ </td>
311
+ </tr>
312
+ <tr class="field"><th class="field-name">Returns :</th><td class="field-body"><p class="first last">callback that waits for all the hooks to complete, or <tt class="docutils literal"><span class="pre">null</span></tt></p>
313
+ </td>
314
+ </tr>
315
+ </tbody>
316
+ </table>
317
+ </dd></dl>
318
+
319
+ <dl class="method">
320
+ <dt id="Queue">
321
+ <tt class="descname">Queue</tt><big>(</big><span class="optional">[</span><em>callback</em>, <em>...</em><span class="optional">]</span><big>)</big><a class="headerlink" href="#Queue" title="Permalink to this definition">¶</a></dt>
322
+ <dd><p>Creates a <cite>MathJax.CallBack.Queue</cite> object and pushes the given
323
+ callbacks into the queue. See <a class="reference internal" href="../queues.html#using-queues"><em>Using Queues</em></a>
324
+ for more details about MathJax queues.</p>
325
+ <table class="docutils field-list" frame="void" rules="none">
326
+ <col class="field-name" />
327
+ <col class="field-body" />
328
+ <tbody valign="top">
329
+ <tr class="field"><th class="field-name">Parameters :</th><td class="field-body"><ul class="first simple">
330
+ <li><strong>callback</strong> &#8212; one or more callback specifications</li>
331
+ </ul>
332
+ </td>
333
+ </tr>
334
+ <tr class="field"><th class="field-name">Returns :</th><td class="field-body"><p class="first last">the <cite>Queue</cite> object</p>
335
+ </td>
336
+ </tr>
337
+ </tbody>
338
+ </table>
339
+ </dd></dl>
340
+
341
+ <dl class="method">
342
+ <dt id="Signal">
343
+ <tt class="descname">Signal</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#Signal" title="Permalink to this definition">¶</a></dt>
344
+ <dd><p>Looks for a named signal, creates it if it doesn&#8217;t already exist,
345
+ and returns the signal object. See
346
+ <a class="reference internal" href="../signals.html#using-signals"><em>Using Signals</em></a> for more details.</p>
347
+ <table class="docutils field-list" frame="void" rules="none">
348
+ <col class="field-name" />
349
+ <col class="field-body" />
350
+ <tbody valign="top">
351
+ <tr class="field"><th class="field-name">Parameters :</th><td class="field-body"><ul class="first simple">
352
+ <li><strong>name</strong> &#8212; name of the signal to get or create</li>
353
+ </ul>
354
+ </td>
355
+ </tr>
356
+ <tr class="field"><th class="field-name">Returns :</th><td class="field-body"><p class="first last">the <cite>Signal</cite> object</p>
357
+ </td>
358
+ </tr>
359
+ </tbody>
360
+ </table>
361
+ </dd></dl>
362
+
363
+ </div>
364
+ </div>
365
+
366
+
367
+ </div>
368
+ </div>
369
+ </div>
370
+ <div class="sphinxsidebar">
371
+ <div class="sphinxsidebarwrapper">
372
+ <h3><a href="../index.html">Table Of Contents</a></h3>
373
+ <ul>
374
+ <li><a class="reference internal" href="#">The MathJax.Callback Class</a><ul>
375
+ <li><a class="reference internal" href="#specifying-a-callback">Specifying a callback</a><ul>
376
+ <li><a class="reference internal" href="#executing-a-callback-object">Executing a Callback Object</a></li>
377
+ </ul>
378
+ </li>
379
+ <li><a class="reference internal" href="#callback-object-properties">Callback Object Properties</a></li>
380
+ <li><a class="reference internal" href="#callback-object-methods">Callback Object Methods</a></li>
381
+ <li><a class="reference internal" href="#mathjax-callback-methods">MathJax.Callback Methods</a></li>
382
+ </ul>
383
+ </li>
384
+ </ul>
385
+
386
+ <h4>Previous topic</h4>
387
+ <p class="topless"><a href="html.html"
388
+ title="previous chapter">The MathJax.HTML Object</a></p>
389
+ <h4>Next topic</h4>
390
+ <p class="topless"><a href="queue.html"
391
+ title="next chapter">The MathJax.Callback.Queue Class</a></p>
392
+ <h3>This Page</h3>
393
+ <ul class="this-page-menu">
394
+ <li><a href="../_sources/api/callback.txt"
395
+ rel="nofollow">Show Source</a></li>
396
+ </ul>
397
+ <div id="searchbox" style="display: none">
398
+ <h3>Quick search</h3>
399
+ <form class="search" action="../search.html" method="get">
400
+ <input type="text" name="q" size="18" />
401
+ <input type="submit" value="Go" />
402
+ <input type="hidden" name="check_keywords" value="yes" />
403
+ <input type="hidden" name="area" value="default" />
404
+ </form>
405
+ <p class="searchtip" style="font-size: 90%">
406
+ Enter search terms or a module, class or function name.
407
+ </p>
408
+ </div>
409
+ <script type="text/javascript">$('#searchbox').show(0);</script>
410
+ </div>
411
+ </div>
412
+ <div class="clearer"></div>
413
+ </div>
414
+ <div class="related">
415
+ <h3>Navigation</h3>
416
+ <ul>
417
+ <li class="right" style="margin-right: 10px">
418
+ <a href="../genindex.html" title="General Index"
419
+ >index</a></li>
420
+ <li class="right" >
421
+ <a href="queue.html" title="The MathJax.Callback.Queue Class"
422
+ >next</a> |</li>
423
+ <li class="right" >
424
+ <a href="html.html" title="The MathJax.HTML Object"
425
+ >previous</a> |</li>
426
+ <li><a href="../index.html">MathJax v1.0 documentation</a> &raquo;</li>
427
+ <li><a href="index.html" >The MathJax API</a> &raquo;</li>
428
+ </ul>
429
+ </div>
430
+ <div class="footer">
431
+ &copy; Copyright 2010 Design Science.
432
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0b2.
433
+ </div>
434
+ </body>
435
+ </html>