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

doc: general improvements to vm.md copy #6827

Closed
wants to merge 1 commit into from

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented May 18, 2016

Checklist
  • documentation is changed or added
  • the commit message follows commit guidelines
Affected core subsystem(s)

doc (vm)

Description of change

General improvements to vm module documentation

/cc @nodejs/documentation @bnoordhuis

@jasnell jasnell added doc Issues and PRs related to the documentations. vm Issues and PRs related to the vm subsystem. labels May 18, 2016
@jasnell jasnell changed the title doc: improve vm.md copy doc: general improvements to vm.md copy May 18, 2016
@@ -4,7 +4,8 @@

<!--name=vm-->

You can access this module with:
The `vm` module provides an API for compiling and running code within V8
Copy link
Contributor

Choose a reason for hiding this comment

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

an API? It should have been APIs right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Either works but will switch it to the plural form, sounds better.

@jasnell
Copy link
Member Author

jasnell commented May 18, 2016

Thank you all for the quick review. I absolutely love it that I can open a draft like this and open my inbox in the morning and find comments on it already :-)

@jasnell
Copy link
Member Author

jasnell commented May 18, 2016

Updated! PTAL


When using either `script.runInThisContext()` or `vm.runInThisContext()`, the
code is executed within the current V8 global context. The code passed
to this VM context will have it's own isolated scope.
Copy link
Member

Choose a reason for hiding this comment

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

its

Copy link
Member Author

Choose a reason for hiding this comment

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

grr... my dang muscle memory on typing that stupid ' every time I want to type its it's freaking annoying...

@bnoordhuis
Copy link
Member

Suggestion: replace "any stack traces produced from this script" with "stack traced produced by this script", it's a little more succinct. LGTM (with grammar nit) either way, though.

@jasnell
Copy link
Member Author

jasnell commented May 18, 2016

Updated to address the nits. Thank you for the review!

General improvements to vm module documentation
jasnell added a commit that referenced this pull request May 20, 2016
General improvements to vm module documentation

PR-URL: #6827
Reviewed-By: Ben Noordhuis <[email protected]>
@jasnell
Copy link
Member Author

jasnell commented May 20, 2016

Landed in baeed8b

@jasnell jasnell closed this May 20, 2016
Fishrock123 pushed a commit that referenced this pull request May 23, 2016
General improvements to vm module documentation

PR-URL: #6827
Reviewed-By: Ben Noordhuis <[email protected]>
rvagg pushed a commit that referenced this pull request Jun 2, 2016
General improvements to vm module documentation

PR-URL: #6827
Reviewed-By: Ben Noordhuis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations. vm Issues and PRs related to the vm subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants