diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-04-07 00:58:41 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-04-07 00:58:41 +0800 |
commit | 478a07ea81556a62a39c229d4feecf9c0d9a7cdb (patch) | |
tree | 417d4ed9b3e91aea554ba17a01bccc7e184fe0ab /mascara | |
parent | 719d0f4ad5ba7da2b807641a2afdc969d74d913c (diff) | |
download | tangerine-wallet-browser-478a07ea81556a62a39c229d4feecf9c0d9a7cdb.tar tangerine-wallet-browser-478a07ea81556a62a39c229d4feecf9c0d9a7cdb.tar.gz tangerine-wallet-browser-478a07ea81556a62a39c229d4feecf9c0d9a7cdb.tar.bz2 tangerine-wallet-browser-478a07ea81556a62a39c229d4feecf9c0d9a7cdb.tar.lz tangerine-wallet-browser-478a07ea81556a62a39c229d4feecf9c0d9a7cdb.tar.xz tangerine-wallet-browser-478a07ea81556a62a39c229d4feecf9c0d9a7cdb.tar.zst tangerine-wallet-browser-478a07ea81556a62a39c229d4feecf9c0d9a7cdb.zip |
remove unnecessary listner
Diffstat (limited to 'mascara')
-rw-r--r-- | mascara/src/proxy.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/mascara/src/proxy.js b/mascara/src/proxy.js index 8d91e4553..5ead75f94 100644 --- a/mascara/src/proxy.js +++ b/mascara/src/proxy.js @@ -9,12 +9,7 @@ const background = new SWcontroller({ letBeIdle: false, intervalDelay, }) -window.onfocus = () => { - background.sendMessage('wakeUp') - .catch((err) => { - console.error('problem with wake up', err) - }) -} + const pageStream = new ParentStream() background.on('ready', (_) => { let swStream = SwStream({ |