code: function(dep) {
    if (lithe.config.publicdeps) {
      var deps = Object.keys(lithe.config.publicdeps),
          isDeps;
  
      dep = lithe.config.alias && lithe.config.alias[dep] ? lithe.config.alias[dep] : dep;
  
      var pDeps = map(deps, function (d) {
        if (d.lastIndexOf(jsExt) < 0){
          return d + jsExt;
        }else {
          return d;
        }
      });
  
      // 如果结尾有js
  
      if ((/\.(?:js)$/).test(dep)) {
        isDeps = _verifyDeps(pDeps, dep, "");
      }
  
      if (!(/\.(?:js)$/).test(dep)) {
        isDeps = _verifyDeps(pDeps, dep, jsExt);
      }
  
      return isDeps;
    }else {
      return {
        isPublicDeps : false,
        dep : null
      };
    }
  }
docs: 改动