Remove out of date comments

feature/default_network_editable
frankiebee 8 years ago
parent 16c24db13b
commit 5e939540e5
  1. 10
      mascara/src/background.js

@ -80,12 +80,6 @@ function setupController (initState, client) {
}) })
global.metamaskController = controller global.metamaskController = controller
// setup state persistence
// pipe(
// controller.store,
// storeTransform(versionifyData),
// diskStore
// )
controller.store.subscribe((state) => { controller.store.subscribe((state) => {
versionifyData(state) versionifyData(state)
.then((versionedData) => dbController.put(versionedData)) .then((versionedData) => dbController.put(versionedData))
@ -104,9 +98,7 @@ function setupController (initState, client) {
// //
// connect to other contexts // connect to other contexts
// //
/*
need to write a service worker stream for this
*/
connectionListener.on('remote', (portStream, messageEvent) => { connectionListener.on('remote', (portStream, messageEvent) => {
console.log('REMOTE CONECTION FOUND***********') console.log('REMOTE CONECTION FOUND***********')
connectRemote(portStream, messageEvent.data.context) connectRemote(portStream, messageEvent.data.context)

Loading…
Cancel
Save