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 authored and MylesBorins committed Nov 16, 2020
1 parent fb9bb05 commit 42c4795
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 42c4795

Please sign in to comment.