Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8011] MobileWeb: Titanium: include is failing to load

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2012-03-14T14:27:17.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sn/a
ComponentsMobileWeb
Labelsqe-mw020912
ReporterNatalie Huynh
AssigneeChris Barber
Created2012-03-14T14:18:49.000+0000
Updated2014-01-28T23:57:35.000+0000

Description

Steps To Reproduce: 1. Run filesystem module test 1177 Actual: Error: Failed to load include "/my.js": 404 Expected: To load test case without failure

Attachments

FileDateSize
TIMOB-1177.zip2012-03-14T14:18:49.000+00002325523

Comments

  1. Chris Barber 2012-03-14

    The reason it's not working is because the file does not exist. The logic is correct. You need to change the code to do a require("/iphone/my.js") or move the my.js file from the iphone directory to the root of the resources directory.

JSON Source