1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Remove argument destructuring

This commit is contained in:
Dan Finlay 2016-03-29 11:12:07 -07:00
parent f730f6e0d8
commit 39160d3025
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "__MSG_appName__", "name": "__MSG_appName__",
"version": "1.1.1", "version": "1.1.2",
"manifest_version": 2, "manifest_version": 2,
"description": "__MSG_appDescription__", "description": "__MSG_appDescription__",
"icons": { "icons": {

View File

@ -268,7 +268,9 @@ IdentityStore.prototype._createFirstWallet = function(entropy, derivedKey) {
return keyStore return keyStore
} }
function IdManagement( opts = { keyStore: null, derivedKey: null, hdPathString: null } ) { function IdManagement(opts) {
if (!opts) opts = {}
this.keyStore = opts.keyStore this.keyStore = opts.keyStore
this.derivedKey = opts.derivedKey this.derivedKey = opts.derivedKey
this.hdPathString = opts.hdPathString this.hdPathString = opts.hdPathString