kiva / backbone.siren

Converts Siren JSON representations into Backbone Models
MIT License
14 stars 3 forks source link

Bug in implementation of Collection.prototype.filter #28

Closed gxxcastillo closed 11 years ago

gxxcastillo commented 11 years ago

bbSiren's implementation of .filter() calls underscore's .filter(), however, it fails to pass along an array of models as the first parameter such that the callback can iterate over each model, with each model being the first argument to the callback.