It is now possible to load ressources in groups, defined by tags. Each group can have an own completionListener.
An example: you want to load a group of ressources on document ready. Later, when the user performs a specific action, you want to preload other ressources and treat them differently when loading is complete.
All you have to do is pass true as a second argument to the start-function (specifiedTagsOnly).
Hey. I added the following functionality:
It is now possible to load ressources in groups, defined by tags. Each group can have an own completionListener. An example: you want to load a group of ressources on document ready. Later, when the user performs a specific action, you want to preload other ressources and treat them differently when loading is complete.
All you have to do is pass
true
as a second argument to the start-function (specifiedTagsOnly
).A quick demo: http://jsbin.com/ugojeb/2/