diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-04-03 13:01:44 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-04-03 13:01:44 +0800 |
commit | 8d49d519c090d287484008346aba1df6d7ad77e7 (patch) | |
tree | a4064ac0a05429c591e6776bf496c803d1819ae9 /library/popup.js | |
parent | 29a602a89b176e7af3f15297c2f586a4ece0a726 (diff) | |
download | tangerine-wallet-browser-8d49d519c090d287484008346aba1df6d7ad77e7.tar tangerine-wallet-browser-8d49d519c090d287484008346aba1df6d7ad77e7.tar.gz tangerine-wallet-browser-8d49d519c090d287484008346aba1df6d7ad77e7.tar.bz2 tangerine-wallet-browser-8d49d519c090d287484008346aba1df6d7ad77e7.tar.lz tangerine-wallet-browser-8d49d519c090d287484008346aba1df6d7ad77e7.tar.xz tangerine-wallet-browser-8d49d519c090d287484008346aba1df6d7ad77e7.tar.zst tangerine-wallet-browser-8d49d519c090d287484008346aba1df6d7ad77e7.zip |
Rename and move around files
Diffstat (limited to 'library/popup.js')
-rw-r--r-- | library/popup.js | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/library/popup.js b/library/popup.js deleted file mode 100644 index f294e5c69..000000000 --- a/library/popup.js +++ /dev/null @@ -1,29 +0,0 @@ -const injectCss = require('inject-css') -const MetaMaskUiCss = require('../ui/css') -const setupIframe = require('./lib/setup-iframe.js') -const MetamaskInpageProvider = require('../app/scripts/lib/inpage-provider.js') -const SWcontroller = require('./sw-controller') -const SwStream = require('sw-stream/lib/sw-stream.js') -const startPopup = require('../app/scripts/popup-core') - - -var css = MetaMaskUiCss() -injectCss(css) - -var name = 'popup' -window.METAMASK_UI_TYPE = name - -console.log('outside:open') - -const background = new SWcontroller({ - fileName: '/popup/sw-build.js', -}) -background.on('ready', (readSw) => { - let swStream = SwStream({ - serviceWorker: background.controller, - }) - startPopup(swStream) -}) - -background.startWorker() -console.log('hello from /library/popup.js') |