Skip to content

Instantly share code, notes, and snippets.

@cheshirrrcat
Last active August 29, 2015 14:11
Show Gist options
  • Save cheshirrrcat/526a6413e3493c977b35 to your computer and use it in GitHub Desktop.
Save cheshirrrcat/526a6413e3493c977b35 to your computer and use it in GitHub Desktop.
Ember.js features
filtered: function(){
return this.get('content').filter(function(item){
if(item.get('date') <= '02.05.2014'){
return item;
}
});
}.property()
http://stackoverflow.com/questions/23646576/updated-firstobject-is-undefined-emberjs-array
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment