diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-07-04 07:09:17 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-07-04 07:16:53 +0800 |
commit | e285f2cae958437160f86171f1fccfec66799883 (patch) | |
tree | 49cf0e2d1805d0c36d53ae6920d63f614da1e9ad /app | |
parent | 5eb3d5d485b17b98b19443d8def2f03dec9b38ef (diff) | |
download | tangerine-wallet-browser-e285f2cae958437160f86171f1fccfec66799883.tar tangerine-wallet-browser-e285f2cae958437160f86171f1fccfec66799883.tar.gz tangerine-wallet-browser-e285f2cae958437160f86171f1fccfec66799883.tar.bz2 tangerine-wallet-browser-e285f2cae958437160f86171f1fccfec66799883.tar.lz tangerine-wallet-browser-e285f2cae958437160f86171f1fccfec66799883.tar.xz tangerine-wallet-browser-e285f2cae958437160f86171f1fccfec66799883.tar.zst tangerine-wallet-browser-e285f2cae958437160f86171f1fccfec66799883.zip |
Get duplicate UI template working
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/popup.js | 2 | ||||
-rw-r--r-- | app/scripts/responsive.js | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/app/scripts/popup.js b/app/scripts/popup.js index 5f17f0651..13b98d1f6 100644 --- a/app/scripts/popup.js +++ b/app/scripts/popup.js @@ -1,5 +1,5 @@ const injectCss = require('inject-css') -const MetaMaskUiCss = require('../../ui/css') +const MetaMaskUiCss = require('../../ui/classic/css') const startPopup = require('./popup-core') const PortStream = require('./lib/port-stream.js') const isPopupOrNotification = require('./lib/is-popup-or-notification') diff --git a/app/scripts/responsive.js b/app/scripts/responsive.js index 512065309..0ff42a4cb 100644 --- a/app/scripts/responsive.js +++ b/app/scripts/responsive.js @@ -1,9 +1,9 @@ +const injectCss = require('inject-css') const startPopup = require('./responsive-core') +const MetaMaskUiCss = require('../../ui/responsive/css') const PortStream = require('./lib/port-stream.js') const ExtensionPlatform = require('./platforms/extension') const extension = require('extensionizer') -const NotificationManager = require('./lib/notification-manager') -const notificationManager = new NotificationManager() // create platform global global.platform = new ExtensionPlatform() @@ -20,9 +20,6 @@ const connectionStream = new PortStream(extensionPort) const container = document.getElementById('app-content') startPopup({ container, connectionStream }, (err, store) => { if (err) return displayCriticalError(err) - store.subscribe(() => { - const state = store.getState() - }) }) function displayCriticalError (err) { |