diff options
mascara - rename popup to ui
Diffstat (limited to 'mascara')
-rw-r--r-- | mascara/server/index.js | 2 | ||||
-rw-r--r-- | mascara/src/ui.js (renamed from mascara/src/popup.js) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mascara/server/index.js b/mascara/server/index.js index 61dc61a02..9fd664eee 100644 --- a/mascara/server/index.js +++ b/mascara/server/index.js @@ -10,7 +10,7 @@ function createMetamascaraServer(){ // start bundlers const metamascaraBundle = createBundle('./src/mascara.js') const proxyBundle = createBundle('./src/proxy.js') - const uiBundle = createBundle('./src/popup.js') + const uiBundle = createBundle('./src/ui.js') const backgroundBuild = createBundle('./src/background.js') // serve bundles diff --git a/mascara/src/popup.js b/mascara/src/ui.js index b740e81a5..c4866867b 100644 --- a/mascara/src/popup.js +++ b/mascara/src/ui.js @@ -19,7 +19,7 @@ var name = 'popup' window.METAMASK_UI_TYPE = name const background = new SWcontroller({ - fileName: '/popup/sw-build.js', + fileName: '/background.js', }) // Setup listener for when the service worker is read @@ -38,4 +38,4 @@ background.on('ready', (readSw) => { }) background.startWorker() -console.log('hello from /library/popup.js') +console.log('hello from MetaMascara ui!') |