diff options
author | Mani Maghsoudlou <manidlou@gmail.com> | 2017-09-14 01:36:49 -0700 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2017-09-19 16:36:30 -0300 |
commit | 049a8d7c1d9c69602b39bcd149ee1c093d72b970 (patch) | |
tree | c9e73a86d21c3f6f1e93cdbdd7b8fb76207be64a /doc/api/perf_hooks.md | |
parent | 1ebde6e1137b616de223c1b6fe3d8d30b5a9d3f5 (diff) | |
download | android-node-v8-049a8d7c1d9c69602b39bcd149ee1c093d72b970.tar.gz android-node-v8-049a8d7c1d9c69602b39bcd149ee1c093d72b970.tar.bz2 android-node-v8-049a8d7c1d9c69602b39bcd149ee1c093d72b970.zip |
doc: fix entryTypes type and missing link
PR-URL: https://github.com/nodejs/node/pull/15406
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/perf_hooks.md')
-rw-r--r-- | doc/api/perf_hooks.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index bccc99c18e..c6705e9009 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -202,7 +202,7 @@ const obs = new PerformanceObserver((list) => { obs.disconnect(); performance.clearFunctions(); }); -obs.observe({ entryTypes: 'function' }); +obs.observe({ entryTypes: ['function'] }); // A performance timeline entry will be created wrapped(); @@ -655,4 +655,5 @@ require('some-module'); ``` [`timeOrigin`]: https://w3c.github.io/hr-time/#dom-performance-timeorigin +[Async Hooks]: async_hooks.html [W3C Performance Timeline]: https://w3c.github.io/performance-timeline/ |