From fa94a91bbd4c63e068754d73a376dc1a86e17d20 Mon Sep 17 00:00:00 2001 From: Bryan English Date: Thu, 5 May 2016 23:36:37 -0700 Subject: [PATCH] doc: v8 functions as methods on v8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For consistency with other docs, show v8 functions as being on the v8 object. PR-URL: https://github.com/nodejs/node/pull/6615 Reviewed-By: Ben Noordhuis Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Michaƫl Zasso Reviewed-By: Stephen Belanger --- doc/api/v8.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/v8.md b/doc/api/v8.md index 4761355141d2c2..f24e6eaa5c8e9a 100644 --- a/doc/api/v8.md +++ b/doc/api/v8.md @@ -6,7 +6,7 @@ This module exposes events and interfaces specific to the version of [V8][] built with Node.js. These interfaces are subject to change by upstream and are therefore not covered under the stability index. -## getHeapStatistics() +## v8.getHeapStatistics() Returns an object with the following properties @@ -21,7 +21,7 @@ Returns an object with the following properties } ``` -## getHeapSpaceStatistics() +## v8.getHeapSpaceStatistics() Returns statistics about the V8 heap spaces, i.e. the segments which make up the V8 heap. Order of heap spaces nor availability of a heap space can be @@ -70,7 +70,7 @@ Example result: ] ``` -## setFlagsFromString(string) +## v8.setFlagsFromString(string) Set additional V8 command line flags. Use with care; changing settings after the VM has started may result in unpredictable behavior, including