summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-01 10:32:26 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-01 16:27:09 +0300
commitf89f79893d6e15938f9237efe4d2473ab4a65e9f (patch)
tree57973a077db395e7b139142cdac739ab17a45567
parent3e1dd5597cce45fa7ef6aeb8889ddbd27927c4b4 (diff)
downloadandroid-node-v8-f89f79893d6e15938f9237efe4d2473ab4a65e9f.tar.gz
android-node-v8-f89f79893d6e15938f9237efe4d2473ab4a65e9f.tar.bz2
android-node-v8-f89f79893d6e15938f9237efe4d2473ab4a65e9f.zip
doc: fix links in vm.md
* Replace absolute link with relative link. * Fix sorting in bottom references. PR-URL: https://github.com/nodejs/node/pull/19721 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
-rw-r--r--doc/api/vm.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/vm.md b/doc/api/vm.md
index ed7be81776..25efc85cf6 100644
--- a/doc/api/vm.md
+++ b/doc/api/vm.md
@@ -890,7 +890,7 @@ associating it with the `sandbox` object is what this document refers to as
[`eval()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval
[`script.runInContext()`]: #vm_script_runincontext_contextifiedsandbox_options
[`script.runInThisContext()`]: #vm_script_runinthiscontext_options
-[`url.origin`]: https://nodejs.org/api/url.html#url_url_origin
+[`url.origin`]: url.html#url_url_origin
[`vm.createContext()`]: #vm_vm_createcontext_sandbox_options
[`vm.runInContext()`]: #vm_vm_runincontext_code_contextifiedsandbox_options
[`vm.runInThisContext()`]: #vm_vm_runinthiscontext_code_options
@@ -899,9 +899,9 @@ associating it with the `sandbox` object is what this document refers to as
[Evaluate() concrete method]: https://tc39.github.io/ecma262/#sec-moduleevaluation
[HostResolveImportedModule]: https://tc39.github.io/ecma262/#sec-hostresolveimportedmodule
[Instantiate() concrete method]: https://tc39.github.io/ecma262/#sec-moduledeclarationinstantiation
+[Source Text Module Record]: https://tc39.github.io/ecma262/#sec-source-text-module-records
[V8 Embedder's Guide]: https://github.com/v8/v8/wiki/Embedder's%20Guide#contexts
[contextified]: #vm_what_does_it_mean_to_contextify_an_object
[global object]: https://es5.github.io/#x15.1
[indirect `eval()` call]: https://es5.github.io/#x10.4.2
[origin]: https://developer.mozilla.org/en-US/docs/Glossary/Origin
-[Source Text Module Record]: https://tc39.github.io/ecma262/#sec-source-text-module-records