Skip to content

Commit

Permalink
Update CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
madrobby committed Sep 16, 2013
1 parent ce02100 commit 33dc52f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ In order for your code to make it in, several conditions must be met:
* Please **also test manually** on as many target platforms you have access to,
but at least on latest Chrome (desktop) and Firefox (desktop).
See http://zeptojs.com for a full list of platforms.
* Remove trailing whitespace from the end of lines.
* It's required that you follow Zepto's **code style guidelines** (see below)

Whew, now that we have that out of the way thanks again!

## Code style guidelines

* Two spaces "soft tabs" indentation
* Remove amy trailing whitespace from the end of lines
* `function name() { }` for named functions
* `function(){ }` for anonymous functions
* No curly braces for single-line control flow statements such as `if` & friends
Expand Down

0 comments on commit 33dc52f

Please sign in to comment.