mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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: https://github.com/nodejs/node/pull/8415 Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Franziska Hinkelmann <franzih@chromium.org> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
committed by
Franziska Hinkelmann
parent
75a2ad1f0b
commit
da0651ac1b
@@ -4,8 +4,8 @@ const binding = process.binding('contextify');
|
||||
const Script = binding.ContextifyScript;
|
||||
|
||||
// The binding provides a few useful primitives:
|
||||
// - ContextifyScript(code, { filename = "evalmachine.anonymous",
|
||||
// displayErrors = true } = {})
|
||||
// - Script(code, { filename = "evalmachine.anonymous",
|
||||
// displayErrors = true } = {})
|
||||
// with methods:
|
||||
// - runInThisContext({ displayErrors = true } = {})
|
||||
// - runInContext(sandbox, { displayErrors = true, timeout = undefined } = {})
|
||||
|
||||
Reference in New Issue
Block a user