UNPKG

@zklogic/draw.io

Version:

Draw.IO - Graph Editor integration in Angular-cli

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