Skip to content

Commit da0651a

Browse files
danbevfhinkel
authored andcommitted
vm: change ContextifyScript to Script in comment
Reading the comment at the top of the vm.js, I think that ContextifyScript should perhaps just be Script. PR-URL: #8415 Reviewed-By: Prince John Wesley <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 75a2ad1 commit da0651a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/vm.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ const binding = process.binding('contextify');
44
const Script = binding.ContextifyScript;
55

66
// The binding provides a few useful primitives:
7-
// - ContextifyScript(code, { filename = "evalmachine.anonymous",
8-
// displayErrors = true } = {})
7+
// - Script(code, { filename = "evalmachine.anonymous",
8+
// displayErrors = true } = {})
99
// with methods:
1010
// - runInThisContext({ displayErrors = true } = {})
1111
// - runInContext(sandbox, { displayErrors = true, timeout = undefined } = {})

0 commit comments

Comments
 (0)