jQuery 1.0.2

2019-06-03 18:50:05于海丽

            "src=//:></script>");

        // Use the defer script hack
        var script = document.getElementById("__ie_init");
        script.onreadystatechange = function() {
            if ( this.readyState != "complete" ) return;
            this.parentNode.removeChild( this );
            jQuery.ready();
        };

        // Clear from memory
        script = null;

    // If Safari  is used
    } else if ( jQuery.browser.safari ) {
        // Continually check to see if the document.readyState is valid
        jQuery.safariTimer = setInterval(function(){
            // loaded and complete are both valid states
            if ( document.readyState == "loaded" || 
                document.readyState == "complete" ) {

                // If either one are found, remove the timer
                clearInterval( jQuery.safariTimer );
                jQuery.safariTimer = null;

                // and execute any waiting functions
                jQuery.ready();
            }
        }, 10);
    } 

    // A fallback to window.onload, that will always work
    jQuery.event.add( window, "load", jQuery.ready );