[TIMOB-7899] MobileWeb: CommonJS modules not being loaded correctly
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-05-31T16:39:25.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | Sprint 2012-05, Release 2.1.0, Sprint 2012-11 MW |
Components | MobileWeb |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2012-03-06T14:19:31.000+0000 |
Updated | 2017-03-04T00:02:44.000+0000 |
Description
Mobile web fails to load a CommonJS module if the module defines itself using module.exports.
Pull request: https://github.com/appcelerator/titanium_mobile/pull/1572
This is happening to me with GA 2.0.1. Cannot get any app using commonJS to work.
Juan, this issue has been fixed and will be available in v2.1.0. If you want to test your app now, you can download a "master" CI build from http://builds.appcelerator.com.s3.amazonaws.com/index.html, but be aware that master CI builds are not thoroughly tested and are not production worthy.
Closing ticket as MobileWeb is no longer supported.