code: function (cb) {
              debuglog('start load plugin [%s]', name);
              var realFactory = factory[factory.length - 1];
              // 将defaultConf转移至真实factory
              realFactory.defaultConf = factory.defaultConf;
              runFactory(realFactory, function () {
                  clearTimeout(depsLoadTimeout);
                  depsLoadTimeout = null;
                  cb && cb();
              });
          }
docs: 封装factory function