Skip to content

Commit bcc929e

Browse files
authoredFeb 10, 2017
Removed arrow function
1 parent 358e3de commit bcc929e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎bindings.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ function bindings (opts) {
5050
}
5151

5252
// maps `defaults` onto `opts` object
53-
Object.keys(defaults).map(i => i in opts || (opts[i] = defaults[i]));
53+
Object.keys(defaults).map(function(i) {
54+
if (!(i in opts) opts[i] = defaults[i];
55+
});
5456

5557
// Get the module root
5658
if (!opts.module_root) {

0 commit comments

Comments
 (0)
Please sign in to comment.