index.js
function onFile(filePath, stat) {
      if (filePath.match(ignore) || filePath.match(globalIgnore)) { return; }
      var newTimestamp = updateTimestamp(stat.mtime);
      if (manifest['CACHE'].insert(toUrl(cleanPath(filePath))) || newTimestamp) {
        updateListener(manifest);
      }
    }
function onFile(filePath, stat) {
      if (filePath.match(ignore) || filePath.match(globalIgnore)) { return; }
      var newTimestamp = updateTimestamp(stat.mtime);
      if (manifest['CACHE'].insert(toUrl(cleanPath(filePath))) || newTimestamp) {
        updateListener(manifest);
      }
    }
function onFile ( filePath , stat ) { if ( filePath . match ( ignore ) || filePath . match ( globalIgnore ) ) { return ; } var newTimestamp = updateTimestamp ( stat . mtime ) ; if ( manifest [ 'CACHE' ] . insert ( toUrl ( cleanPath ( filePath ) ) ) || newTimestamp ) { updateListener ( manifest ) ; } }
If no ignore pattern is given, use one that matches nothing
If no ignore pattern is given use one that matches nothing