I am writing a jquery plugin in coffeescript but am not sure how to get the function wrapper part right.
My coffeescript starts with this:
$.fn.exten
You could simply add the closure yourself and compile it with the --bare flag.
--bare
coffee -w -c --bare jquery.plugin.coffee
(($) -> # some code here )(jQuery)