mascara - rename popup to ui

feature/default_network_editable
kumavis 8 years ago
parent 0cfad78f5d
commit 1aac162b46
  1. 2
      mascara/server/index.js
  2. 4
      mascara/src/ui.js

@ -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…
Cancel
Save