use globalShortcut as a better mixedCase example

This commit is contained in:
Zeke Sikelianos 2016-04-07 09:49:17 -07:00
parent 193c6d6e93
commit 4d8d4d5f2a

View file

@ -44,7 +44,7 @@ etc.
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 `clipboard`, use mixedCase.
- When the module is a set of APIs, like `globalShortcut`, use mixedCase.
- 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 `Process Object`.