From 0ed7629df9b98bec9a9b0806267bb6f742356b1c Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Sat, 8 Sep 2012 21:32:24 -0400 Subject: [PATCH] Fix an undeclared variable (notices by the packer). --- unpacked/jax/output/HTML-CSS/autoload/multiline.js | 2 +- unpacked/jax/output/SVG/autoload/multiline.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unpacked/jax/output/HTML-CSS/autoload/multiline.js b/unpacked/jax/output/HTML-CSS/autoload/multiline.js index 358bed889..bb805f9a0 100644 --- a/unpacked/jax/output/HTML-CSS/autoload/multiline.js +++ b/unpacked/jax/output/HTML-CSS/autoload/multiline.js @@ -490,7 +490,7 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { if (start.length > 1) { this.data[this.base].HTMLmoveSlice(start.slice(1),end.slice(1),span,state,values,"paddingLeft"); } else { - if (end.length <= 1) {this.data[i].HTMLmoveSpan(span,state,values)} + if (end.length <= 1) {this.data[this.base].HTMLmoveSpan(span,state,values)} else {this.data[this.base].HTMLmoveSlice([],end.slice(1),span,state,values,"paddingRight")} } } diff --git a/unpacked/jax/output/SVG/autoload/multiline.js b/unpacked/jax/output/SVG/autoload/multiline.js index ace03e271..2903dbcb4 100644 --- a/unpacked/jax/output/SVG/autoload/multiline.js +++ b/unpacked/jax/output/SVG/autoload/multiline.js @@ -445,7 +445,7 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () { if (start.length > 1) { this.data[this.base].SVGmoveSlice(start.slice(1),end.slice(1),svg,state,values,"paddingLeft"); } else { - if (end.length <= 1) {this.data[i].SVGmove(svg,state,values)} + if (end.length <= 1) {this.data[this.base].SVGmove(svg,state,values)} else {this.data[this.base].SVGmoveSlice([],end.slice(1),svg,state,values,"paddingRight")} } }