Skip to content

Commit

Permalink
doc: use sentence case for class property
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Trott authored and MylesBorins committed Nov 3, 2020
1 parent 5f42d3d commit b3c0f66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ console.log(Buffer.isEncoding(''));
// Prints: false
```

### Class Property: `Buffer.poolSize`
### Class property: `Buffer.poolSize`
<!-- YAML
added: v0.11.3
-->
Expand Down
2 changes: 1 addition & 1 deletion tools/doc/json.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '[^\'"]+';
Expand Down

0 comments on commit b3c0f66

Please sign in to comment.