summaryrefslogtreecommitdiff
path: root/doc/api/vm.md
diff options
context:
space:
mode:
authorСковорода Никита Андреевич <chalkerx@gmail.com>2016-07-09 08:13:09 +0300
committerСковорода Никита Андреевич <chalkerx@gmail.com>2016-07-14 12:26:50 +0300
commita58b48bc3bcf43f7090d4cc914606af68fe55815 (patch)
tree0fdf8a6a67489aa0474a6be3420dfb5cde3d61f9 /doc/api/vm.md
parente09c62ae3307c434dd237a3bb47805207b36a0d1 (diff)
downloadandroid-node-v8-a58b48bc3bcf43f7090d4cc914606af68fe55815.tar.gz
android-node-v8-a58b48bc3bcf43f7090d4cc914606af68fe55815.tar.bz2
android-node-v8-a58b48bc3bcf43f7090d4cc914606af68fe55815.zip
doc: various documentation formatting fixes
* Fix markdown code sample in releases.md, it was <a id="x.y.x></a>" * Fix some markdown errors, e.g. in changelogs * Fix broken defs links, e.g. in domain-postmortem.md * Fix other broken refs, by addaleax * Add links to some defs that were present but not linked to * Remove dead defs * Move defs to the bottom (one file affected) * Add language indicators to all code blocks, using `txt` when no specific language could be chosen * Some minor formatting changes (spaces, ident, headings) PR-URL: https://github.com/nodejs/node/pull/7637 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'doc/api/vm.md')
-rw-r--r--doc/api/vm.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/api/vm.md b/doc/api/vm.md
index 0141ad605e..c774ebe6a4 100644
--- a/doc/api/vm.md
+++ b/doc/api/vm.md
@@ -395,7 +395,7 @@ local scope, so the value `localVar` is changed. In this way
## Example: Running an HTTP Server within a VM
-When using either `script.runInThisContext()` or `vm.runInThisContext()`, the
+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 its own isolated scope.
@@ -451,7 +451,6 @@ associating it with the `sandbox` object is what this document refers to as
[`script.runInThisContext()`]: #vm_script_runinthiscontext_options
[`vm.createContext()`]: #vm_vm_createcontext_sandbox
[`vm.runInContext()`]: #vm_vm_runincontext_code_contextifiedsandbox_options
-[`vm.runInNewContext()`]: #vm_vm_runinnewcontext_code_sandbox_options
[`vm.runInThisContext()`]: #vm_vm_runinthiscontext_code_options
[`eval()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval
[V8 Embedder's Guide]: https://developers.google.com/v8/embed#contexts