Permalink
Browse files

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 <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>
  • Loading branch information...
danbev authored and Fishrock123 committed Sep 6, 2016
1 parent 2c45782 commit 151d1ea6a6b39c297ae44d5e5cc03ea050fdc3dd
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/vm.js
View
@@ -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 } = {})

0 comments on commit 151d1ea

Please sign in to comment.