aboutsummaryrefslogtreecommitdiffstats
path: root/library/popup.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/popup.js')
-rw-r--r--library/popup.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/popup.js b/library/popup.js
index 3825661cf..d956dc0b1 100644
--- a/library/popup.js
+++ b/library/popup.js
@@ -19,6 +19,7 @@ var iframeStream = setupIframe({
container: document.body,
})
console.log('outside:open')
+
const background = new SWcontroller({
fileName: '/popup/sw-build.js',
})
@@ -27,5 +28,6 @@ background.on('ready', (readSw) => {
// startPopup(inpageProvider)
startPopup(SwStream(background.controller))
})
+background.on('message', (messageEvent) => {debugger})
background.startWorker()
console.log('hello from /library/popup.js')