From da0651ac1b4605851575ae3f179b00dde4ae41f5 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Tue, 6 Sep 2016 09:14:52 +0200 Subject: [PATCH] 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 Reviewed-By: Colin Ihrig Reviewed-By: Franziska Hinkelmann Reviewed-By: Sakthipriyan Vairamani Reviewed-By: James M Snell --- lib/vm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vm.js b/lib/vm.js index 364a37eacb..73359c1b68 100644 --- a/lib/vm.js +++ b/lib/vm.js @@ -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 } = {})