From c3f18fcf2bbb66181703b9b96536ebe257dc2542 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Thu, 30 Jun 2016 21:35:24 -0700 Subject: [PATCH 1/2] Remove debugs from development --- development/index.html | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/development/index.html b/development/index.html index 02fd01b03..deb3dc690 100644 --- a/development/index.html +++ b/development/index.html @@ -10,28 +10,5 @@
- - -
- - -
- From a95b5c4a96d5b850d4b61f1cf61d02b3f97a8f12 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Thu, 30 Jun 2016 21:39:50 -0700 Subject: [PATCH 2/2] Add query param restoring to mocker --- development/mocker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/development/mocker.js b/development/mocker.js index 098d46c75..593037f2e 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