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-10-10 01:49:08 +0300
committerRich Trott <rtrott@gmail.com>2019-10-11 08:15:58 +0300
commit81bc7b3ba5a37a5ad4de0f8798eb42e631d55617 (patch)
tree151d163358f029f8f686b595db2c565ddcff1070 /doc/api/perf_hooks.md
parenta1e47d7603b1d0bf54c8aad027298e964b8c8af4 (diff)
doc: escape brackets not used as markdown reference links
These can turn into links if reference links are added to the document PR-URL: https://github.com/nodejs/node/pull/29809 Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc/api/perf_hooks.md')
-rw-r--r--doc/api/perf_hooks.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md
index d6ae1946c47..3fcdd99509c 100644
--- a/doc/api/perf_hooks.md
+++ b/doc/api/perf_hooks.md
@@ -30,7 +30,7 @@ doSomeLongRunningProcess(() => {
added: v8.5.0
-->
-### performance.clearMarks([name])
+### performance.clearMarks(\[name\])
<!-- YAML
added: v8.5.0
-->
@@ -40,7 +40,7 @@ added: v8.5.0
If `name` is not provided, removes all `PerformanceMark` objects from the
Performance Timeline. If `name` is provided, removes only the named mark.
-### performance.mark([name])
+### performance.mark(\[name\])
<!-- YAML
added: v8.5.0
-->
@@ -384,7 +384,7 @@ added: v8.5.0
Returns a list of `PerformanceEntry` objects in chronological order
with respect to `performanceEntry.startTime`.
-### performanceObserverEntryList.getEntriesByName(name[, type])
+### performanceObserverEntryList.getEntriesByName(name\[, type\])
<!-- YAML
added: v8.5.0
-->
@@ -410,7 +410,7 @@ Returns a list of `PerformanceEntry` objects in chronological order
with respect to `performanceEntry.startTime` whose `performanceEntry.entryType`
is equal to `type`.
-## perf_hooks.monitorEventLoopDelay([options])
+## perf_hooks.monitorEventLoopDelay(\[options\])
<!-- YAML
added: v11.10.0
-->