index.js
function isBlacklisted(moduleId)
{
  var i;

  // strip basePath
  moduleId = moduleId.replace(this.basePathRegexp, '');

  for (i = 0; i < this.blackList.length; i++)
  {
    if (minimatch(moduleId, this.blackList[i]))
    {
      return true;
    }
  }

  return false;
}
function isBlacklisted(moduleId)
{
  var i;

  // strip basePath
  moduleId = moduleId.replace(this.basePathRegexp, '');

  for (i = 0; i < this.blackList.length; i++)
  {
    if (minimatch(moduleId, this.blackList[i]))
    {
      return true;
    }
  }

  return false;
}
function isBlacklisted ( moduleId ) { var i ; // strip basePath moduleId = moduleId . replace ( this . basePathRegexp , '' ) ; for ( i = 0 ; i < this . blackList . length ; i ++ ) { if ( minimatch ( moduleId , this . blackList [ i ] ) ) { return true ; } } return false ; }
checks blackList, using glob-like patterns
checks blackList using glob - like patterns