humboldtjs/HumboldtJSLibrary — pull request #1 by sexybiggetje (2012-04-03 10:21:14+00:00)
Title: Blocking queue implementation for PrefixLoader

This implementation extends the PrefixLoader with a Queue to avoid problems that arise when using multiple prefixloaders. Since after content has been loaded we can't get the origin anymore you couldn't just rely on the first callback being the one who requested the content. We store this login in the window object with the proper prefix and matching load queue suffix because referencing to the object statically won't work in javascript properly.

Removed onCallback and rather use doCallback for handling the callback, which in turn triggers the queue handler loadNextIfAvailable.