diff options
-rw-r--r-- | app/scripts/background.js | 4 | ||||
-rw-r--r-- | app/scripts/metamask-controller.js (renamed from app/scripts/background-controller.js) | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js index 83d8d0258..d23951015 100644 --- a/app/scripts/background.js +++ b/app/scripts/background.js @@ -7,11 +7,11 @@ const createTxNotification = require('./lib/notifications.js').createTxNotificat const createMsgNotification = require('./lib/notifications.js').createMsgNotification const messageManager = require('./lib/message-manager') const setupMultiplex = require('./lib/stream-utils.js').setupMultiplex -const BackgroundController = require('./background-controller') +const MetamaskController = require('./metamask-controller') const STORAGE_KEY = 'metamask-config' -const controller = new BackgroundController({ +const controller = new MetamaskController({ // User confirmation callbacks: showUnconfirmedMessage, unlockAccountMessage, diff --git a/app/scripts/background-controller.js b/app/scripts/metamask-controller.js index bda9f41ac..aef280310 100644 --- a/app/scripts/background-controller.js +++ b/app/scripts/metamask-controller.js @@ -7,9 +7,9 @@ const HostStore = require('./lib/remote-store.js').HostStore const Web3 = require('web3') const ConfigManager = require('./lib/config-manager') -module.exports = BackgroundController +module.exports = MetamaskController -class BackgroundController { +class MetamaskController { constructor (opts) { this.configManager = new ConfigManager(opts) |