code: function addIndexAndRemoveJsExt(s) {
          if (typeof s === 'string') {
              return addIndexAndRemoveJsExtFromName(s);
          } else {
              var ret = [],
                  i = 0,
                  l = s.length;
              for (; i < l; i++) {
                  ret[i] = addIndexAndRemoveJsExtFromName(s[i]);
              }
              return ret;
          }
      }
docs: http://wiki.commonjs.org/wiki/Packages/Mappings/A 如果模块名以 / 结尾，自动加 index