www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 28afef1a95ef4e1e707709c13cca3cb2e9a92b05
parent 5828d635986cec17e0db86f379f22b29ddba8830
Author: Frédéric Wang <fred.wang@free.fr>
Date:   Mon, 21 Oct 2013 12:38:26 +0200

mglyph messages: pass the def to the MML.Error function. #627

Diffstat:
Munpacked/jax/output/HTML-CSS/autoload/mglyph.js | 6+++---
Munpacked/jax/output/SVG/autoload/mglyph.js | 4++--
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/unpacked/jax/output/HTML-CSS/autoload/mglyph.js b/unpacked/jax/output/HTML-CSS/autoload/mglyph.js @@ -45,7 +45,7 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { } else { if (values.alt === "") {values.alt = LOCALE._(["MathML","BadMglyphFont"],"Bad font: %1",font.family)} - err = MML.Error(values.alt).With({mathsize:"75%"}); + err = MML.Error(values.alt,{mathsize:"75%"}); this.Append(err); err.toHTML(span); this.data.pop(); span.bbox = err.HTMLspanElement().bbox; } @@ -63,8 +63,8 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { } if (this.img.status !== "OK") { err = MML.Error( - LOCALE._(["MathML","BadMglyph"],"Bad mglyph: %1",values.src) - ).With({mathsize:"75%"}); + LOCALE._(["MathML","BadMglyph"],"Bad mglyph: %1",values.src), + {mathsize:"75%"}); this.Append(err); err.toHTML(span); this.data.pop(); span.bbox = err.HTMLspanElement().bbox; } else { diff --git a/unpacked/jax/output/SVG/autoload/mglyph.js b/unpacked/jax/output/SVG/autoload/mglyph.js @@ -75,8 +75,8 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () { } if (this.img.status !== "OK") { err = MML.Error( - LOCALE._(["MathML","BadMglyph"],"Bad mglyph: %1",values.src) - ).With({mathsize:"75%"}); + LOCALE._(["MathML","BadMglyph"],"Bad mglyph: %1",values.src), + {mathsize:"75%"}); this.Append(err); svg = err.toSVG(); this.data.pop(); } else { var mu = this.SVGgetMu(svg);