From d7068fd5bb751742f9579a10062564a3298179b0 Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Mon, 18 Nov 2019 14:28:51 -0600 Subject: Fixed indentation and unix file permissions --- sw.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sw.js') 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 ); } -- cgit v1.2.3