Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There is a better way to do the mixins in JS. See this awesome post by Angus Croll:

http://javascriptweblog.wordpress.com/2011/05/31/a-fresh-loo...

`this` in JS generally incurs a lot of wrath, but this is one cool hack with `this`.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: