aboutsummaryrefslogtreecommitdiffstats
path: root/development/mock-dev.js
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-03 06:49:33 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-03 06:49:33 +0800
commita8f745f9fe74751b87f500af3857b66d4c80f45e (patch)
treef4f09d2b4227b35a6d2fd996113d36a8aa658ddd /development/mock-dev.js
parentcc11a623972acf707291d7b42d9dc2f8d7006e20 (diff)
downloadtangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.tar.gz
tangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.tar.zst
tangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.zip
eslint --fix .
Diffstat (limited to 'development/mock-dev.js')
-rw-r--r--development/mock-dev.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/development/mock-dev.js b/development/mock-dev.js
index f332633d5..8f8d29284 100644
--- a/development/mock-dev.js
+++ b/development/mock-dev.js
@@ -81,14 +81,14 @@ const controller = new MetamaskController({
initState: firstTimeState,
})
global.metamaskController = controller
-global.platform = new ExtensionPlatform
+global.platform = new ExtensionPlatform()
//
// User Interface
//
actions._setBackgroundConnection(controller.getApi())
-actions.update = function(stateName) {
+actions.update = function (stateName) {
selectedView = stateName
updateQueryParams(stateName)
const newState = states[selectedView]
@@ -98,7 +98,7 @@ actions.update = function(stateName) {
}
}
-function modifyBackgroundConnection(backgroundConnectionModifier) {
+function modifyBackgroundConnection (backgroundConnectionModifier) {
const modifiedBackgroundConnection = Object.assign({}, controller.getApi(), backgroundConnectionModifier)
actions._setBackgroundConnection(modifiedBackgroundConnection)
}
@@ -112,7 +112,7 @@ var store = configureStore(firstState)
// start app
startApp()
-function startApp(){
+function startApp () {
const body = document.body
const container = document.createElement('div')
container.id = 'test-container'