diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-06-25 06:55:11 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-06-25 06:55:11 +0800 |
commit | fa7e4665594525256b846de93bdd46115a3a53a7 (patch) | |
tree | 28123e2c6e0908e2631f06fcef3d7ab3c99e1c71 /app | |
parent | b2b3f4b26bbaaf978b454afe18e9116ac8a693d4 (diff) | |
download | tangerine-wallet-browser-fa7e4665594525256b846de93bdd46115a3a53a7.tar tangerine-wallet-browser-fa7e4665594525256b846de93bdd46115a3a53a7.tar.gz tangerine-wallet-browser-fa7e4665594525256b846de93bdd46115a3a53a7.tar.bz2 tangerine-wallet-browser-fa7e4665594525256b846de93bdd46115a3a53a7.tar.lz tangerine-wallet-browser-fa7e4665594525256b846de93bdd46115a3a53a7.tar.xz tangerine-wallet-browser-fa7e4665594525256b846de93bdd46115a3a53a7.tar.zst tangerine-wallet-browser-fa7e4665594525256b846de93bdd46115a3a53a7.zip |
Rename background-controller metamask-controller
Diffstat (limited to 'app')
-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) |