diff options
author | Andrew Dolgov <[email protected]> | 2020-11-20 21:16:42 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-11-20 21:16:42 +0300 |
commit | 8193d20d390c1fc4038ce586fc27ad52b3b8b9d0 (patch) | |
tree | afdd4db263106e86db67cfec32e957767eaca3fe | |
parent | 8104cc10e74bcf92c0cce9e736ab7755ec8c7998 (diff) |
worker: don't use arrow function here to placate eslint
-rw-r--r-- | worker.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ self.addEventListener('message', function(event){ return caches.open(CACHE_NAME).then(function(cache) { - Promise.all(CACHE_URLS.map((url) => { + Promise.all(CACHE_URLS.map(function(url) { return fetch(url + "?ts=" + Date.now()).then((resp) => { console.log('got', resp.url, resp); |