diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-07-03 06:49:33 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-07-03 06:49:33 +0800 |
commit | a8f745f9fe74751b87f500af3857b66d4c80f45e (patch) | |
tree | f4f09d2b4227b35a6d2fd996113d36a8aa658ddd /development/mock-dev.js | |
parent | cc11a623972acf707291d7b42d9dc2f8d7006e20 (diff) | |
download | tangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.tar tangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.tar.gz tangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.tar.bz2 tangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.tar.lz tangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.tar.xz 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.js | 8 |
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' |