Skip to content

Commit f89f798

Browse files
committed
doc: fix links in vm.md
* Replace absolute link with relative link. * Fix sorting in bottom references. PR-URL: #19721 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]>
1 parent 3e1dd55 commit f89f798

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/vm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ associating it with the `sandbox` object is what this document refers to as
890890
[`eval()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval
891891
[`script.runInContext()`]: #vm_script_runincontext_contextifiedsandbox_options
892892
[`script.runInThisContext()`]: #vm_script_runinthiscontext_options
893-
[`url.origin`]: https://nodejs.org/api/url.html#url_url_origin
893+
[`url.origin`]: url.html#url_url_origin
894894
[`vm.createContext()`]: #vm_vm_createcontext_sandbox_options
895895
[`vm.runInContext()`]: #vm_vm_runincontext_code_contextifiedsandbox_options
896896
[`vm.runInThisContext()`]: #vm_vm_runinthiscontext_code_options
@@ -899,9 +899,9 @@ associating it with the `sandbox` object is what this document refers to as
899899
[Evaluate() concrete method]: https://tc39.github.io/ecma262/#sec-moduleevaluation
900900
[HostResolveImportedModule]: https://tc39.github.io/ecma262/#sec-hostresolveimportedmodule
901901
[Instantiate() concrete method]: https://tc39.github.io/ecma262/#sec-moduledeclarationinstantiation
902+
[Source Text Module Record]: https://tc39.github.io/ecma262/#sec-source-text-module-records
902903
[V8 Embedder's Guide]: https://github.com/v8/v8/wiki/Embedder's%20Guide#contexts
903904
[contextified]: #vm_what_does_it_mean_to_contextify_an_object
904905
[global object]: https://es5.github.io/#x15.1
905906
[indirect `eval()` call]: https://es5.github.io/#x10.4.2
906907
[origin]: https://developer.mozilla.org/en-US/docs/Glossary/Origin
907-
[Source Text Module Record]: https://tc39.github.io/ecma262/#sec-source-text-module-records

0 commit comments

Comments
 (0)