Skip to content

Commit f44d363

Browse files
committed
Fixed a silly mistake
1 parent 7d3cf9a commit f44d363

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ArrayDiffElement.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
}
1010

1111
ArrayDiffElement.prototype.added = function() {
12-
return oldIndex === undefined;
12+
return this.oldIndex === undefined;
1313
};
1414

1515
ArrayDiffElement.prototype.removed = function() {
16-
return newIndex === undefined;
16+
return this.newIndex === undefined;
1717
};
1818

1919
ArrayDiffElement.prototype.common = function() {
20-
return oldIndex !== undefined && newIndex !== undefined;
20+
return this.oldIndex !== undefined && this.newIndex !== undefined;
2121
};
2222

2323
return ArrayDiffElement;

0 commit comments

Comments
 (0)