Created
April 29, 2010 08:03
-
-
Save unamashana/383291 to your computer and use it in GitHub Desktop.
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
Muziboo.Queue = { | |
process: function(){ | |
_muzq.each(function(e){ | |
Muziboo.Queue.execute(e); | |
}); | |
// Queue is no longer needed as the stack is ready | |
_muzq = { | |
push: function(e){ | |
Muziboo.Queue.execute(e); | |
} | |
} | |
}, | |
execute: function(e){ | |
var fun = eval(e.splice(0,1)[0]); | |
fun.apply(this,e); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment