README.md in serviceworker-rails-0.5.3 vs README.md in serviceworker-rails-0.5.4

- old
+ new

@@ -120,10 +120,10 @@ return Promise.all( cacheNames.filter(function(cacheName) { // Return true if you want to remove this cache, // but remember that caches are shared across // the whole origin - return key.indexOf('v1') !== 0; + return cacheName.indexOf('v1') !== 0; }).map(function(cacheName) { return caches.delete(cacheName); }) ); })