Skip to content

Instantly share code, notes, and snippets.

@cfurrow
Created February 20, 2012 16:49
Show Gist options
  • Save cfurrow/1870075 to your computer and use it in GitHub Desktop.
Save cfurrow/1870075 to your computer and use it in GitHub Desktop.
window.q = [];
window.$ = function(f){
q.push(f);
};
//... jQuery now loaded. run all jQuery "ready" functions queued up
$.each(window.q,function(key,val){
$(val);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment