3 ms·
It follows Allman style of indentation: http://doubledollarjs.com/#convention http://doubledollarjs.com/#convention http://en.wikipedia.org/wiki/Indent_style#
by falava 14y ago
It follows Allman style of indentation:
http://doubledollarjs.com/#convention http://doubledollarjs.com/#convention
http://en.wikipedia.org/wiki/Indent_style#Allman_style http://en.wikipedia.org/wiki/Indent_style#Allman_style
- brian_c 14y agoIt breaks returning object literals because `return` on its own line is a complete statement.
- vidarh 14y agoWhenever I come across Allman style indenting, I get an overwhelming urge to run "indent"....
- emehrkay 14y agoI hate when people choose a standard that has cases where it shouldn't be followed. See the return semicolon injection JS bug/feature. I roll with BSD KNF across all of my brace-based langs.
- jtms 14y agowhen I absolutely must be bothered to use braces at all "one true brace" is the ONLY way to roll :-) Or in this case just use coffeescript and rejoice.