Created
July 26, 2012 13:46
-
-
Save kswlee/3182106 to your computer and use it in GitHub Desktop.
jQuery ready funciton
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //... 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