http://bit.ly/xooF1h Module Pattern Pseudo-classical inheritance - “This was the inheritance scheme that was designed for the language, and I really don't care for it at all. I don't think it looks very good.”
console.log(serviceLocator.foobar); // bar serviceLocator.register('logger', console); serviceLocator.logger.log('Hello world'); // Hello world http://github.com/serby/service-locator Inversion of Control
be designed around that use case first, not for dozens of exports. substack Separation of concerns if your module exposes more than one function, you might be doing it wrong :) mikeal