Created
August 4, 2011 15:49
-
-
Save giggio/1125485 to your computer and use it in GitHub Desktop.
CoffeeScript, don't return!
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
$('#teste').click -> | |
alert "Hello CoffeeScript!" | |
return | |
# turns into: | |
# | |
# (function() { | |
# $('#teste').click(function() { | |
# alert("Hello CoffeeScript!"); | |
# }); | |
# }).call(this); | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment