Skip to content

Commit 6b8a58f

Browse files
committed
Fix variable problems found by packer
1 parent 9b3e623 commit 6b8a58f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

unpacked/jax/input/TeX/jax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1581,7 +1581,7 @@
15811581
var w = this.GetDimen(name),
15821582
h = this.GetDimen(name),
15831583
d = this.GetDimen(name);
1584-
var mml, def = {width:w, height:h, depth:d};
1584+
var def = {width:w, height:h, depth:d};
15851585
if (style !== 'blank') {
15861586
def.mathbackground = (this.stack.env.color || "black");
15871587
}

unpacked/jax/output/CommonHTML/jax.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,10 +1005,10 @@
10051005
// Remap combining characters to non-combining versions since Safari
10061006
// handles them differently from everyone else. (#1709)
10071007
//
1008-
var char = this.flushText(node,state);
1008+
var chr = this.flushText(node,state);
10091009
var r = (FONT[item.n]||font[item.n])[4] - (C[4] - C[2]);
1010-
char.style.marginLeft = CHTML.Em(-C[2]-r);
1011-
if (r < 0) char.style.marginRight = CHTML.Em(-r);
1010+
chr.style.marginLeft = CHTML.Em(-C[2]-r);
1011+
if (r < 0) chr.style.marginRight = CHTML.Em(-r);
10121012
}
10131013
},
10141014
//

0 commit comments

Comments
 (0)