Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7899] MobileWeb: CommonJS modules not being loaded correctly

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-05-31T16:39:25.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sSprint 2012-05, Release 2.1.0, Sprint 2012-11 MW
ComponentsMobileWeb
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2012-03-06T14:19:31.000+0000
Updated2017-03-04T00:02:44.000+0000

Description

Mobile web fails to load a CommonJS module if the module defines itself using module.exports.

Comments

  1. Chris Barber 2012-03-06

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/1572
  2. Juan Bermudez 2012-05-23

    This is happening to me with GA 2.0.1. Cannot get any app using commonJS to work.
  3. Chris Barber 2012-05-23

    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.
  4. Lee Morris 2017-03-04

    Closing ticket as MobileWeb is no longer supported.

JSON Source