aboutsummaryrefslogtreecommitdiffhomepage
path: root/sw.js
diff options
context:
space:
mode:
authorMr.doob <[email protected]>2019-11-18 14:28:51 -0600
committerMr.doob <[email protected]>2019-11-18 14:28:51 -0600
commitd7068fd5bb751742f9579a10062564a3298179b0 (patch)
treedf5a651e6d76ac66f3bd11cbe75b8f835b69e451 /sw.js
parente0812dbcb8ec24990a0a8fc64de11f711343be74 (diff)
downloadOrca-d7068fd5bb751742f9579a10062564a3298179b0.tar.gz
Orca-d7068fd5bb751742f9579a10062564a3298179b0.zip
Fixed indentation and unix file permissions
Diffstat (limited to 'sw.js')
-rw-r--r--sw.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw.js b/sw.js
index 240225c..bcf25d0 100644
--- a/sw.js
+++ b/sw.js
@@ -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 );
}