lyonbros/composer.js — Issue #3: Composer exports overwrite the Classes and export static instances
Author: DimitarChristoff
Created: 2012-01-23 17:33:31+00:00
State: open

https://github.com/lyonbros/composer.js/blob/master/composer.js#L1628

If I am reading this correctly, there is a scoped class, eg, `Model` and you are exporting not the class itself but an instance of the class instead here. This makes the instantiation option overloading in `Model::initialize` with data etc totally inaccessible to the `Composer.Model` export, which remains the static object.

Is this intended?