[TIMOB-6290] MobileWeb: CommonJS package support
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-02-08T16:47:31.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | Sprint 2012-03, Release 2.0.0, Release 1.8.2 |
Components | MobileWeb |
Labels | dr-list, stage |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2011-11-23T05:27:54.000+0000 |
Updated | 2017-03-24T21:01:23.000+0000 |
Description
The existing require() mechanism already takes into account packages at the config level, but now needs to check if a module is apart of a package and if so, use the package's path. It's important that relative paths be maintained within the package's path structure.
Pull request: https://github.com/appcelerator/titanium_mobile/pull/1379
Closing ticket as fixed with reference to previous comments.