aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/chromereload.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2016-08-30 09:27:55 +0800
committerGitHub <noreply@github.com>2016-08-30 09:27:55 +0800
commit791e80988d889a72fee12579fa6525b6b0f15e18 (patch)
treededc156a42acb9419a7eba8decbcad98cc9cb59a /app/scripts/chromereload.js
parenta9c738d4d3226f61942641a41c399c75a3e9eb3e (diff)
parentc15eef9425531c86a9016d1cbad9d32f4d12edcd (diff)
downloadtangerine-wallet-browser-791e80988d889a72fee12579fa6525b6b0f15e18.tar.gz
tangerine-wallet-browser-791e80988d889a72fee12579fa6525b6b0f15e18.tar.zst
tangerine-wallet-browser-791e80988d889a72fee12579fa6525b6b0f15e18.zip
Merge pull request #596 from MetaMask/EdgeCompatibility
Edge compatibility
Diffstat (limited to 'app/scripts/chromereload.js')
-rw-r--r--app/scripts/chromereload.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/scripts/chromereload.js b/app/scripts/chromereload.js
index 88333ba8a..f0bae403c 100644
--- a/app/scripts/chromereload.js
+++ b/app/scripts/chromereload.js
@@ -324,13 +324,13 @@ window.LiveReloadOptions = { host: 'localhost' };
this.pluginIdentifiers = {}
this.console = this.window.console && this.window.console.log && this.window.console.error ? this.window.location.href.match(/LR-verbose/) ? this.window.console : {
log: function () {},
- error: this.window.console.error.bind(this.window.console),
+ error: console.error,
} : {
log: function () {},
error: function () {},
}
if (!(this.WebSocket = this.window.WebSocket || this.window.MozWebSocket)) {
- this.console.error('LiveReload disabled because the browser does not seem to support web sockets')
+ console.error('LiveReload disabled because the browser does not seem to support web sockets')
return
}
if ('LiveReloadOptions' in window) {
@@ -344,7 +344,7 @@ window.LiveReloadOptions = { host: 'localhost' };
} else {
this.options = Options.extract(this.window.document)
if (!this.options) {
- this.console.error('LiveReload disabled because it could not find its own <SCRIPT> tag')
+ console.error('LiveReload disabled because it could not find its own <SCRIPT> tag')
return
}
}