Hi Everyone,<p>I have been working on a JavaScript library project that has grown out of discovery and learning what I've found useful in app development. I typically use some of these tools alongside jQuery or something that makes manipulating the DOM easier. I'm looking for some feedback, constructive criticism or just general suggestions. How can I improve the core class system around Object.create? How can I improve publish and subscribe? Any other module or implementation suggestions welcome.<p>Introduction: http://ordinaryrobot.com/#page-hawkjs_intro
Github: https://github.com/mparke/hawk.js<p>Thanks for any thoughts.
Is there a particular reason you are using Hawk.def and Hawk.gen instead of something more "traditional" like<p><pre><code> Bird = Hawk.create(...)
falcon = new Bird(...)
</code></pre>
How do you deal with inheritance?<p><pre><code> falcon insteanceof Bird; // => is it true?
</code></pre>
If bird had mixins would falcon be an instanceof those as well?