Corrected the name of Capitalization Styles
Corrected CamelCase to PascalCase and mixedCase to camelCase
This commit is contained in:
parent
7cc3b877dc
commit
82cbd4327f
1 changed files with 2 additions and 2 deletions
|
@ -66,8 +66,8 @@ formatted correctly.
|
|||
|
||||
Electron APIs uses the same capitalization scheme as Node.js:
|
||||
|
||||
- When the module itself is a class like `BrowserWindow`, use `CamelCase`.
|
||||
- When the module is a set of APIs, like `globalShortcut`, use `mixedCase`.
|
||||
- When the module itself is a class like `BrowserWindow`, use `PascalCase`.
|
||||
- When the module is a set of APIs, like `globalShortcut`, use `camelCase`.
|
||||
- When the API is a property of object, and it is complex enough to be in a
|
||||
separate chapter like `win.webContents`, use `mixedCase`.
|
||||
- For other non-module APIs, use natural titles, like `<webview> Tag` or
|
||||
|
|
Loading…
Reference in a new issue