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

They use coffeescript's class inheritance. Here's the JS that compiles down to:

http://jashkenas.github.com/coffee-script/#classes

If they showed JS examples it would instantly turn everyone off. Trust me, you do NOT want to use this with JS.



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

Search: