Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
lib: use object destructuring for ContextifyScript
  • Loading branch information
danbev committed May 24, 2018
commit 38989dcf7a9fc1d310355442950aa0522bad36a7
2 changes: 1 addition & 1 deletion lib/internal/bootstrap/loaders.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
};
}

const ContextifyScript = process.binding('contextify').ContextifyScript;
const { ContextifyScript } = process.binding('contextify');

// Set up NativeModule
function NativeModule(id) {
Expand Down