Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vm: change ContextifyScript to Script in comment #8415

Closed
wants to merge 2 commits into from

Conversation

danbev
Copy link
Contributor

@danbev danbev commented Sep 6, 2016

Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

vm

Description of change

Reading the comment at the top of the vm.js, I think that
ContextifyScript should perhaps just be Script.

Reading the comment at the top of the vm.js, I think that
ContextifyScript should perhaps just be Script.
@princejwesley
Copy link
Contributor

LGTM

@mscdex mscdex added the vm Issues and PRs related to the vm subsystem. label Sep 6, 2016
@@ -4,7 +4,7 @@ const binding = process.binding('contextify');
const Script = binding.ContextifyScript;

// The binding provides a few useful primitives:
// - ContextifyScript(code, { filename = "evalmachine.anonymous",
// - Script(code, { filename = "evalmachine.anonymous",
// displayErrors = true } = {})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I think this line was aligned with the previous line's filename.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, need to reduce the indentation

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah thanks, I'll fix that.

@cjihrig
Copy link
Contributor

cjihrig commented Sep 6, 2016

LGTM

3 similar comments
@fhinkel
Copy link
Member

fhinkel commented Sep 6, 2016

LGTM

@thefourtheye
Copy link
Contributor

LGTM

@jasnell
Copy link
Member

jasnell commented Sep 7, 2016

LGTM

@danbev danbev changed the title vm: changing ContextifyScript to Script in comment vm: change ContextifyScript to Script in comment Sep 7, 2016
fhinkel pushed a commit that referenced this pull request Sep 8, 2016
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>
@fhinkel
Copy link
Member

fhinkel commented Sep 8, 2016

Landed in da0651a

@fhinkel fhinkel closed this Sep 8, 2016
@danbev
Copy link
Contributor Author

danbev commented Sep 8, 2016

@fhinkel Thanks for merging this!

@fhinkel
Copy link
Member

fhinkel commented Sep 8, 2016

Sure. Thanks for contributing!

Fishrock123 pushed a commit that referenced this pull request Sep 14, 2016
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>
@danbev danbev deleted the vm.js-contextify-comment branch September 26, 2016 04:01
@MylesBorins
Copy link
Contributor

should this be backported to v4?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vm Issues and PRs related to the vm subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants