From 82cbd4327fc5721a36366c18f997f2064c2fa2ab Mon Sep 17 00:00:00 2001 From: Vijay Pushkin Date: Mon, 16 Apr 2018 13:14:11 +0530 Subject: [PATCH] Corrected the name of Capitalization Styles Corrected CamelCase to PascalCase and mixedCase to camelCase --- docs/development/coding-style.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/development/coding-style.md b/docs/development/coding-style.md index cf11a46e450..46a25ed7fe5 100644 --- a/docs/development/coding-style.md +++ b/docs/development/coding-style.md @@ -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 ` Tag` or