Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
p3drosola committed Jul 20, 2014
1 parent b72fb18 commit 1cb4c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backbone.virtual-collection.js
Expand Up @@ -125,7 +125,7 @@
return target.get(value);
};

if (this.comparator && this.comparator.length == 1) {
if (iterator.length == 1) {
return _.sortedIndex(this.models, model, iterator, context);
} else {
return sortedIndexTwo(this.models, model, iterator, context);
Expand Down

0 comments on commit 1cb4c56

Please sign in to comment.