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:
Daniel Bevenius authored and Jeremiah Senkpiel committed 2016-09-13 17:04:43 -07:00
1 parent 2c45782b12
commit 151d1ea6a6
1 file changed
+2 -2
+2 -2
View File
@@ -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 } = {})