Newer
Older
KaiFengAxure / 开封原型APP+微信公众号 / resources / scripts / player / init.js
@zhangdeliang zhangdeliang on 28 May 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);
})();