mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-31 03:40:16 +01:00
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
This commit is contained in:
@@ -23,7 +23,7 @@ NodeBB uses tabbed indentation. Bracing should follow the `One True Brace Style
|
||||
// otherwise ...
|
||||
}
|
||||
|
||||
Put conditionals and statements on separate lines and wrap with curly braces even if they it's just one line:
|
||||
Put conditionals and statements on separate lines and wrap with curly braces even if it's just one line:
|
||||
|
||||
.. code:: javascript
|
||||
|
||||
@@ -73,4 +73,4 @@ CamelCase if at all possible:
|
||||
|
||||
.. code:: javascript
|
||||
|
||||
functionNamesLikeThis, variableNamesLikeThis, ClassNamesLikeThis, EnumNamesLikeThis, methodNamesLikeThis, CONSTANT_VALUES_LIKE_THIS, foo.namespaceNamesLikeThis.bar, and filenameslikethis.js.
|
||||
functionNamesLikeThis, variableNamesLikeThis, ClassNamesLikeThis, EnumNamesLikeThis, methodNamesLikeThis, CONSTANT_VALUES_LIKE_THIS, foo.namespaceNamesLikeThis.bar, and filenameslikethis.js.
|
||||
|
||||
Reference in New Issue
Block a user