mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
clean up code
This commit is contained in:
parent
36bafbaebf
commit
d4cad22fa7
@ -37,7 +37,6 @@ const connectApp = function (readSw) {
|
|||||||
store.subscribe(() => {
|
store.subscribe(() => {
|
||||||
const state = store.getState()
|
const state = store.getState()
|
||||||
if (state.appState.shouldClose) window.close()
|
if (state.appState.shouldClose) window.close()
|
||||||
console.log('IN the things?')
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,9 @@ var b = browserify();
|
|||||||
// Remove old bundle
|
// Remove old bundle
|
||||||
try {
|
try {
|
||||||
fs.unlinkSync(bundlePath)
|
fs.unlinkSync(bundlePath)
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
console.error(e)
|
||||||
|
}
|
||||||
|
|
||||||
var writeStream = fs.createWriteStream(bundlePath)
|
var writeStream = fs.createWriteStream(bundlePath)
|
||||||
|
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
const Helper = require('./util/mascara-test-helper.js')
|
const Helper = require('./util/mascara-test-helper.js')
|
||||||
|
|
||||||
window.addEventListener('load', () => {
|
window.addEventListener('load', () => {
|
||||||
// const helper = new Helper()
|
|
||||||
// helper.on('complete', () => require('../src/ui.js'))
|
|
||||||
// helper.tryToCleanContext()
|
|
||||||
require('../src/ui.js')
|
require('../src/ui.js')
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user