diff options
author | Mr.doob <[email protected]> | 2019-11-18 14:28:51 -0600 |
---|---|---|
committer | Mr.doob <[email protected]> | 2019-11-18 14:28:51 -0600 |
commit | d7068fd5bb751742f9579a10062564a3298179b0 (patch) | |
tree | df5a651e6d76ac66f3bd11cbe75b8f835b69e451 /sw.js | |
parent | e0812dbcb8ec24990a0a8fc64de11f711343be74 (diff) | |
download | Orca-d7068fd5bb751742f9579a10062564a3298179b0.tar.gz Orca-d7068fd5bb751742f9579a10062564a3298179b0.zip |
Fixed indentation and unix file permissions
Diffstat (limited to 'sw.js')
-rw-r--r-- | sw.js | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -40,11 +40,11 @@ self.addEventListener( 'install', async function () { assets.forEach( function ( asset ) { - cache.add( asset ).catch( function () { + cache.add( asset ).catch( function () { - console.error( '[SW] Cound\'t cache:', asset ); + console.error( '[SW] Cound\'t cache:', asset ); - } ); + } ); } ); @@ -63,8 +63,8 @@ async function cacheFirst( request ) { if ( cachedResponse === undefined ) { - console.error( '[SW] Not cached:', request.url ); - return fetch( request ); + console.error( '[SW] Not cached:', request.url ); + return fetch( request ); } |