1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

clean up code

This commit is contained in:
frankiebee 2017-04-28 21:19:14 +02:00
parent 36bafbaebf
commit d4cad22fa7
3 changed files with 3 additions and 5 deletions

View File

@ -37,7 +37,6 @@ const connectApp = function (readSw) {
store.subscribe(() => {
const state = store.getState()
if (state.appState.shouldClose) window.close()
console.log('IN the things?')
})
})
}

View File

@ -8,7 +8,9 @@ var b = browserify();
// Remove old bundle
try {
fs.unlinkSync(bundlePath)
} catch (e) {}
} catch (e) {
console.error(e)
}
var writeStream = fs.createWriteStream(bundlePath)

View File

@ -1,8 +1,5 @@
const Helper = require('./util/mascara-test-helper.js')
window.addEventListener('load', () => {
// const helper = new Helper()
// helper.on('complete', () => require('../src/ui.js'))
// helper.tryToCleanContext()
require('../src/ui.js')
})