Skip to content

Commit 919918b

Browse files
committed
Found some more globals.
1 parent 298a4ea commit 919918b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

unpacked/jax/output/CommonHTML/jax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,7 @@
13131313
},
13141314
combine: function (cbox,x,y) {
13151315
cbox.X = x; cbox.Y = y; // save for use with line breaking
1316-
scale = cbox.rscale;
1316+
var scale = cbox.rscale;
13171317
if (x + scale*cbox.r > this.r) this.r = x + scale*cbox.r;
13181318
if (x + scale*cbox.l < this.l) this.l = x + scale*cbox.l;
13191319
if (x + scale*(cbox.w+(cbox.L||0)+(cbox.R||0)) > this.w)

unpacked/jax/output/SVG/jax.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
var SVGNS = "http://www.w3.org/2000/svg";
3535
var XLINKNS = "http://www.w3.org/1999/xlink";
3636

37+
var EVENT, TOUCH, HOVER; // filled in later
38+
3739
//
3840
// Get the URL of the page (for use with xlink:href) when there
3941
// is a <base> element on the page.
@@ -2059,7 +2061,7 @@
20592061
}
20602062
} else {
20612063
if (!sub) {
2062-
values = this.getValues("displaystyle","texprimestyle");
2064+
var values = this.getValues("displaystyle","texprimestyle");
20632065
p = SVG.TeX[(values.displaystyle ? "sup1" : (values.texprimestyle ? "sup3" : "sup2"))];
20642066
u = Math.max(u,p*scale,sup.d+(1/4)*x_height,min.superscriptshift);
20652067
svg.Add(sup,x+delta,u);

0 commit comments

Comments
 (0)