Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2019-09-01 09:18:32 +0300
committerRich Trott <rtrott@gmail.com>2019-09-04 06:55:39 +0300
commita3307eac0e6fb276274e4e9bbaab1aa4433e795f (patch)
tree8f28047c28dc917181c068c768afc1bb870bed6b /doc/api/vm.md
parent27a57d3a3449e4d6b9c07ef3bb56c4b0b43c133d (diff)
doc: use consistent indenting for unordered list items
Address Markdownlint MD007 rule. Default suggestion is 2 space indenting for unordered list items. PR-URL: https://github.com/nodejs/node/pull/29390 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/vm.md')
-rw-r--r--doc/api/vm.md60
1 files changed, 30 insertions, 30 deletions
diff --git a/doc/api/vm.md b/doc/api/vm.md
index 53085373638..c657aeb07d2 100644
--- a/doc/api/vm.md
+++ b/doc/api/vm.md
@@ -90,12 +90,12 @@ changes:
`import()` will reject with [`ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING`][].
This option is part of the experimental API for the `--experimental-modules`
flag, and should not be considered stable.
- * `specifier` {string} specifier passed to `import()`
- * `module` {vm.SourceTextModule}
- * Returns: {Module Namespace Object|vm.SourceTextModule} Returning a
- `vm.SourceTextModule` is recommended in order to take advantage of error
- tracking, and to avoid issues with namespaces that contain `then`
- function exports.
+ * `specifier` {string} specifier passed to `import()`
+ * `module` {vm.SourceTextModule}
+ * Returns: {Module Namespace Object|vm.SourceTextModule} Returning a
+ `vm.SourceTextModule` is recommended in order to take advantage of error
+ tracking, and to avoid issues with namespaces that contain `then`
+ function exports.
If `options` is a string, then it specifies the filename.
@@ -432,12 +432,12 @@ const contextifiedSandbox = vm.createContext({ secret: 42 });
* `importModuleDynamically` {Function} Called during evaluation of this module
when `import()` is called. If this option is not specified, calls to
`import()` will reject with [`ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING`][].
- * `specifier` {string} specifier passed to `import()`
- * `module` {vm.SourceTextModule}
- * Returns: {Module Namespace Object|vm.SourceTextModule} Returning a
- `vm.SourceTextModule` is recommended in order to take advantage of error
- tracking, and to avoid issues with namespaces that contain `then`
- function exports.
+ * `specifier` {string} specifier passed to `import()`
+ * `module` {vm.SourceTextModule}
+ * Returns: {Module Namespace Object|vm.SourceTextModule} Returning a
+ `vm.SourceTextModule` is recommended in order to take advantage of error
+ tracking, and to avoid issues with namespaces that contain `then`
+ function exports.
Creates a new ES `Module` object.
@@ -817,12 +817,12 @@ changes:
`import()` will reject with [`ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING`][].
This option is part of the experimental API for the `--experimental-modules`
flag, and should not be considered stable.
- * `specifier` {string} specifier passed to `import()`
- * `module` {vm.SourceTextModule}
- * Returns: {Module Namespace Object|vm.SourceTextModule} Returning a
- `vm.SourceTextModule` is recommended in order to take advantage of error
- tracking, and to avoid issues with namespaces that contain `then`
- function exports.
+ * `specifier` {string} specifier passed to `import()`
+ * `module` {vm.SourceTextModule}
+ * Returns: {Module Namespace Object|vm.SourceTextModule} Returning a
+ `vm.SourceTextModule` is recommended in order to take advantage of error
+ tracking, and to avoid issues with namespaces that contain `then`
+ function exports.
* Returns: {any} the result of the very last statement executed in the script.
The `vm.runInContext()` method compiles `code`, runs it within the context of
@@ -915,12 +915,12 @@ changes:
`import()` will reject with [`ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING`][].
This option is part of the experimental API for the `--experimental-modules`
flag, and should not be considered stable.
- * `specifier` {string} specifier passed to `import()`
- * `module` {vm.SourceTextModule}
- * Returns: {Module Namespace Object|vm.SourceTextModule} Returning a
- `vm.SourceTextModule` is recommended in order to take advantage of error
- tracking, and to avoid issues with namespaces that contain `then`
- function exports.
+ * `specifier` {string} specifier passed to `import()`
+ * `module` {vm.SourceTextModule}
+ * Returns: {Module Namespace Object|vm.SourceTextModule} Returning a
+ `vm.SourceTextModule` is recommended in order to take advantage of error
+ tracking, and to avoid issues with namespaces that contain `then`
+ function exports.
* Returns: {any} the result of the very last statement executed in the script.
The `vm.runInNewContext()` first contextifies the given `sandbox` object (or
@@ -993,12 +993,12 @@ changes:
`import()` will reject with [`ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING`][].
This option is part of the experimental API for the `--experimental-modules`
flag, and should not be considered stable.
- * `specifier` {string} specifier passed to `import()`
- * `module` {vm.SourceTextModule}
- * Returns: {Module Namespace Object|vm.SourceTextModule} Returning a
- `vm.SourceTextModule` is recommended in order to take advantage of error
- tracking, and to avoid issues with namespaces that contain `then`
- function exports.
+ * `specifier` {string} specifier passed to `import()`
+ * `module` {vm.SourceTextModule}
+ * Returns: {Module Namespace Object|vm.SourceTextModule} Returning a
+ `vm.SourceTextModule` is recommended in order to take advantage of error
+ tracking, and to avoid issues with namespaces that contain `then`
+ function exports.
* Returns: {any} the result of the very last statement executed in the script.
`vm.runInThisContext()` compiles `code`, runs it within the context of the