Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c0e5e74

Browse filesBrowse files
privatenumberRafaelGSS
authored andcommitted
module: document parentURL in register options
PR-URL: #51039 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
1 parent 429fbb3 commit c0e5e74
Copy full SHA for c0e5e74

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/module.md‎

Copy file name to clipboardExpand all lines: doc/api/module.md
+4Lines changed: 4 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ changes:
9999
URL, such as `import.meta.url`, you can pass that URL here. **Default:**
100100
`'data:'`
101101
* `options` {Object}
102+
* `parentURL` {string|URL} If you want to resolve `specifier` relative to a
103+
base URL, such as `import.meta.url`, you can pass that URL here. This
104+
property is ignored if the `parentURL` is supplied as the second argument.
105+
**Default:** `'data:'`
102106
* `data` {any} Any arbitrary, cloneable JavaScript value to pass into the
103107
[`initialize`][] hook.
104108
* `transferList` {Object\[]} [transferrable objects][] to be passed into the

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.