|
|
|
|
|
by Cushman
5041 days ago
|
|
Careful, that's not the same as (->).bind(somethingElse). => binds to the current value of this at execution-- in that function, @ will compile to `var _this = this`, not `somethingElse` as we'd expect. I just tested and it looks like you can hack it by doing _this = somethingElse =
render: => @renderMe # @ is somethingElse
but that is definitely a bug. |
|