lib/adapter.js
function(filePaths, importRegexp, System) {
      var moduleNames = [];
      for (var filePath in filePaths) {
        if (filePaths.hasOwnProperty(filePath) && importRegexp.test(filePath)) {
          moduleNames.push(adapter.getModuleNameFromPath(filePath, System.baseURL, System));
        }
      }
      return moduleNames;
    }
function(filePaths, importRegexp, System) {
      var moduleNames = [];
      for (var filePath in filePaths) {
        if (filePaths.hasOwnProperty(filePath) && importRegexp.test(filePath)) {
          moduleNames.push(adapter.getModuleNameFromPath(filePath, System.baseURL, System));
        }
      }
      return moduleNames;
    }
function ( filePaths , importRegexp , System ) { var moduleNames = [ ] ; for ( var filePath in filePaths ) { if ( filePaths . hasOwnProperty ( filePath ) && importRegexp . test ( filePath ) ) { moduleNames . push ( adapter . getModuleNameFromPath ( filePath , System . baseURL , System ) ) ; } } return moduleNames ; }
Returns the modules names for files that match a given import RegExp.
@param filePaths {object}
@param importRegexp {object}
@param System {object}
@returns {string[]}
Returns the modules names for files that match a given import RegExp .