Skip to content

Commit e4982cb

Browse files
committed
Fix unneeded variable (noted by YUI compression)
1 parent 714b970 commit e4982cb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

unpacked/jax/output/HTML-CSS/autoload/multiline.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,8 +536,8 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () {
536536
//
537537
// Get the current breakpoint position and other data
538538
//
539-
var index = info.index.slice(0), i = info.index.shift(),
540-
W, w, scanW, broken = (info.index.length > 0), better = false;
539+
var index = info.index.slice(0); info.index.shift();
540+
var W, w, scanW, broken = (info.index.length > 0), better = false;
541541
if (!broken) {info.W += info.w; info.w = 0}
542542
info.scanW = info.W;
543543
//

unpacked/jax/output/SVG/autoload/multiline.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,8 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () {
489489
//
490490
// Get the current breakpoint position and other data
491491
//
492-
var index = info.index.slice(0), i = info.index.shift(),
493-
W, w, scanW, broken = (info.index.length > 0), better = false;
492+
var index = info.index.slice(0); info.index.shift();
493+
var W, w, scanW, broken = (info.index.length > 0), better = false;
494494
if (!broken) {info.W += info.w; info.w = 0}
495495
info.scanW = info.W;
496496
//

0 commit comments

Comments
 (0)