appcelerator/titanium_mobile — pull request #2414 by sptramer (2012-06-16 01:35:18+00:00)
Title: [TIMOB-9524] Multiple JS assets in compiled commonjs modules + require() fixes

This pull request has several new major features:

* CommonJS modules can now be compiled to include multiple JS files
* Better require() compliance

This may fix some additional bugs. I'm working on compiling a list right now, and will rebase any relevant commit messages.

__IMPORTANT:__ Modules created with 2.1.0 will not work with earlier versions of the SDK (for a number of reasons - this seems to happen even before this fix). However, modules created BEFORE 2.1.0 will continue to work with the new infrastructure.

Ticket [TIMOB-9524](https://jira.appcelerator.org/browse/TIMOB-9524) has extensive testing instructions including a pre-existing module asset set and project.