Hacker News new | ask | show | jobs
by davej 4433 days ago
Yes or function.bind() or fat-arrow in Coffeescript. It's usually best practice to move that kind of stuff into a service instead though.