aboutsummaryrefslogtreecommitdiffstats
path: root/mascara
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-09-16 04:13:13 +0800
committerkumavis <aaron@kumavis.me>2017-09-16 04:13:13 +0800
commit0ab37b52c0540e8877321b40fc742928e96f7ee3 (patch)
tree8ce8b92a69fd3ac55135cab435d6cf7d46a04995 /mascara
parentd2d6f6a858a1ffa1871830f0fbc39ecc76935321 (diff)
downloadtangerine-wallet-browser-0ab37b52c0540e8877321b40fc742928e96f7ee3.tar
tangerine-wallet-browser-0ab37b52c0540e8877321b40fc742928e96f7ee3.tar.gz
tangerine-wallet-browser-0ab37b52c0540e8877321b40fc742928e96f7ee3.tar.bz2
tangerine-wallet-browser-0ab37b52c0540e8877321b40fc742928e96f7ee3.tar.lz
tangerine-wallet-browser-0ab37b52c0540e8877321b40fc742928e96f7ee3.tar.xz
tangerine-wallet-browser-0ab37b52c0540e8877321b40fc742928e96f7ee3.tar.zst
tangerine-wallet-browser-0ab37b52c0540e8877321b40fc742928e96f7ee3.zip
mascara - proxy - small cleanup
Diffstat (limited to 'mascara')
-rw-r--r--mascara/src/proxy.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/mascara/src/proxy.js b/mascara/src/proxy.js
index 5b95175f1..07c5b0e3c 100644
--- a/mascara/src/proxy.js
+++ b/mascara/src/proxy.js
@@ -1,7 +1,6 @@
const createParentStream = require('iframe-stream').ParentStream
const SWcontroller = require('client-sw-ready-event/lib/sw-client.js')
const SwStream = require('sw-stream/lib/sw-stream.js')
-const SetupUntrustedComunication = ('./lib/setup-untrusted-connection.js')
let intervalDelay = Math.floor(Math.random() * (30000 - 1000)) + 1000
const background = new SWcontroller({
@@ -12,7 +11,7 @@ const background = new SWcontroller({
})
const pageStream = createParentStream()
-background.on('ready', (_) => {
+background.on('ready', () => {
let swStream = SwStream({
serviceWorker: background.controller,
context: 'dapp',