Skip to content

Instantly share code, notes, and snippets.

@kswlee
Created July 26, 2012 13:46
Show Gist options
  • Select an option

  • Save kswlee/3182106 to your computer and use it in GitHub Desktop.

Select an option

Save kswlee/3182106 to your computer and use it in GitHub Desktop.
jQuery ready funciton
//... skipped ...
ready: function( fn ) {
// Attach the listeners
jQuery.bindReady();
// Add the callback
readyList.add( fn );
return this;
},
//... skipped ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment