Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6290] MobileWeb: CommonJS package support

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-02-08T16:47:31.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sSprint 2012-03, Release 2.0.0, Release 1.8.2
ComponentsMobileWeb
Labelsdr-list, stage
ReporterChris Barber
AssigneeChris Barber
Created2011-11-23T05:27:54.000+0000
Updated2017-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.

Comments

  1. Chris Barber 2012-02-08

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/1379
  2. Lee Morris 2017-03-24

    Closing ticket as fixed with reference to previous comments.

JSON Source