code: function onScriptLoad(e, url){
        var readyRegExp = navigator.platform === 'PLaySTATION 3' ? /^complete$/ : /^(complete|loaded)$/
        if (e.type === 'load' || (readyRegExp.test((e.currentTarget || e.srcElement).readyState))) {
          config.modules[item] = url;
          head.removeChild(node);
          (function poll() {
            if(++timeout > config.timeout * 1000 / 4){
              return error(item + ' is not a valid module');
            };
            config.status[item] ? onCallback() : setTimeout(poll, 4);
          }());
        }
      }
docs: 加载完毕