Use forEach and destructuring for parsing features

This commit is contained in:
Kevin Sawicki 2016-10-25 10:31:50 +09:00
parent 2556ed8744
commit 3aad6a0c99
2 changed files with 7 additions and 12 deletions

View file

@ -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
})
}