Use forEach and destructuring for parsing features
This commit is contained in:
parent
2556ed8744
commit
3aad6a0c99
2 changed files with 7 additions and 12 deletions
|
@ -193,7 +193,7 @@ const attachGuest = function (embedder, elementInstanceId, guestInstanceId, para
|
|||
// no value was specified, default it to true
|
||||
value = true
|
||||
}
|
||||
webPreferences[name] = value
|
||||
webPreferences[key] = value
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue