Proper movie list selection and optimization
This commit is contained in:
1 parent
930c166733
commit
560f74e5ba
5 files changed
+48
-23
No files matched your search
@@ -20,6 +20,7 @@ class StatusPlugin(Plugin):
|
||||
'wanted': 'Wanted',
|
||||
'snatched': 'Snatched',
|
||||
'deleted': 'Deleted',
|
||||
'ignored': 'Ignored',
|
||||
}
|
||||
|
||||
def __init__(self):
|
||||
|
||||
@@ -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();
|
||||
Reference in new issue
Block a user