aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/chromereload.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-06-22 04:56:04 +0800
committerDan Finlay <dan@danfinlay.com>2016-06-22 04:56:04 +0800
commit8fde8a8921135112ccfdd13ce6b009755b5f71ed (patch)
treecd4ceb1dcd74a601506f92e5669e3022ca800c0c /app/scripts/chromereload.js
parentab15b4c8259d6f6c5ae9d1e51548d73cfc1c67cb (diff)
downloadtangerine-wallet-browser-8fde8a8921135112ccfdd13ce6b009755b5f71ed.tar
tangerine-wallet-browser-8fde8a8921135112ccfdd13ce6b009755b5f71ed.tar.gz
tangerine-wallet-browser-8fde8a8921135112ccfdd13ce6b009755b5f71ed.tar.bz2
tangerine-wallet-browser-8fde8a8921135112ccfdd13ce6b009755b5f71ed.tar.lz
tangerine-wallet-browser-8fde8a8921135112ccfdd13ce6b009755b5f71ed.tar.xz
tangerine-wallet-browser-8fde8a8921135112ccfdd13ce6b009755b5f71ed.tar.zst
tangerine-wallet-browser-8fde8a8921135112ccfdd13ce6b009755b5f71ed.zip
Manually linted
Diffstat (limited to 'app/scripts/chromereload.js')
-rw-r--r--app/scripts/chromereload.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/scripts/chromereload.js b/app/scripts/chromereload.js
index 0dd6bd5aa..283a131f1 100644
--- a/app/scripts/chromereload.js
+++ b/app/scripts/chromereload.js
@@ -603,10 +603,10 @@ window.LiveReloadOptions = { host: 'localhost' };
} else if (__indexOf.call(message.protocols, PROTOCOL_7) >= 0) {
this.protocol = 7
} else if (__indexOf.call(message.protocols, PROTOCOL_6) >= 0) {
- this.protocol = 6
- } else {
- throw new ProtocolError('no supported protocols found')
- }
+ this.protocol = 6
+ } else {
+ throw new ProtocolError('no supported protocols found')
+ }
}
return this.handlers.connected(this.protocol)
} else if (this.protocol === 6) {