- })();}
-
- /*
- * All the code that makes DOM Ready work nicely.
- */
-
- jQuery.isReady = false;
- jQuery.readyList = [];
-
- // Handle when the DOM is ready
- jQuery.ready = function() {
- // Make sure that the DOM hasn't already loaded
- if ( !jQuery.isReady ) {
- // Remember that the DOM is ready
- jQuery.isReady = true;
-
- // If there are functions bound, to execute
- if ( jQuery.readyList ) {
- // Execute all of them
- for ( var i = 0; i < jQuery.readyList.length; i++ )
- jQuery.apply( document, jQuery.readyList[i] );
-
- // Reset the list of functions
- jQuery.readyList = null;
- }
- }
- };