Proper movie list selection and optimization

This commit is contained in:
Ruud
2012-02-29 08:52:26 +01:00
parent 930c166733
commit 560f74e5ba
5 changed files with 48 additions and 23 deletions
@@ -5,7 +5,13 @@ var StatusBase = new Class({
self.statuses = statuses;
}
},
get: function(id){
return this.statuses.filter(function(status){
return status.id == id
}).pick()
},
});
window.Status = new StatusBase();