Fix undefined variable typo

This commit is contained in:
Wu Cheng-Han 2016-09-18 17:05:55 +08:00
parent 9b5856fff0
commit 21afa2de14

View file

@ -1691,7 +1691,7 @@ function selectRevision(time) {
// mark the text which have been insert or delete // mark the text which have been insert or delete
if (revision.patch.length > 0) { if (revision.patch.length > 0) {
var bias = 0; var bias = 0;
for (j = 0; j < revision.patch.length; j++) { for (var j = 0; j < revision.patch.length; j++) {
var patch = revision.patch[j]; var patch = revision.patch[j];
var currIndex = patch.start1 + bias; var currIndex = patch.start1 + bias;
for (var i = 0; i < patch.diffs.length; i++) { for (var i = 0; i < patch.diffs.length; i++) {