index.js
function joinNodeModules(jsPaths){
    _.each(jsPaths, function(jsPath){
      var libPath = path.join(nodeModules, jsPath),
          flattenedLibPath = path.join(flattenedNodeModules, jsPath);

      if (fs.existsSync(libPath)) {
        defaultScripts.push(libPath);
      } else if (fs.existsSync(flattenedLibPath)) {
        defaultScripts.push(flattenedLibPath);
      } else {
        console.error('Could not find ' + jsPath);
      }
    });
  }
function joinNodeModules(jsPaths){
    _.each(jsPaths, function(jsPath){
      var libPath = path.join(nodeModules, jsPath),
          flattenedLibPath = path.join(flattenedNodeModules, jsPath);

      if (fs.existsSync(libPath)) {
        defaultScripts.push(libPath);
      } else if (fs.existsSync(flattenedLibPath)) {
        defaultScripts.push(flattenedLibPath);
      } else {
        console.error('Could not find ' + jsPath);
      }
    });
  }
function joinNodeModules ( jsPaths ) { _ . each ( jsPaths , function ( jsPath ) { var libPath = path . join ( nodeModules , jsPath ) , flattenedLibPath = path . join ( flattenedNodeModules , jsPath ) ; if ( fs . existsSync ( libPath ) ) { defaultScripts . push ( libPath ) ; } else if ( fs . existsSync ( flattenedLibPath ) ) { defaultScripts . push ( flattenedLibPath ) ; } else { console . error ( 'Could not find ' + jsPath ) ; } } ) ; }
Sets default script paths
Sets default script paths