Update style-guide.rst

This commit is contained in:
Barış Soner Uşaklı
2014-04-30 14:50:56 -04:00
parent af6a40e23c
commit e5d33a57d9

View File

@@ -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.