Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
Trott authored and BethGriggs committed Oct 14, 2020
1 parent 01c9c59 commit 85dc84d
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
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
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 85dc84d

Please sign in to comment.