The Atlanta JavaScript Meetup Group Message Board Open Discussion › maintaining prototype chain with module pattern

maintaining prototype chain with module pattern

Joshua L.
user 63970202
Atlanta, GA
Post #: 2
So a friend asked me about making instanceof work with _.extend or other mixins. Which it does not work. Got him straightened out that he should be using the more of a chaining model. We looked at the old John Resig Simple Inheritance post, got some ideas but wanted to still use it in the module pattern. So here is a node.js app demoing Resig's samples, changed to module pattern, with a typescript's style inheritance function, with node.js eventEmitter as part of the chain, and some silliness at the end :) enjoy­
Powered by mvnForum

Our Sponsors

  • Sevaa Group, Inc.

    Paying the meeetup fees as well as taking care of

  • Mandrill

    Providing funds to make our meetups even more awesome!

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy