Skip to content

Commit c59db4a

Browse files
committed
Don't need 'var' twice for these variables.
1 parent 24b01d3 commit c59db4a

File tree

1 file changed

+3
-3
lines changed
  • unpacked/jax/output/CommonHTML/autoload

1 file changed

+3
-3
lines changed

unpacked/jax/output/CommonHTML/autoload/mtable.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ MathJax.Hub.Register.StartupHook("CommonHTML Jax Ready",function () {
9393
CHTMLgetBoxSizes: function (values,state) {
9494
var LH = CHTML.FONTDATA.lineH * values.useHeight,
9595
LD = CHTML.FONTDATA.lineD * values.useHeight;
96-
var H = [], D = [], W = [], J = -1;
97-
for (var i = 0, m = this.data.length; i < m; i++) {
96+
var H = [], D = [], W = [], J = -1, i, m;
97+
for (i = 0, m = this.data.length; i < m; i++) {
9898
var row = this.data[i], s = (row.type === "mtr" ? 0 : LABEL);
9999
H[i] = LH; D[i] = LD;
100100
for (var j = s, M = row.data.length + s; j < M; j++) {
@@ -109,7 +109,7 @@ MathJax.Hub.Register.StartupHook("CommonHTML Jax Ready",function () {
109109
state.HD = true;
110110
var HH = Math.max.apply(Math,H);
111111
var DD = Math.max.apply(Math,D);
112-
for (var i = 0, m = H.length; i < m; i++) {H[i] = HH; D[i] = DD}
112+
for (i = 0, m = H.length; i < m; i++) {H[i] = HH; D[i] = DD}
113113
}
114114
state.H = H; state.D = D; state.W = W, state.J = J;
115115
},

0 commit comments

Comments
 (0)