OK, good. Favoring single-export modules over multi-export modules seems like the right call, then.
On Jul 22, 2013, at 7:23 , Ryan Florence <[email protected]> wrote: >> Have single-export modules in npm been counted? > > A look at npm would not be a representative sampling of JavaScript modules. > > NPM houses library code, which lends itself more toward multi-export than > application code does, in my experience anyway. > > Every client app I've worked on has some sort of object model based on > constructors (MooTools, jQueryUI, Backbone, Ember, lots of others). It would > be silly to export anything but the constructor function from each module. > > - Ryan -- Dr. Axel Rauschmayer [email protected] home: rauschma.de twitter: twitter.com/rauschma blog: 2ality.com
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

