coffeescript-meet-backbonejs icon indicating copy to clipboard operation
coffeescript-meet-backbonejs copied to clipboard

usage of _.bindAll(this) w/o function names has been deprecated

Open mrpollo opened this issue 11 years ago • 1 comments

underscore deprecated _.bindAll(this) with no function names

Discussion here: https://github.com/jashkenas/underscore/commit/ce3d1aec306999aa94926a42cad1daf7eb87a36f

And some more here: https://github.com/jashkenas/underscore/commit/bf657be243a075b5e72acc8a83e6f12a564d8f55

# this has been deprecated
_.bindAll @
# if you are looking for the same functionality something like this should work
_.bindAll.apply _, [@].concat(_.functions(@))

mrpollo avatar Jan 07 '14 18:01 mrpollo

+1

alexlenail avatar Jun 13 '15 00:06 alexlenail