From 876de38f743dcb9c7b71d1c5c94a82f5185afbef Mon Sep 17 00:00:00 2001 From: Jeff Posnick Date: Tue, 30 Jun 2015 14:18:38 -0400 Subject: [PATCH] console.log -> console.warn --- platinum-sw-fetch.html | 2 +- platinum-sw-import-script.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platinum-sw-fetch.html b/platinum-sw-fetch.html index 032fbe9..ba5a50d 100644 --- a/platinum-sw-fetch.html +++ b/platinum-sw-fetch.html @@ -126,7 +126,7 @@ if (this.path && this.handler) { params.route = [this.path, this.handler, this.origin]; } else { - console.log('The following platinum-sw-fetch element will not have any effect. ' + + console.warn('The following platinum-sw-fetch element will not have any effect. ' + 'Both the "path" and "handler" attributes must be set.', this); } resolve(params); diff --git a/platinum-sw-import-script.html b/platinum-sw-import-script.html index 054d08a..9cb4755 100644 --- a/platinum-sw-import-script.html +++ b/platinum-sw-import-script.html @@ -50,8 +50,8 @@ if (this.href) { params.importscript = this.href; } else { - console.log('The following platinum-sw-import-script element will not have any effect. ' + - 'The "href" attribute must be set.', this); + console.warn('The following platinum-sw-import-script element will not have any effect.' + + ' The "href" attribute must be set.', this); } resolve(params); }.bind(this));