Skip to content

Instantly share code, notes, and snippets.

@html
Created January 29, 2012 10:08
Show Gist options
  • Save html/1698119 to your computer and use it in GitHub Desktop.
Save html/1698119 to your computer and use it in GitHub Desktop.
Sequential files loading with jQuery
function getFiles(collection, callback){
eachStep(collection,
function(source){
return jQuery.get(source);
}, callback);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment