Skip to content

Commit 9f0cfe2

Browse files
committed
Make sure mml classes are modified not the instances themselves.
1 parent 050ecf7 commit 9f0cfe2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

unpacked/jax/output/CommonHTML/jax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1759,7 +1759,7 @@
17591759
// Autoload files based on node type or file name
17601760
//
17611761
CHTMLautoload: function () {
1762-
this.toCommonHTML = MML.mbase.CHTMLautoloadFail;
1762+
this.constructor.Augment({toCommonHTML: MML.mbase.CHTMLautoloadFail});
17631763
var file = CHTML.autoloadDir+"/"+this.type+".js";
17641764
HUB.RestartAfter(AJAX.Require(file));
17651765
},

unpacked/jax/output/HTML-CSS/jax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2193,7 +2193,7 @@
21932193

21942194
},{
21952195
HTMLautoload: function () {
2196-
this.toHTML = MML.mbase.HTMLautoloadFail;
2196+
this.constructor.Augment({toHTML: MML.mbase.HTMLautoloadFail});
21972197
var file = HTMLCSS.autoloadDir+"/"+this.type+".js";
21982198
HUB.RestartAfter(AJAX.Require(file));
21992199
},

unpacked/jax/output/SVG/jax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@
14531453
return svg;
14541454
},
14551455
SVGautoload: function () {
1456-
this.toSVG = MML.mbase.SVGautoloadFail;
1456+
this.constructor.Augment({toSVG: MML.mbase.SVGautoloadFail});
14571457
var file = SVG.autoloadDir+"/"+this.type+".js";
14581458
HUB.RestartAfter(AJAX.Require(file));
14591459
},

0 commit comments

Comments
 (0)