[TIMOB-6550] Android: Use the "ti:/" prefix for all platform Javascript files
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-12-12T17:41:57.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | Sprint 2011-49, Release 1.8.0.1, Release 2.0.0 |
Components | Android |
Labels | branch-v8, verified-1.8.0.1 |
Reporter | Marshall Culpepper |
Assignee | Josh Roesslein |
Created | 2011-12-09T14:12:46.000+0000 |
Updated | 2012-01-11T15:30:25.000+0000 |
Description
This would fix two issues, namely:
* We currently
require()
all platform level Javascript using a top level file name, which potentially conflicts with user code
* We need a unique identifier for TiStudio to filter our platform stack frames with
I tested this by require()ing a module called "module" that conflicts with our internal module.js: app.js:
module.js:
Before the fix, this would fail. Now it works.
Verified as Fixed in 1.8.0.1. SDK: 1.8.0.1.RC3 Android Runtimes: V8/Rhino Studio: 1.0.7.201112152014 Devices Tested: Android Emulator 2.2, Xoom 3.2.1, iPhone Simulator 5.0
Closing bug. Already verified fix on 1.8.0.1