Fix unneeded variable (noted by YUI compression)

This commit is contained in:
Davide P. Cervone 2015-01-29 10:32:36 -05:00
parent 714b9702fa
commit e4982cb703
2 changed files with 4 additions and 4 deletions

View File

@ -536,8 +536,8 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () {
// //
// Get the current breakpoint position and other data // Get the current breakpoint position and other data
// //
var index = info.index.slice(0), i = info.index.shift(), var index = info.index.slice(0); info.index.shift();
W, w, scanW, broken = (info.index.length > 0), better = false; var W, w, scanW, broken = (info.index.length > 0), better = false;
if (!broken) {info.W += info.w; info.w = 0} if (!broken) {info.W += info.w; info.w = 0}
info.scanW = info.W; info.scanW = info.W;
// //

View File

@ -489,8 +489,8 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () {
// //
// Get the current breakpoint position and other data // Get the current breakpoint position and other data
// //
var index = info.index.slice(0), i = info.index.shift(), var index = info.index.slice(0); info.index.shift();
W, w, scanW, broken = (info.index.length > 0), better = false; var W, w, scanW, broken = (info.index.length > 0), better = false;
if (!broken) {info.W += info.w; info.w = 0} if (!broken) {info.W += info.w; info.w = 0}
info.scanW = info.W; info.scanW = info.W;
// //