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

You can have a look at: https://github.com/julienq/spqr/blob/master/populus.js

Bear in mind that it's still a work in progress. Look for "populus.object", especially create(), is_a() and call_super(). There is still something called $new (not new because some picky parsers don't like it) but it's just the chaining of create() (a wrapper around Object.create()) and init().




If you have more detailed feedback (positive or negative) I'd be happy to hear it. I'm still figuring this out at the moment.




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

Search: