mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc: use sentence case for class property
Change the one instance of the Class Property heading in our docs to Class property to match style with other headers. PR-URL: https://github.com/nodejs/node/pull/35540 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
@@ -765,7 +765,7 @@ console.log(Buffer.isEncoding(''));
|
||||
// Prints: false
|
||||
```
|
||||
|
||||
### Class Property: `Buffer.poolSize`
|
||||
### Class property: `Buffer.poolSize`
|
||||
<!-- YAML
|
||||
added: v0.11.3
|
||||
-->
|
||||
|
||||
@@ -437,7 +437,7 @@ const eventPrefix = '^Event: +';
|
||||
const classPrefix = '^[Cc]lass: +';
|
||||
const ctorPrefix = '^(?:[Cc]onstructor: +)?`?new +';
|
||||
const classMethodPrefix = '^Static method: +';
|
||||
const maybeClassPropertyPrefix = '(?:Class Property: +)?';
|
||||
const maybeClassPropertyPrefix = '(?:Class property: +)?';
|
||||
|
||||
const maybeQuote = '[\'"]?';
|
||||
const notQuotes = '[^\'"]+';
|
||||
|
||||
Reference in New Issue
Block a user