www

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

commit 5f00f6facd730420500587953a76aa014a640a9f
parent fc04b1943d77287abe2eb47fecc3ac9e5f34a81f
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Sat, 22 Aug 2015 10:12:03 -0400

Rename mapchars to remapchars property for consistency (was wrong in mo.CHTMLcanStretch).

Diffstat:
Munpacked/jax/output/CommonHTML/jax.js | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js @@ -1712,7 +1712,7 @@ this.CHTMLaddChild(node,i,{childOptions:{ variant: values.mathvariant, remap: this.remap, - remapchars: values.mapchars + remapchars: values.remapchars }}); } if (values.text.length !== 1) delete this.CHTML.skew; @@ -1752,9 +1752,9 @@ this.CoreText(parent.data[parent.base]).length === 1) { var over = parent.data[parent.over], under = parent.data[parent.under]; if (over && this === over.CoreMO() && parent.Get("accent")) { - data.mapchars = CHTML.FONTDATA.REMAPACCENT + data.remapchars = CHTML.FONTDATA.REMAPACCENT; } else if (under && this === under.CoreMO() && parent.Get("accentunder")) { - data.mapchars = CHTML.FONTDATA.REMAPACCENTUNDER + data.remapchars = CHTML.FONTDATA.REMAPACCENTUNDER; } } }, @@ -1763,7 +1763,7 @@ isScript = (parent && parent.isa(MML.msubsup) && this !== parent.data[parent.base]); if (data.largeop) data.mathvariant = (data.displaystyle ? "-largeOp" : "-smallOp"); if (isScript) { - data.mapchars = this.remapChars; + data.remapchars = this.remapChars; if (data.text.match(/['`"\u00B4\u2032-\u2037\u2057]/)) data.mathvariant = "-TeX-variant"; // ### FIXME: handle other fonts }