Sha256: b5f237eb1d40b15ab9a2d629a121e282ac0674dd0bd0730497899d18dcdd42e3

Contents?: true

Size: 1.37 KB

Versions: 6

Compression:

Stored size: 1.37 KB

Contents

/*
 *  /MathJax/extensions/TeX/HTML.js
 *  
 *  Copyright (c) 2010 Design Science, Inc.
 *
 *  Part of the MathJax library.
 *  See http://www.mathjax.org for details.
 * 
 *  Licensed under the Apache License, Version 2.0;
 *  you may not use this file except in compliance with the License.
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 */

MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var b="1.1";var c=MathJax.InputJax.TeX;var a=c.Definitions;a.macros.href="HREF_attribute";a.macros["class"]="CLASS_attribute";a.macros.style="STYLE_attribute";a.macros.cssId="ID_attribute";c.Parse.Augment({HREF_attribute:function(f){var e=this.GetArgument(f),d=this.GetArgumentMML(f);this.Push(d.With({href:e}))},CLASS_attribute:function(e){var f=this.GetArgument(e),d=this.GetArgumentMML(e);if(d["class"]!=null){f=d["class"]+" "+f}this.Push(d.With({"class":f}))},STYLE_attribute:function(e){var f=this.GetArgument(e),d=this.GetArgumentMML(e);if(d.style!=null){if(f.charAt(f.length-1)!==";"){f+=";"}f=d.style+" "+f}this.Push(d.With({style:f}))},ID_attribute:function(f){var e=this.GetArgument(f),d=this.GetArgumentMML(f);this.Push(d.With({id:e}))},GetArgumentMML:function(e){var d=this.ParseArg(e);if(d.inferred&&d.data.length==1){d=d.data[0]}else{delete d.inferred}return d}});MathJax.Hub.Startup.signal.Post("TeX HTML Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/HTML.js");

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
mathjax-rails-1.0.3 vendor/mathjax-MathJax-da8d488/extensions/TeX/HTML.js
mathjax-rails-1.0.2 vendor/mathjax-MathJax-da8d488/extensions/TeX/HTML.js
mathjax_rails-0.0.1 vendor/mathjax-MathJax-da8d488/extensions/TeX/HTML.js
mathjax-rails-0.0.4 vendor/mathjax-MathJax-da8d488/extensions/TeX/HTML.js
mathjax-rails-0.0.3 vendor/mathjax-MathJax-da8d488/extensions/TeX/HTML.js
mathjax-rails-0.0.2 vendor/mathjax-MathJax-f5cd294/extensions/TeX/HTML.js