aboutsummaryrefslogtreecommitdiffstats
path: root/library/popup.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/popup.js')
-rw-r--r--library/popup.js29
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')