I just set up CoffeeScript (I'm also using Jade) for Meteor and it seems that my helpers (rendered and events functions too) do not work anymore.
Template.signIn.helpers
showForgotPassword: () ->
return Session.get('showForgotPassword')
The code seems to be properly generated but is embraced in an anonymous function.
I'm getting the following error in the web console:
Uncaught TypeError: Cannot call method 'helpers' of undefined (account.coffee:12)
I'm wondering whether the code is run before the page is fully loaded or if it is due to something else. I've also tried this but nothing changed (though it seems to work in this tutorial):
root = global ? window
root.Template.signIn.helpers
showForgotPassword: () ->
return Session.get('showForgotPassword')