Well, CS is just a higher level syntax for JS.
In JS, this
can only refer to one object.
The thick arrow uses closure to make this
equal to a higher level of this
, and more, and why it overrides this
in the callback area
A simple arrow, in contrast, is simply an alias for function
, and therefore this
is a DOM element in the first case.
Finally, @something
translates trivially to this.something
and does nothing.
So my opinion is that your best bet is really making self = @
before binding.
Guard source share