mathjax-rails-3 3.2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/.travis.yml +9 -0
  4. data/CHANGELOG.md +14 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +148 -0
  8. data/Rakefile +6 -0
  9. data/lib/mathjax/rails/controllers.rb +23 -0
  10. data/lib/mathjax/rails/helpers.rb +11 -0
  11. data/lib/mathjax/rails/mime_types.rb +3 -0
  12. data/lib/mathjax/rails/routes.rb +10 -0
  13. data/lib/mathjax/rails/version.rb +7 -0
  14. data/lib/mathjax/rails.rb +5 -0
  15. data/lib/mathjax-rails-3.rb +1 -0
  16. data/mathjax-rails-3.gemspec +23 -0
  17. data/vendor/mathjax/.github/FUNDING.yml +2 -0
  18. data/vendor/mathjax/.github/ISSUE_TEMPLATE/bug_report.md +54 -0
  19. data/vendor/mathjax/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  20. data/vendor/mathjax/.gitignore +2 -0
  21. data/vendor/mathjax/.travis.yml +17 -0
  22. data/vendor/mathjax/CONTRIBUTING.md +314 -0
  23. data/vendor/mathjax/LICENSE +202 -0
  24. data/vendor/mathjax/README.md +237 -0
  25. data/vendor/mathjax/bower.json +11 -0
  26. data/vendor/mathjax/composer.json +14 -0
  27. data/vendor/mathjax/es5/a11y/assistive-mml.js +1 -0
  28. data/vendor/mathjax/es5/a11y/complexity.js +1 -0
  29. data/vendor/mathjax/es5/a11y/explorer.js +1 -0
  30. data/vendor/mathjax/es5/a11y/semantic-enrich.js +1 -0
  31. data/vendor/mathjax/es5/a11y/sre.js +1 -0
  32. data/vendor/mathjax/es5/adaptors/liteDOM.js +1 -0
  33. data/vendor/mathjax/es5/core.js +1 -0
  34. data/vendor/mathjax/es5/input/asciimath.js +1 -0
  35. data/vendor/mathjax/es5/input/mml/entities.js +1 -0
  36. data/vendor/mathjax/es5/input/mml/extensions/mml3.js +1 -0
  37. data/vendor/mathjax/es5/input/mml/extensions/mml3.sef.json +1 -0
  38. data/vendor/mathjax/es5/input/mml.js +1 -0
  39. data/vendor/mathjax/es5/input/tex/extensions/action.js +1 -0
  40. data/vendor/mathjax/es5/input/tex/extensions/all-packages.js +34 -0
  41. data/vendor/mathjax/es5/input/tex/extensions/ams.js +1 -0
  42. data/vendor/mathjax/es5/input/tex/extensions/amscd.js +1 -0
  43. data/vendor/mathjax/es5/input/tex/extensions/autoload.js +1 -0
  44. data/vendor/mathjax/es5/input/tex/extensions/bbox.js +1 -0
  45. data/vendor/mathjax/es5/input/tex/extensions/boldsymbol.js +1 -0
  46. data/vendor/mathjax/es5/input/tex/extensions/braket.js +1 -0
  47. data/vendor/mathjax/es5/input/tex/extensions/bussproofs.js +1 -0
  48. data/vendor/mathjax/es5/input/tex/extensions/cancel.js +1 -0
  49. data/vendor/mathjax/es5/input/tex/extensions/cases.js +1 -0
  50. data/vendor/mathjax/es5/input/tex/extensions/centernot.js +1 -0
  51. data/vendor/mathjax/es5/input/tex/extensions/color.js +1 -0
  52. data/vendor/mathjax/es5/input/tex/extensions/colortbl.js +1 -0
  53. data/vendor/mathjax/es5/input/tex/extensions/colorv2.js +1 -0
  54. data/vendor/mathjax/es5/input/tex/extensions/configmacros.js +1 -0
  55. data/vendor/mathjax/es5/input/tex/extensions/empheq.js +1 -0
  56. data/vendor/mathjax/es5/input/tex/extensions/enclose.js +1 -0
  57. data/vendor/mathjax/es5/input/tex/extensions/extpfeil.js +1 -0
  58. data/vendor/mathjax/es5/input/tex/extensions/gensymb.js +1 -0
  59. data/vendor/mathjax/es5/input/tex/extensions/html.js +1 -0
  60. data/vendor/mathjax/es5/input/tex/extensions/mathtools.js +1 -0
  61. data/vendor/mathjax/es5/input/tex/extensions/mhchem.js +34 -0
  62. data/vendor/mathjax/es5/input/tex/extensions/newcommand.js +1 -0
  63. data/vendor/mathjax/es5/input/tex/extensions/noerrors.js +1 -0
  64. data/vendor/mathjax/es5/input/tex/extensions/noundefined.js +1 -0
  65. data/vendor/mathjax/es5/input/tex/extensions/physics.js +1 -0
  66. data/vendor/mathjax/es5/input/tex/extensions/require.js +1 -0
  67. data/vendor/mathjax/es5/input/tex/extensions/setoptions.js +1 -0
  68. data/vendor/mathjax/es5/input/tex/extensions/tagformat.js +1 -0
  69. data/vendor/mathjax/es5/input/tex/extensions/textcomp.js +1 -0
  70. data/vendor/mathjax/es5/input/tex/extensions/textmacros.js +1 -0
  71. data/vendor/mathjax/es5/input/tex/extensions/unicode.js +1 -0
  72. data/vendor/mathjax/es5/input/tex/extensions/upgreek.js +1 -0
  73. data/vendor/mathjax/es5/input/tex/extensions/verb.js +1 -0
  74. data/vendor/mathjax/es5/input/tex-base.js +1 -0
  75. data/vendor/mathjax/es5/input/tex-full.js +34 -0
  76. data/vendor/mathjax/es5/input/tex.js +1 -0
  77. data/vendor/mathjax/es5/latest.js +1 -0
  78. data/vendor/mathjax/es5/loader.js +1 -0
  79. data/vendor/mathjax/es5/mml-chtml.js +1 -0
  80. data/vendor/mathjax/es5/mml-svg.js +1 -0
  81. data/vendor/mathjax/es5/node-main.js +1 -0
  82. data/vendor/mathjax/es5/output/chtml/fonts/tex.js +1 -0
  83. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
  84. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
  85. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
  86. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
  87. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
  88. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
  89. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
  90. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
  91. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
  92. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
  93. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
  94. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
  95. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
  96. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
  97. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
  98. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
  99. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
  100. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
  101. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
  102. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
  103. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
  104. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
  105. data/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
  106. data/vendor/mathjax/es5/output/chtml.js +1 -0
  107. data/vendor/mathjax/es5/output/svg/fonts/tex.js +1 -0
  108. data/vendor/mathjax/es5/output/svg.js +1 -0
  109. data/vendor/mathjax/es5/sre/mathmaps/base.json +29 -0
  110. data/vendor/mathjax/es5/sre/mathmaps/ca.json +140 -0
  111. data/vendor/mathjax/es5/sre/mathmaps/da.json +140 -0
  112. data/vendor/mathjax/es5/sre/mathmaps/de.json +146 -0
  113. data/vendor/mathjax/es5/sre/mathmaps/en.json +158 -0
  114. data/vendor/mathjax/es5/sre/mathmaps/es.json +140 -0
  115. data/vendor/mathjax/es5/sre/mathmaps/fr.json +146 -0
  116. data/vendor/mathjax/es5/sre/mathmaps/hi.json +146 -0
  117. data/vendor/mathjax/es5/sre/mathmaps/it.json +146 -0
  118. data/vendor/mathjax/es5/sre/mathmaps/nb.json +146 -0
  119. data/vendor/mathjax/es5/sre/mathmaps/nemeth.json +125 -0
  120. data/vendor/mathjax/es5/sre/mathmaps/nn.json +146 -0
  121. data/vendor/mathjax/es5/sre/mathmaps/sv.json +146 -0
  122. data/vendor/mathjax/es5/startup.js +1 -0
  123. data/vendor/mathjax/es5/tex-chtml-full-speech.js +34 -0
  124. data/vendor/mathjax/es5/tex-chtml-full.js +34 -0
  125. data/vendor/mathjax/es5/tex-chtml.js +1 -0
  126. data/vendor/mathjax/es5/tex-mml-chtml.js +1 -0
  127. data/vendor/mathjax/es5/tex-mml-svg.js +1 -0
  128. data/vendor/mathjax/es5/tex-svg-full.js +34 -0
  129. data/vendor/mathjax/es5/tex-svg.js +1 -0
  130. data/vendor/mathjax/es5/ui/lazy.js +1 -0
  131. data/vendor/mathjax/es5/ui/menu.js +1 -0
  132. data/vendor/mathjax/es5/ui/safe.js +1 -0
  133. data/vendor/mathjax/package.json +59 -0
  134. metadata +193 -0
