aboutsummaryrefslogtreecommitdiffstats
path: root/mascara
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-04-05 14:08:46 +0800
committerkumavis <aaron@kumavis.me>2017-04-05 14:08:46 +0800
commit1aac162b462424f5b6ce6685f337670368bd10b5 (patch)
tree571a16459cffbe85f757e35df9c81a601959756b /mascara
parent0cfad78f5decbce04a7fa56e8f80e4fcecd12a79 (diff)
downloadtangerine-wallet-browser-1aac162b462424f5b6ce6685f337670368bd10b5.tar
tangerine-wallet-browser-1aac162b462424f5b6ce6685f337670368bd10b5.tar.gz
tangerine-wallet-browser-1aac162b462424f5b6ce6685f337670368bd10b5.tar.bz2
tangerine-wallet-browser-1aac162b462424f5b6ce6685f337670368bd10b5.tar.lz
tangerine-wallet-browser-1aac162b462424f5b6ce6685f337670368bd10b5.tar.xz
tangerine-wallet-browser-1aac162b462424f5b6ce6685f337670368bd10b5.tar.zst
tangerine-wallet-browser-1aac162b462424f5b6ce6685f337670368bd10b5.zip
mascara - rename popup to ui
Diffstat (limited to 'mascara')
-rw-r--r--mascara/server/index.js2
-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!')