Permalink
Browse files

Remove unused variable that messed up minification

  • Loading branch information...
1 parent be4fe61 commit 74d4255bc5dde4c51f31fc038a111966b7a96478 @marijnh marijnh committed Nov 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/codemirror.js
View
@@ -2856,7 +2856,7 @@ window.CodeMirror = (function() {
if (line.parent == null) return null;
var cur = line.parent, no = indexOf(cur.lines, line);
for (var chunk = cur.parent; chunk; cur = chunk, chunk = chunk.parent) {
- for (var i = 0, e = chunk.children.length; ; ++i) {
+ for (var i = 0; ; ++i) {
if (chunk.children[i] == cur) break;
no += chunk.children[i].chunkSize();
}

0 comments on commit 74d4255

Please sign in to comment.