Permalink
Browse files

Edited src/finder.js via GitHub

  • Loading branch information...
angus-c committed Jul 13, 2011
1 parent 0b5632f commit 258f664a9e46f8cde901edfecdb336b22dd6ae88
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/finder.js
View
@@ -44,8 +44,8 @@ THE SOFTWARE.
}
var tests = {
- 'name': function(searchTerm, obj, prop) {searchTerm == prop},
- 'nameContains': function(searchTerm, obj, prop) {prop.indexOf(searchTerm)>-1},
+ 'name': function(searchTerm, obj, prop) {return searchTerm == prop},
+ 'nameContains': function(searchTerm, obj, prop) {return prop.indexOf(searchTerm)>-1},
'type': function(searchTerm, obj, prop) {return obj[prop] instanceof searchTerm},
'value': function(searchTerm, obj, prop) {return obj[prop] === searchTerm},
'valueCoerced': function(searchTerm, obj, prop) {return obj[prop] == searchTerm}

0 comments on commit 258f664

Please sign in to comment.