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

That classCreate syntax looks really bad, I've not seen it used before. A more sane syntax would be...

    var MyClass = SuperClass.extend({ ... properties ... });
which has been working quite well in my current projects.


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

Search: