diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-03-30 02:12:07 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-03-30 02:12:07 +0800 |
commit | 39160d3025a1d9e327f48b034c083808663e2481 (patch) | |
tree | 2ffc4c48964d91cfb77ccf61e9e044a4d7b8d13d /app | |
parent | f730f6e0d855f3b18c6db8c4bd401092c17d6085 (diff) | |
download | tangerine-wallet-browser-39160d3025a1d9e327f48b034c083808663e2481.tar.gz tangerine-wallet-browser-39160d3025a1d9e327f48b034c083808663e2481.tar.zst tangerine-wallet-browser-39160d3025a1d9e327f48b034c083808663e2481.zip |
Remove argument destructuring
Diffstat (limited to 'app')
-rw-r--r-- | app/manifest.json | 2 | ||||
-rw-r--r-- | app/scripts/lib/idStore.js | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/app/manifest.json b/app/manifest.json index cc0fdbd5a..c383ef6b7 100644 --- a/app/manifest.json +++ b/app/manifest.json @@ -1,6 +1,6 @@ { "name": "__MSG_appName__", - "version": "1.1.1", + "version": "1.1.2", "manifest_version": 2, "description": "__MSG_appDescription__", "icons": { diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js index f0e566e5e..acd34074b 100644 --- a/app/scripts/lib/idStore.js +++ b/app/scripts/lib/idStore.js @@ -268,7 +268,9 @@ IdentityStore.prototype._createFirstWallet = function(entropy, derivedKey) { return keyStore } -function IdManagement( opts = { keyStore: null, derivedKey: null, hdPathString: null } ) { +function IdManagement(opts) { + if (!opts) opts = {} + this.keyStore = opts.keyStore this.derivedKey = opts.derivedKey this.hdPathString = opts.hdPathString |