diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/lib/tx-notification.js | 4 | ||||
-rw-r--r-- | app/scripts/popup.js | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/app/scripts/lib/tx-notification.js b/app/scripts/lib/tx-notification.js index c7f62408b..75985dee1 100644 --- a/app/scripts/lib/tx-notification.js +++ b/app/scripts/lib/tx-notification.js @@ -1,5 +1,5 @@ const createId = require('hat') -const uiUtils = require('metamask-ui/app/util') +const uiUtils = require('../../../ui/app/util') var notificationHandlers = {} module.exports = createTxNotification @@ -46,4 +46,4 @@ function createTxNotification(opts){ confirm: opts.confirm, cancel: opts.cancel, } -}
\ No newline at end of file +} diff --git a/app/scripts/popup.js b/app/scripts/popup.js index e6dae0d81..523ecbd8f 100644 --- a/app/scripts/popup.js +++ b/app/scripts/popup.js @@ -4,8 +4,8 @@ const async = require('async') const Multiplex = require('multiplex') const Dnode = require('dnode') const Web3 = require('web3') -const MetaMaskUi = require('metamask-ui') -const MetaMaskUiCss = require('metamask-ui/css') +const MetaMaskUi = require('../../ui') +const MetaMaskUiCss = require('../../ui/css') const injectCss = require('inject-css') const PortStream = require('./lib/port-stream.js') const StreamProvider = require('./lib/stream-provider.js') @@ -66,7 +66,7 @@ function linkDnode(stream, cb){ // setup push events accountManager.on = eventEmitter.on.bind(eventEmitter) cb(null, accountManager) - }) + }) } function getCurrentDomain(cb){ @@ -96,4 +96,4 @@ function setupApp(err, opts){ currentDomain: opts.currentDomain, }) -}
\ No newline at end of file +} |