Created
May 4, 2014 22:44
-
-
Save brancusi/f0ecedd0ec2b83e5c93a to your computer and use it in GitHub Desktop.
This breaks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filterable:function(types){ | |
return this.store.find('item').then(function(collection){ | |
return collection.filter(function(item){ | |
return types.contains(item.get('typeTag')); | |
}); | |
}); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment