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 <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
Trott committed Oct 9, 2020
1 parent c8b950a commit 936ce85
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 @@ -765,7 +765,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 936ce85

Please sign in to comment.