Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
console.log -> console.warn
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffposnick committed Jun 30, 2015
1 parent 72b284a commit 876de38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion platinum-sw-fetch.html
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions platinum-sw-import-script.html
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 876de38

Please sign in to comment.