Use Object.each for object looping
This commit is contained in:
@@ -78,9 +78,9 @@ var Movie = new Class({
|
|||||||
self.list.checkIfEmpty();
|
self.list.checkIfEmpty();
|
||||||
|
|
||||||
// Remove events
|
// Remove events
|
||||||
self.global_events.each(function(handle, listener){
|
Object.each(self.global_events, function(handle, listener){
|
||||||
App.off(listener, handle);
|
App.off(listener, handle);
|
||||||
})
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
busy: function(set_busy, timeout){
|
busy: function(set_busy, timeout){
|
||||||
|
|||||||
Reference in New Issue
Block a user