Hacker News new | ask | show | jobs
by mparke 4993 days ago
Gen is because I use the word generate often in my code, and def rubbed off from Ext.define, no other special reason.

As for instance of, It's something I overlooked in testing, so I'm going to check that now, but my guess is that without mixing it should pass, but with it would fail because of the way I'm just pointing to function references.

Be back in a few with result, thanks for the feedback.

1 comments

instanceof will fail right now, because I'm not using function constructors and prototype to create the classes. So I'm going to switch it to work that way so checks like instanceof work appropriately. I'll have to see how this affects mixins when i'm done with the changes.