Created
January 23, 2012 10:35
-
-
Save inossidabile/1662394 to your computer and use it in GitHub Desktop.
Our lil' CoffeeScript conventions
This file contains 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
# Inline callbacks | |
foo => # always new line | |
ololo() | |
# Function calls | |
ololo() #when no params | |
ololo param #with params | |
# Inline function calls | |
ololo subololo(param) | |
# Chanined calls | |
foo.bar().baz param |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment