1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Rename background-controller metamask-controller

This commit is contained in:
Dan Finlay 2016-06-24 15:55:11 -07:00
parent b2b3f4b26b
commit fa7e466559
2 changed files with 4 additions and 4 deletions

View File

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

View File

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