Skip to content

Instantly share code, notes, and snippets.

@mrjjwright
Created February 24, 2010 03:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrjjwright/313078 to your computer and use it in GitHub Desktop.
Save mrjjwright/313078 to your computer and use it in GitHub Desktop.
#should the following with an erroneous single ":" instead of "::"
SampleClass:sample_function: (string) ->
#compile to
SampleClass = (sample_function = function sample_function(string) {
# as it does now or throw a warning or error?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment