Skip to content

Commit

Permalink
list.get now checks with == instead of ===
Browse files Browse the repository at this point in the history
  • Loading branch information
javve committed Oct 18, 2011
1 parent 5845608 commit 7a7449c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion list.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function List(id, templates, values) {
var matchedItems = [];
for (var i = 0, il = self.items.length; i < il; i++) {
var item = self.items[i];
if (item.values()[valueName] === value) {
if (item.values()[valueName] == value) {
matchedItems.push(item);
}
}
Expand Down

0 comments on commit 7a7449c

Please sign in to comment.