r/coffeescript • u/shabda • Jan 06 '12
JQuery plugins using Coffeescript
http://agiliq.com/blog/2012/01/writing-jquery-plugins-using-coffeescript/
1
Upvotes
r/coffeescript • u/shabda • Jan 06 '12
2
u/aescnt Jan 06 '12
Here it is as more idiomatic CoffeeScript, with the extraneous
returns, commas, dots and parentheses omitted, and the@not used as a standalonethis: