From: fat Date: Tue, 30 Oct 2012 04:54:51 +0000 (-0700) Subject: add note about js style X-Git-Tag: v2.2.0^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f1136228a789c6c0853771097f6292a478a056aa;p=thirdparty%2Fbootstrap.git add note about js style --- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 86de066844..c97e8b81ee 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -60,6 +60,16 @@ As of v2.0.0, Bootstrap's documentation is powered by Mustache templates and bui +## Coding standards: JS + +- No semicolons +- Comma first +- 2 spaces (no tabs) +- strict mode +- "Attractive" + + + ## License By contributing your code, you agree to license your contribution under the terms of the APLv2: https://github.com/twitter/bootstrap/blob/master/LICENSE