Skip to content

Instantly share code, notes, and snippets.

@lmarburger
Created April 23, 2009 19:14
Show Gist options
  • Save lmarburger/100700 to your computer and use it in GitHub Desktop.
Save lmarburger/100700 to your computer and use it in GitHub Desktop.
// I'm using AS3 like it was JS and you can't stop me.
_waitingQueue
.filter(function(obj:Object, index:int, array:Array) {
return obj.loader == _loader;
})
.forEach(function(obj:Object, index:int, array:Array) {
_waitingQueue.splice(_waitingQueue.indexOf(obj), 1);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment