Skip to content

Commit 85dc84d

Browse files
TrottBethGriggs
authored andcommitted
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: #35540 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 01c9c59 commit 85dc84d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api/buffer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ console.log(Buffer.isEncoding(''));
752752
// Prints: false
753753
```
754754

755-
### Class Property: `Buffer.poolSize`
755+
### Class property: `Buffer.poolSize`
756756
<!-- YAML
757757
added: v0.11.3
758758
-->

tools/doc/json.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ const eventPrefix = '^Event: +';
437437
const classPrefix = '^[Cc]lass: +';
438438
const ctorPrefix = '^(?:[Cc]onstructor: +)?`?new +';
439439
const classMethodPrefix = '^Static method: +';
440-
const maybeClassPropertyPrefix = '(?:Class Property: +)?';
440+
const maybeClassPropertyPrefix = '(?:Class property: +)?';
441441

442442
const maybeQuote = '[\'"]?';
443443
const notQuotes = '[^\'"]+';

0 commit comments

Comments
 (0)