Skip to content

Instantly share code, notes, and snippets.

@mrjjwright
Created February 24, 2010 03:44
Show Gist options
  • Select an option

  • Save mrjjwright/313078 to your computer and use it in GitHub Desktop.

Select an option

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