Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6194] MobileWeb: Relative path support in require() and Ti.include()

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-12-02T17:34:18.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sSprint 2011-48, Release 1.8.0.1
ComponentsMobileWeb
Labelsstage
ReporterChris Barber
AssigneeChris Barber
Created2011-11-15T12:02:06.000+0000
Updated2017-03-03T22:28:16.000+0000

Description

The loader needs to properly handle relative paths such as "./some/file.js" relative to where the current module or include is located.

Comments

  1. Chris Barber 2011-11-23

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

    Closing as duplicate.

JSON Source