diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-03-31 02:28:22 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-03-31 02:28:22 +0800 |
commit | 29a602a89b176e7af3f15297c2f586a4ece0a726 (patch) | |
tree | b60329ec0f1ab4f41d0463f5f7c38729ba6f4ec6 /library/popup.js | |
parent | 19302778ee0dd0535867cde29d4a5ce56d573dec (diff) | |
download | tangerine-wallet-browser-29a602a89b176e7af3f15297c2f586a4ece0a726.tar tangerine-wallet-browser-29a602a89b176e7af3f15297c2f586a4ece0a726.tar.gz tangerine-wallet-browser-29a602a89b176e7af3f15297c2f586a4ece0a726.tar.bz2 tangerine-wallet-browser-29a602a89b176e7af3f15297c2f586a4ece0a726.tar.lz tangerine-wallet-browser-29a602a89b176e7af3f15297c2f586a4ece0a726.tar.xz tangerine-wallet-browser-29a602a89b176e7af3f15297c2f586a4ece0a726.tar.zst tangerine-wallet-browser-29a602a89b176e7af3f15297c2f586a4ece0a726.zip |
Clean up
Diffstat (limited to 'library/popup.js')
-rw-r--r-- | library/popup.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/library/popup.js b/library/popup.js index 0c297d9a2..f294e5c69 100644 --- a/library/popup.js +++ b/library/popup.js @@ -19,13 +19,11 @@ const background = new SWcontroller({ fileName: '/popup/sw-build.js', }) background.on('ready', (readSw) => { - // var inpageProvider = new MetamaskInpageProvider(SwStream(background.controller)) - // startPopup(inpageProvider) let swStream = SwStream({ serviceWorker: background.controller, - }) - startPopup() + }) + startPopup(swStream) }) -background.on('message', (messageEvent) => {debugger}) + background.startWorker() console.log('hello from /library/popup.js') |