docs: function() {
          var self = this;
          var promise;
          var modules = self.undef;
          _.each(modules, function(v) {
              promise = new Promise();
              mapDeps2ModulePromise[v] = mapDeps2ModulePromise[v] ? mapDeps2ModulePromise[v] : [];
              mapDeps2ModulePromise[v].push(promise.done(function() {
                  self.define();
              }));
              if (mapDefined[v] !== 'pending') {
                  var alias = _.alias(v);
  
                  if (alias && alias.length) {
                      //如果存在alias
                      var p = new Promise();
  
                      p.done(function() {
                          self.define()
                      });
                      //如果是普通js和css
                      //不支持有依赖关系的alias模块类型的js
                      var len = alias.length;
                      var cb = function() {
                          len--;
                          if (len === 0) {
                              mapDefined[v] = 'defined'; //标注alias被定义过了~
                              p.resolve();
                          }
                      };
                      _.each(alias, function(v) {
                          if (regIsCSS.test(v)) {
                              _.loadCSS(v, cb);
                          } else if (regIsJS.test(v)) {
                              _.loadJS(v, cb);
                          } else {
                              var tempPromise = new Promise();
                              mapDeps2ModulePromise[v] = mapDeps2ModulePromise[v] ? mapDeps2ModulePromise[v] : [];
                              mapDeps2ModulePromise[v].push(tempPromise.done(cb));
                              _.loadJS(v);
                          }
                      });
                  } else if (regIsCSS.test(v)) {
                      //css文件
                      _.loadCSS(v, function() {
                          self.define();
                      });
                  } else if (regIsJS.test(v)) {
                      //js文件
                      _.loadJS(v, function() {
                          self.define();
                      });
                  } else {
                      //模块
                      _.loadJS(v);
                  }
              }
          });
      }