I've looked at the CoffeeScript documentation, but can't get this to work.
if $("#main").hover
alert('clicked')
When I reload the page, the alert always pops up. I have it properly indented in my .js.coffee file, so I'm not sure what I'm missing.
ifstatement? That's not how you'd do something when you hover on an element.hovered.