Skip to content

Commit

Permalink
JS Style Guide: Whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Mar 20, 2013
1 parent c927f1c commit 7d07bfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/style-guide/js.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,14 @@ For long comments, use:
```js
/*
Four score and seven—pause—minutes ago...
*/
*/
```

Inline comments are allowed as an exception when used to annotate special arguments in formal parameter lists:

```js
function foo( types, selector, data, fn, /*INTERNAL*/ one ) {
// do stuff.
// do stuff.
}
```

Expand Down

0 comments on commit 7d07bfd

Please sign in to comment.