@@ -0,0 +1 @@
1
+ !function(){"use strict";var t,e,r,n,a,i={306:function(t,e){e.q=void 0,e.q="3.2.2"},63:function(t,e,r){var n,a=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},i.apply(this,arguments)},o=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},l=this&&this.__spreadArray||function(t,e,r){if(r||2===arguments.length)for(var n,a=0,i=e.length;a<i;a++)!n&&a in e||(n||(n=Array.prototype.slice.call(e,0,a)),n[a]=e[a]);return t.concat(n||Array.prototype.slice.call(e))},s=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.SafeHandler=e.SafeMathDocumentMixin=void 0;var f=r(477);function u(t){var e;return e=function(t){function e(){for(var e,r,n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=t.apply(this,l([],o(n),!1))||this;i.safe=new i.options.SafeClass(i,i.options.safeOptions);var f=i.constructor.ProcessBits;f.has("safe")||f.allocate("safe");try{for(var u=s(i.inputJax),p=u.next();!p.done;p=u.next()){var c=p.value;c.name.match(/MathML/)?(c.mathml.filterAttribute=i.safe.mmlAttribute.bind(i.safe),c.mathml.filterClassList=i.safe.mmlClassList.bind(i.safe)):c.name.match(/TeX/)&&c.postFilters.add(i.sanitize.bind(c),-5.5)}}catch(t){e={error:t}}finally{try{p&&!p.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}return i}return a(e,t),e.prototype.sanitize=function(t){t.math.root=this.parseOptions.root,t.document.safe.sanitize(t.math,t.document)},e}(t),e.OPTIONS=i(i({},t.OPTIONS),{safeOptions:i({},f.Safe.OPTIONS),SafeClass:f.Safe}),e}e.SafeMathDocumentMixin=u,e.SafeHandler=function(t){return t.documentClass=u(t.documentClass),t}},509:function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o};Object.defineProperty(e,"__esModule",{value:!0}),e.SafeMethods=void 0;var i=r(914);e.SafeMethods={filterURL:function(t,e){var r=(e.match(/^\s*([a-z]+):/i)||[null,""])[1].toLowerCase(),n=t.allow.URLs;return"all"===n||"safe"===n&&(t.options.safeProtocols[r]||!r)?e:null},filterClassList:function(t,e){var r=this;return e.trim().replace(/\s\s+/g," ").split(/ /).map((function(e){return r.filterClass(t,e)||""})).join(" ").trim().replace(/\s\s+/g,"")},filterClass:function(t,e){var r=t.allow.classes;return"all"===r||"safe"===r&&e.match(t.options.classPattern)?e:null},filterID:function(t,e){var r=t.allow.cssIDs;return"all"===r||"safe"===r&&e.match(t.options.idPattern)?e:null},filterStyles:function(t,e){var r,a,i,o;if("all"===t.allow.styles)return e;if("safe"!==t.allow.styles)return null;var l=t.adaptor,s=t.options;try{var f=l.node("div",{style:e}),u=l.node("div");try{for(var p=n(Object.keys(s.safeStyles)),c=p.next();!c.done;c=p.next()){var h=c.value;if(s.styleParts[h])try{for(var d=(i=void 0,n(["Top","Right","Bottom","Left"])),y=d.next();!y.done;y=d.next()){var m,v=h+y.value;(m=this.filterStyle(t,v,f))&&l.setStyle(u,v,m)}}catch(t){i={error:t}}finally{try{y&&!y.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}else(m=this.filterStyle(t,h,f))&&l.setStyle(u,h,m)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(a=p.return)&&a.call(p)}finally{if(r)throw r.error}}e=l.allStyles(u)}catch(t){e=""}return e},filterStyle:function(t,e,r){var n=t.adaptor.getStyle(r,e);if("string"!=typeof n||""===n||n.match(/^\s*calc/)||n.match(/javascript:/)&&!t.options.safeProtocols.javascript||n.match(/data:/)&&!t.options.safeProtocols.data)return null;var a=e.replace(/Top|Right|Left|Bottom/,"");return t.options.safeStyles[e]||t.options.safeStyles[a]?this.filterStyleValue(t,e,n,r):null},filterStyleValue:function(t,e,r,n){var a=t.options.styleLengths[e];if(!a)return r;if("string"!=typeof a)return this.filterStyleLength(t,e,r);var i=this.filterStyleLength(t,a,t.adaptor.getStyle(n,a));return i?(t.adaptor.setStyle(n,a,i),t.adaptor.getStyle(n,e)):null},filterStyleLength:function(t,e,r){if(!r.match(/^(.+)(em|ex|ch|rem|px|mm|cm|in|pt|pc|%)$/))return null;var n=(0,i.length2em)(r,1),o=t.options.styleLengths[e],l=a(Array.isArray(o)?o:[-t.options.lengthMax,t.options.lengthMax],2),s=l[0],f=l[1];return s<=n&&n<=f?r:(n<s?s:f).toFixed(3).replace(/\.?0+$/,"")+"em"},filterFontSize:function(t,e){return this.filterStyleLength(t,"fontSize",e)},filterSizeMultiplier:function(t,e){var r=a(t.options.scriptsizemultiplierRange||[-1/0,1/0],2),n=r[0],i=r[1];return Math.min(i,Math.max(n,parseFloat(e))).toString()},filterScriptLevel:function(t,e){var r=a(t.options.scriptlevelRange||[-1/0,1/0],2),n=r[0],i=r[1];return Math.min(i,Math.max(n,parseInt(e))).toString()},filterData:function(t,e,r){return r.match(t.options.dataPattern)?e:null}}},477:function(t,e,r){var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},n.apply(this,arguments)},a=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.Safe=void 0;var i=r(77),o=r(509),l=function(){function t(t,e){this.filterAttributes=new Map([["href","filterURL"],["src","filterURL"],["altimg","filterURL"],["class","filterClassList"],["style","filterStyles"],["id","filterID"],["fontsize","filterFontSize"],["mathsize","filterFontSize"],["scriptminsize","filterFontSize"],["scriptsizemultiplier","filterSizeMultiplier"],["scriptlevel","filterScriptLevel"],["data-","filterData"]]),this.filterMethods=n({},o.SafeMethods),this.adaptor=t.adaptor,this.options=e,this.allow=this.options.allow}return t.prototype.sanitize=function(t,e){try{t.root.walkTree(this.sanitizeNode.bind(this))}catch(r){e.options.compileError(e,t,r)}},t.prototype.sanitizeNode=function(t){var e,r,n=t.attributes.getAllAttributes();try{for(var i=a(Object.keys(n)),o=i.next();!o.done;o=i.next()){var l=o.value,s=this.filterAttributes.get(l);if(s){var f=this.filterMethods[s](this,n[l]);f?f!==("number"==typeof f?parseFloat(n[l]):n[l])&&(n[l]=f):delete n[l]}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},t.prototype.mmlAttribute=function(t,e){if("class"===t)return null;var r=this.filterAttributes.get(t)||("data-"===t.substr(0,5)?this.filterAttributes.get("data-"):null);if(!r)return e;var n=this.filterMethods[r](this,e,t);return"number"==typeof n||"boolean"==typeof n?String(n):n},t.prototype.mmlClassList=function(t){var e=this;return t.map((function(t){return e.filterMethods.filterClass(e,t)})).filter((function(t){return null!==t}))},t.OPTIONS={allow:{URLs:"safe",classes:"safe",cssIDs:"safe",styles:"safe"},lengthMax:3,scriptsizemultiplierRange:[.6,1],scriptlevelRange:[-2,2],classPattern:/^mjx-[-a-zA-Z0-9_.]+$/,idPattern:/^mjx-[-a-zA-Z0-9_.]+$/,dataPattern:/^data-mjx-/,safeProtocols:(0,i.expandable)({http:!0,https:!0,file:!0,javascript:!1,data:!1}),safeStyles:(0,i.expandable)({color:!0,backgroundColor:!0,border:!0,cursor:!0,margin:!0,padding:!0,textShadow:!0,fontFamily:!0,fontSize:!0,fontStyle:!0,fontWeight:!0,opacity:!0,outline:!0}),styleParts:(0,i.expandable)({border:!0,padding:!0,margin:!0,outline:!0}),styleLengths:(0,i.expandable)({borderTop:"borderTopWidth",borderRight:"borderRightWidth",borderBottom:"borderBottomWidth",borderLeft:"borderLeftWidth",paddingTop:!0,paddingRight:!0,paddingBottom:!0,paddingLeft:!0,marginTop:!0,marginRight:!0,marginBottom:!0,marginLeft:!0,outlineTop:!0,outlineRight:!0,outlineBottom:!0,outlineLeft:!0,fontSize:[.707,1.44]})},t}();e.Safe=l},723:function(t,e){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,e.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},77:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=MathJax._.util.Options.isObject,e.APPEND=MathJax._.util.Options.APPEND,e.REMOVE=MathJax._.util.Options.REMOVE,e.OPTIONS=MathJax._.util.Options.OPTIONS,e.Expandable=MathJax._.util.Options.Expandable,e.expandable=MathJax._.util.Options.expandable,e.makeArray=MathJax._.util.Options.makeArray,e.keys=MathJax._.util.Options.keys,e.copy=MathJax._.util.Options.copy,e.insert=MathJax._.util.Options.insert,e.defaultOptions=MathJax._.util.Options.defaultOptions,e.userOptions=MathJax._.util.Options.userOptions,e.selectOptions=MathJax._.util.Options.selectOptions,e.selectOptionsFromKeys=MathJax._.util.Options.selectOptionsFromKeys,e.separateOptions=MathJax._.util.Options.separateOptions,e.lookup=MathJax._.util.Options.lookup},914:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.BIGDIMEN=MathJax._.util.lengths.BIGDIMEN,e.UNITS=MathJax._.util.lengths.UNITS,e.RELUNITS=MathJax._.util.lengths.RELUNITS,e.MATHSPACE=MathJax._.util.lengths.MATHSPACE,e.length2em=MathJax._.util.lengths.length2em,e.percent=MathJax._.util.lengths.percent,e.em=MathJax._.util.lengths.em,e.emRounded=MathJax._.util.lengths.emRounded,e.px=MathJax._.util.lengths.px}},o={};function l(t){var e=o[t];if(void 0!==e)return e.exports;var r=o[t]={exports:{}};return i[t].call(r.exports,r,r.exports,l),r.exports}t=l(723),e=l(306),r=l(63),n=l(509),a=l(477),MathJax.loader&&MathJax.loader.checkVersion("ui/safe",e.q,"ui"),(0,t.r8)({_:{ui:{safe:{SafeHandler:r,SafeMethods:n,safe:a}}}}),MathJax.startup&&"undefined"!=typeof window&&MathJax.startup.extendHandler((function(t){return(0,r.SafeHandler)(t)}))}();
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "mathjax",
3
+ "version": "3.2.2",
4
+ "description": "Beautiful and accessible math in all browsers. MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all browsers. This package includes the packaged components (install mathjax-full to get the source code).",
5
+ "keywords": [
6
+ "math",
7
+ "svg",
8
+ "mathml",
9
+ "tex",
10
+ "latex",
11
+ "asciimath",
12
+ "browser",
13
+ "node"
14
+ ],
15
+ "devDependencies": {
16
+ "mathjax-full": "3.2.2"
17
+ },
18
+ "maintainers": [
19
+ "MathJax Consortium <info@mathjax.org> (http://www.mathjax.org)"
20
+ ],
21
+ "bugs": {
22
+ "url": "http://github.com/mathjax/MathJax/issues"
23
+ },
24
+ "license": "Apache-2.0",
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git://github.com/mathjax/MathJax.git"
28
+ },
29
+ "main": "es5/node-main.js",
30
+ "files": [
31
+ "/es5"
32
+ ],
33
+ "scripts": {
34
+ "test": "echo 'No tests defined'",
35
+ "clean": "npm run --silent clean:es5 && npm run --silent clean:node",
36
+ "clean:es5": "rm -rf es5",
37
+ "clean:node": "rm -rf node_modules package-lock.json",
38
+ "message": "echo \"$(tput setaf 4)${npm_package_config_message}$(tput setaf 0)\" && echo",
39
+ "line": "echo '--------------------------------------------'",
40
+ "title": "npm run --silent line && npm run --silent message --mathjax:message=\"${npm_package_config_title}\"",
41
+ "preinstall:mj3": "npm run --silent title --mathjax:title='Installing MathJax...'",
42
+ "install:mj3": "npm install",
43
+ "preinstall:mj3-deps": "npm run --silent message --mathjax:message='Installing MathJax Dependencies...'",
44
+ "install:mj3-deps": "cd node_modules/mathjax-full && npm install",
45
+ "install:all": "npm run --silent install:mj3 && npm run --silent install:mj3-deps",
46
+ "precompile": "npm run --silent title --mathjax:title='Compiling MathJax...'",
47
+ "compile": "cd node_modules/mathjax-full && npm run --silent compile",
48
+ "precomponents": "npm run --silent title --mathjax:title='Building MathJax Components...'",
49
+ "components": "cd node_modules/mathjax-full && npm run --silent make-components",
50
+ "premove": "npm run --silent title --mathjax:title='Moving MathJax Components...'",
51
+ "move": "npm run --silent clean:es5 && mv node_modules/mathjax-full/es5 .",
52
+ "premake-es5": "npm run --silent clean:node",
53
+ "make-es5": "npm run --silent install:all && npm run --silent compile && npm run --silent components && npm run --silent move",
54
+ "postmake-es5": "npm run --silent title --mathjax:title='Cleaning Up...' && npm run --silent clean:node",
55
+ "preget-es5": "npm run --silent clean:node",
56
+ "get-es5": "npm run --silent install:mj3 && npm run --silent move",
57
+ "postget-es5": "npm run --silent title --mathjax:title='Cleaning Up...' && npm run --silent clean:node"
58
+ }
59
+ }
metadata ADDED
@@ -0,0 +1,193 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mathjax-rails-3
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.2.2.1
5
+ platform: ruby
6
+ authors:
7
+ - Adrien Wu
8
+ - Minqi Pan
9
+ - Manu S Ajith
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2022-08-14 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: railties
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: '3.0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: '3.0'
29
+ description: This gem maintains MathJax at a system-wide directory.
30
+ email:
31
+ - adrien.sf.wu@gmail.com
32
+ - pmq2001@gmail.com
33
+ - neo@codingarena.in
34
+ executables: []
35
+ extensions: []
36
+ extra_rdoc_files: []
37
+ files:
38
+ - ".gitignore"
39
+ - ".travis.yml"
40
+ - CHANGELOG.md
41
+ - Gemfile
42
+ - LICENSE.txt
43
+ - README.md
44
+ - Rakefile
45
+ - lib/mathjax-rails-3.rb
46
+ - lib/mathjax/rails.rb
47
+ - lib/mathjax/rails/controllers.rb
48
+ - lib/mathjax/rails/helpers.rb
49
+ - lib/mathjax/rails/mime_types.rb
50
+ - lib/mathjax/rails/routes.rb
51
+ - lib/mathjax/rails/version.rb
52
+ - mathjax-rails-3.gemspec
53
+ - vendor/mathjax/.github/FUNDING.yml
54
+ - vendor/mathjax/.github/ISSUE_TEMPLATE/bug_report.md
55
+ - vendor/mathjax/.github/ISSUE_TEMPLATE/feature_request.md
56
+ - vendor/mathjax/.gitignore
57
+ - vendor/mathjax/.travis.yml
58
+ - vendor/mathjax/CONTRIBUTING.md
59
+ - vendor/mathjax/LICENSE
60
+ - vendor/mathjax/README.md
61
+ - vendor/mathjax/bower.json
62
+ - vendor/mathjax/composer.json
63
+ - vendor/mathjax/es5/a11y/assistive-mml.js
64
+ - vendor/mathjax/es5/a11y/complexity.js
65
+ - vendor/mathjax/es5/a11y/explorer.js
66
+ - vendor/mathjax/es5/a11y/semantic-enrich.js
67
+ - vendor/mathjax/es5/a11y/sre.js
68
+ - vendor/mathjax/es5/adaptors/liteDOM.js
69
+ - vendor/mathjax/es5/core.js
70
+ - vendor/mathjax/es5/input/asciimath.js
71
+ - vendor/mathjax/es5/input/mml.js
72
+ - vendor/mathjax/es5/input/mml/entities.js
73
+ - vendor/mathjax/es5/input/mml/extensions/mml3.js
74
+ - vendor/mathjax/es5/input/mml/extensions/mml3.sef.json
75
+ - vendor/mathjax/es5/input/tex-base.js
76
+ - vendor/mathjax/es5/input/tex-full.js
77
+ - vendor/mathjax/es5/input/tex.js
78
+ - vendor/mathjax/es5/input/tex/extensions/action.js
79
+ - vendor/mathjax/es5/input/tex/extensions/all-packages.js
80
+ - vendor/mathjax/es5/input/tex/extensions/ams.js
81
+ - vendor/mathjax/es5/input/tex/extensions/amscd.js
82
+ - vendor/mathjax/es5/input/tex/extensions/autoload.js
83
+ - vendor/mathjax/es5/input/tex/extensions/bbox.js
84
+ - vendor/mathjax/es5/input/tex/extensions/boldsymbol.js
85
+ - vendor/mathjax/es5/input/tex/extensions/braket.js
86
+ - vendor/mathjax/es5/input/tex/extensions/bussproofs.js
87
+ - vendor/mathjax/es5/input/tex/extensions/cancel.js
88
+ - vendor/mathjax/es5/input/tex/extensions/cases.js
89
+ - vendor/mathjax/es5/input/tex/extensions/centernot.js
90
+ - vendor/mathjax/es5/input/tex/extensions/color.js
91
+ - vendor/mathjax/es5/input/tex/extensions/colortbl.js
92
+ - vendor/mathjax/es5/input/tex/extensions/colorv2.js
93
+ - vendor/mathjax/es5/input/tex/extensions/configmacros.js
94
+ - vendor/mathjax/es5/input/tex/extensions/empheq.js
95
+ - vendor/mathjax/es5/input/tex/extensions/enclose.js
96
+ - vendor/mathjax/es5/input/tex/extensions/extpfeil.js
97
+ - vendor/mathjax/es5/input/tex/extensions/gensymb.js
98
+ - vendor/mathjax/es5/input/tex/extensions/html.js
99
+ - vendor/mathjax/es5/input/tex/extensions/mathtools.js
100
+ - vendor/mathjax/es5/input/tex/extensions/mhchem.js
101
+ - vendor/mathjax/es5/input/tex/extensions/newcommand.js
102
+ - vendor/mathjax/es5/input/tex/extensions/noerrors.js
103
+ - vendor/mathjax/es5/input/tex/extensions/noundefined.js
104
+ - vendor/mathjax/es5/input/tex/extensions/physics.js
105
+ - vendor/mathjax/es5/input/tex/extensions/require.js
106
+ - vendor/mathjax/es5/input/tex/extensions/setoptions.js
107
+ - vendor/mathjax/es5/input/tex/extensions/tagformat.js
108
+ - vendor/mathjax/es5/input/tex/extensions/textcomp.js
109
+ - vendor/mathjax/es5/input/tex/extensions/textmacros.js
110
+ - vendor/mathjax/es5/input/tex/extensions/unicode.js
111
+ - vendor/mathjax/es5/input/tex/extensions/upgreek.js
112
+ - vendor/mathjax/es5/input/tex/extensions/verb.js
113
+ - vendor/mathjax/es5/latest.js
114
+ - vendor/mathjax/es5/loader.js
115
+ - vendor/mathjax/es5/mml-chtml.js
116
+ - vendor/mathjax/es5/mml-svg.js
117
+ - vendor/mathjax/es5/node-main.js
118
+ - vendor/mathjax/es5/output/chtml.js
119
+ - vendor/mathjax/es5/output/chtml/fonts/tex.js
120
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff
121
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff
122
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff
123
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff
124
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff
125
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff
126
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff
127
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff
128
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff
129
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff
130
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff
131
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff
132
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff
133
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff
134
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff
135
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff
136
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff
137
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff
138
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff
139
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff
140
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff
141
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff
142
+ - vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Zero.woff
143
+ - vendor/mathjax/es5/output/svg.js
144
+ - vendor/mathjax/es5/output/svg/fonts/tex.js
145
+ - vendor/mathjax/es5/sre/mathmaps/base.json
146
+ - vendor/mathjax/es5/sre/mathmaps/ca.json
147
+ - vendor/mathjax/es5/sre/mathmaps/da.json
148
+ - vendor/mathjax/es5/sre/mathmaps/de.json
149
+ - vendor/mathjax/es5/sre/mathmaps/en.json
150
+ - vendor/mathjax/es5/sre/mathmaps/es.json
151
+ - vendor/mathjax/es5/sre/mathmaps/fr.json
152
+ - vendor/mathjax/es5/sre/mathmaps/hi.json
153
+ - vendor/mathjax/es5/sre/mathmaps/it.json
154
+ - vendor/mathjax/es5/sre/mathmaps/nb.json
155
+ - vendor/mathjax/es5/sre/mathmaps/nemeth.json
156
+ - vendor/mathjax/es5/sre/mathmaps/nn.json
157
+ - vendor/mathjax/es5/sre/mathmaps/sv.json
158
+ - vendor/mathjax/es5/startup.js
159
+ - vendor/mathjax/es5/tex-chtml-full-speech.js
160
+ - vendor/mathjax/es5/tex-chtml-full.js
161
+ - vendor/mathjax/es5/tex-chtml.js
162
+ - vendor/mathjax/es5/tex-mml-chtml.js
163
+ - vendor/mathjax/es5/tex-mml-svg.js
164
+ - vendor/mathjax/es5/tex-svg-full.js
165
+ - vendor/mathjax/es5/tex-svg.js
166
+ - vendor/mathjax/es5/ui/lazy.js
167
+ - vendor/mathjax/es5/ui/menu.js
168
+ - vendor/mathjax/es5/ui/safe.js
169
+ - vendor/mathjax/package.json
170
+ homepage: https://github.com/adrien1018/mathjax-rails
171
+ licenses:
172
+ - MIT
173
+ metadata: {}
174
+ post_install_message:
175
+ rdoc_options: []
176
+ require_paths:
177
+ - lib
178
+ required_ruby_version: !ruby/object:Gem::Requirement
179
+ requirements:
180
+ - - ">="
181
+ - !ruby/object:Gem::Version
182
+ version: '0'
183
+ required_rubygems_version: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: 1.3.6
188
+ requirements: []
189
+ rubygems_version: 3.1.2
190
+ signing_key:
191
+ specification_version: 4
192
+ summary: A simple gem to integrate MathJax with Rails
193
+ test_files: []