Skip to content

Commit f76c75d

Browse files
committed
Renamed parameter
1 parent 8803d44 commit f76c75d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎data/adapters/inMemory.coffee‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ class InMemoryDataAdapter
77
if attributes._id? then @update(collection, attributes, callback)
88
else @insert(collection, attributes, callback)
99

10-
find: (collection, parameters, callback) =>
10+
find: (collection, critera, callback) =>
1111
results = []
1212

1313
for item in @items[collection] || []
1414
allTrue = true
1515

16-
for name, value of parameters
16+
for name, value of critera
1717
if item[name] isnt value
1818
allTrue = false
1919

0 commit comments

Comments
 (0)