aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-04-29 03:19:14 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-04-29 03:19:14 +0800
commitd4cad22fa7b2e9e05ac98a490cb446b37d6978f9 (patch)
tree5977f9034fb173d345ee44773602b129a5523cff
parent36bafbaebf826933262c4ad381a8953e82f8ebc3 (diff)
downloadtangerine-wallet-browser-d4cad22fa7b2e9e05ac98a490cb446b37d6978f9.tar
tangerine-wallet-browser-d4cad22fa7b2e9e05ac98a490cb446b37d6978f9.tar.gz
tangerine-wallet-browser-d4cad22fa7b2e9e05ac98a490cb446b37d6978f9.tar.bz2
tangerine-wallet-browser-d4cad22fa7b2e9e05ac98a490cb446b37d6978f9.tar.lz
tangerine-wallet-browser-d4cad22fa7b2e9e05ac98a490cb446b37d6978f9.tar.xz
tangerine-wallet-browser-d4cad22fa7b2e9e05ac98a490cb446b37d6978f9.tar.zst
tangerine-wallet-browser-d4cad22fa7b2e9e05ac98a490cb446b37d6978f9.zip
clean up code
-rw-r--r--mascara/src/ui.js1
-rw-r--r--mascara/test/index.js4
-rw-r--r--mascara/test/window-load.js3
3 files changed, 3 insertions, 5 deletions
diff --git a/mascara/src/ui.js b/mascara/src/ui.js
index 65a55ccc3..e798847a7 100644
--- a/mascara/src/ui.js
+++ b/mascara/src/ui.js
@@ -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?')
})
})
}
diff --git a/mascara/test/index.js b/mascara/test/index.js
index b94ce16dd..0134cdf00 100644
--- a/mascara/test/index.js
+++ b/mascara/test/index.js
@@ -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)
diff --git a/mascara/test/window-load.js b/mascara/test/window-load.js
index 41166c466..d3f44f05f 100644
--- a/mascara/test/window-load.js
+++ b/mascara/test/window-load.js
@@ -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')
})