I’m attempting this in coffeescript:
$( element ).mousedown( aFunction ).mouseup( anotherFunction );
I’m trying to work out a way to make use of indents so that something like the following will return what’s about:
$ element
.mousedown aFunction
.mouseup anotherFunction
But to no avail, are there any recommendations for chaining in coffeescript?
I’m sure you don’t want to use parenthesis, but…
Compiles to