aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/popup.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-01-15 10:26:54 +0800
committerkumavis <aaron@kumavis.me>2016-01-15 10:26:54 +0800
commit3eaf027e30a3a28d75fb8f93cd30387a777c5814 (patch)
tree965d43cba0cf79b64b62fd19faaffb813e281855 /app/scripts/popup.js
parent709d93b5a194663506315d4e889191f252b07286 (diff)
downloadtangerine-wallet-browser-3eaf027e30a3a28d75fb8f93cd30387a777c5814.tar
tangerine-wallet-browser-3eaf027e30a3a28d75fb8f93cd30387a777c5814.tar.gz
tangerine-wallet-browser-3eaf027e30a3a28d75fb8f93cd30387a777c5814.tar.bz2
tangerine-wallet-browser-3eaf027e30a3a28d75fb8f93cd30387a777c5814.tar.lz
tangerine-wallet-browser-3eaf027e30a3a28d75fb8f93cd30387a777c5814.tar.xz
tangerine-wallet-browser-3eaf027e30a3a28d75fb8f93cd30387a777c5814.tar.zst
tangerine-wallet-browser-3eaf027e30a3a28d75fb8f93cd30387a777c5814.zip
migrate to new ui + provider
Diffstat (limited to 'app/scripts/popup.js')
-rw-r--r--app/scripts/popup.js14
1 files changed, 13 insertions, 1 deletions
diff --git a/app/scripts/popup.js b/app/scripts/popup.js
index 53dabeb33..03530ce66 100644
--- a/app/scripts/popup.js
+++ b/app/scripts/popup.js
@@ -1 +1,13 @@
-document.body.innerHTML = "real talk" \ No newline at end of file
+const MetaMaskUi = require('metamask-ui')
+const MetaMaskUiCss = require('metamask-ui/css')
+const injectCss = require('inject-css')
+
+
+var container = document.getElementById('app-content')
+
+var css = MetaMaskUiCss()
+injectCss(css)
+
+var app = MetaMaskUi({
+ container: container,
+})