Newer
Older
KaiFengAxure / 开封原型PC / resources / scripts / player / init.js
@zhangdeliang zhangdeliang on 1 Jul 567 bytes 1
(function () {
    $.holdReady(true);

    var script = window.document.createElement("script");
    script.type = "text/javascript";
    script.async = true;
    script.onload = script.onreadystatechange = function (e, isAbort) {
        if (isAbort || !script.readyState || /loaded|complete/.test(script.readyState)) {
            script.onload = script.onreadystatechange = null;
            script = undefined;
        }

        if (!isAbort) { $.holdReady(false); }
    }

    script.src = "data/document.js";
    window.document.head.appendChild(script);
})();