code: function () {
  
      var keys = Object.keys(wating);
  
      /*
       * 检测依赖关系，
       * FIXME 暂时未处理循环依赖.以及始终不满足执行条件的情况.
       */
      keys.forEach(function (name) {
          var args = [];
          var factory = wating[name][0];
          var depends = wating[name][1];
          var done = wating[name][2];
  
          var canDo = depends.every(function (name) {
  
              // 插件系统中内容优先，资源池中置后
              var value = working[name] || Resource[name];
  
              if (value) {
                  args.push(value);
                  return true;
              }
  
              return false;
          });
  
          if (canDo) {
              // 先移除，防止callback中检测依赖时产生的循环
              delete wating[name];
  
              //  判断异步及同步
              if (done) {
                  args.push(done);
                  factory.apply( {}, args);
              } else {
                  try {
                      var value = working[name] = factory.apply( {}, args);
  
                      oldDefineOfPlugin.call(Plugin, name, value);
                  }catch(err) {
                      stdLog(['%s, can not start the plug-in [%s], \nstack:', err.stack, name], 'crash');
                      process.exit(0);
                      return;
                  }
              }
          }
      });
  }
docs: 等待启动的插件 
  检查依赖并启动满足条件的插件
  @private