mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
mascara - rename popup to ui
This commit is contained in:
parent
0cfad78f5d
commit
1aac162b46
@ -10,7 +10,7 @@ function createMetamascaraServer(){
|
|||||||
// start bundlers
|
// start bundlers
|
||||||
const metamascaraBundle = createBundle('./src/mascara.js')
|
const metamascaraBundle = createBundle('./src/mascara.js')
|
||||||
const proxyBundle = createBundle('./src/proxy.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')
|
const backgroundBuild = createBundle('./src/background.js')
|
||||||
|
|
||||||
// serve bundles
|
// serve bundles
|
||||||
|
@ -19,7 +19,7 @@ var name = 'popup'
|
|||||||
window.METAMASK_UI_TYPE = name
|
window.METAMASK_UI_TYPE = name
|
||||||
|
|
||||||
const background = new SWcontroller({
|
const background = new SWcontroller({
|
||||||
fileName: '/popup/sw-build.js',
|
fileName: '/background.js',
|
||||||
})
|
})
|
||||||
|
|
||||||
// Setup listener for when the service worker is read
|
// Setup listener for when the service worker is read
|
||||||
@ -38,4 +38,4 @@ background.on('ready', (readSw) => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
background.startWorker()
|
background.startWorker()
|
||||||
console.log('hello from /library/popup.js')
|
console.log('hello from MetaMascara ui!')
|
Loading…
Reference in New Issue
Block a user