Skip to content

Commit

Permalink
Code style fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Jun 22, 2011
1 parent 9bf4141 commit 0c89433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -505,9 +505,9 @@ Projects _must_ include some form of unit, reference, implementation or function
// 7.A.1.3
// If `foo` is a property of `switchObj` or `switchModule`, execute as a method...

(switchObj[ foo ] || switchObj.default )( args );
( switchObj[ foo ] || switchObj.default )( args );
(switchModule[ foo ] || switchObj.default )( args );
( switchModule[ foo ] || switchObj.default )( args );

// If you know and trust the value of `foo`, you could even omit the OR check
// leaving only the execution:
Expand Down

0 comments on commit 0c89433

Please sign in to comment.