clean up code

feature/default_network_editable
frankiebee 8 years ago
parent 36bafbaebf
commit d4cad22fa7
  1. 1
      mascara/src/ui.js
  2. 4
      mascara/test/index.js
  3. 3
      mascara/test/window-load.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?')
})
})
}

@ -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)

@ -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')
})

Loading…
Cancel
Save