Skip to content

Commit

Permalink
window.console -> Polymer.Base (PolymerElements#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
valdrinkoshi committed May 31, 2016
1 parent f70893e commit bcdb5d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"ignore": [],
"dependencies": {
"promise-polyfill": "polymerlabs/promise-polyfill#^1.0.0",
"polymer": "Polymer/polymer#^1.0.0"
"polymer": "Polymer/polymer#^1.5.0"
},
"devDependencies": {
"iron-component-page": "polymerelements/iron-component-page#^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion iron-ajax.html
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@

_handleError: function(request, error) {
if (this.verbose) {
console.error(error);
Polymer.Base._error(error);
}

if (request === this.lastRequest) {
Expand Down
2 changes: 1 addition & 1 deletion iron-request.html
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
}
Object.keys(headers).forEach(function (requestHeader) {
if (/[A-Z]/.test(requestHeader)) {
console.error('Headers must be lower case, got', requestHeader);
Polymer.Base._error('Headers must be lower case, got', requestHeader);
}
xhr.setRequestHeader(
requestHeader,
Expand Down

0 comments on commit bcdb5d3

Please sign in to comment.