Hi Guys,

I am using rails-3.1 which use CoffeeScript by default.
Does anybody know how to write jQuery plugin in CoffeeScript according to
official jQuery guide?
http://docs.jquery.com/Plugins/Authoring

I knew this:
https://gist.github.com/909017
but I think it's different from jQuery official guide.

Also, can I remove 'function-call-this' wrapper?
If I do that, will I bring myself into another trouble?
I mean: (function() { my code }).call(this);

Thanks :)
Kristianto

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to