Created
October 28, 2014 19:53
-
-
Save nebrius/fe1c70742bf03f073afe to your computer and use it in GitHub Desktop.
Open brace on next line w/ 1TBS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (val === 'sdfdsfsdf' || | |
val === 'sdfsdfsfsf' || | |
val > 23423423 || | |
val < 123 | |
) { | |
// I like the open brace on a new line _only_ in this situation | |
// so that there's a clear distinction between the end of the | |
// multi-line conditional and the beginning of the code | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment