Simple question, What does do the following line:
$(@)
in CoffeeScript ?
Simple question, What does do the following line:
$(@)
in CoffeeScript ?
@
is an alias for this
.
So it calls the $
function (which may, or not, be jQuery depending on the rest of your code) with this
as argument.