aboutsummaryrefslogtreecommitdiffstats
path: root/development/mocker.js
diff options
context:
space:
mode:
authorDan Finlay <somniac@me.com>2016-07-02 02:51:17 +0800
committerGitHub <noreply@github.com>2016-07-02 02:51:17 +0800
commitc75543dac8f81bc922d08803aaf92866ef823ddf (patch)
tree095a7a6d216cef4f3d46bd2b5747489d2984ef4e /development/mocker.js
parentd4e400e5e5a7ba501f210b722f6ccf97be9e6c17 (diff)
parent287222df25caa696583afee27f5aa77dfe0d8895 (diff)
downloadtangerine-wallet-browser-c75543dac8f81bc922d08803aaf92866ef823ddf.tar
tangerine-wallet-browser-c75543dac8f81bc922d08803aaf92866ef823ddf.tar.gz
tangerine-wallet-browser-c75543dac8f81bc922d08803aaf92866ef823ddf.tar.bz2
tangerine-wallet-browser-c75543dac8f81bc922d08803aaf92866ef823ddf.tar.lz
tangerine-wallet-browser-c75543dac8f81bc922d08803aaf92866ef823ddf.tar.xz
tangerine-wallet-browser-c75543dac8f81bc922d08803aaf92866ef823ddf.tar.zst
tangerine-wallet-browser-c75543dac8f81bc922d08803aaf92866ef823ddf.zip
Merge pull request #380 from MetaMask/FrankieDisclaimer
Frankie disclaimer
Diffstat (limited to 'development/mocker.js')
-rw-r--r--development/mocker.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/development/mocker.js b/development/mocker.js
index 098d46c75..0656e66ea 100644
--- a/development/mocker.js
+++ b/development/mocker.js
@@ -9,13 +9,13 @@ const Selector = require('./selector')
const qs = require('qs')
let queryString = qs.parse(window.location.href.split('#')[1])
let selectedView = queryString.view || 'account detail'
+const firstState = states[selectedView]
+updateQueryParams(selectedView)
// CSS
const MetaMaskUiCss = require('../ui/css')
const injectCss = require('inject-css')
-const firstState = states[selectedView]
-updateQueryParams()
function updateQueryParams(newView) {
queryString.view = newView
@@ -54,6 +54,8 @@ render(
style: {
height: '500px',
width: '360px',
+ boxShadow: '2px 2px 5px grey',
+ margin: '20px',
},
}, [
h(Root, {