Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5520] MobileWeb: Ti.include method does not include more than one file.

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-06-10T02:17:10.000+0000
Affected Version/sn/a
Fix Version/sSprint 2011-41
ComponentsMobileWeb
Labelsn/a
ReporterMisha Vasko
AssigneeMaxim Negadaylov
Created2011-06-09T05:06:04.000+0000
Updated2017-03-03T23:35:05.000+0000

Description

Ti.include method does not include more than one file.
var win = Titanium.UI.currentWindow;
Ti.include('/my_js_include_2.js','/my_js_include.js');

alert(myFirstName);
alert(myLastName);
my_js_include.js content:
var myFirstName = 'Bugazza';
my_js_include_2.js content:
var myLastName = 'team';

Comments

  1. Lee Morris 2017-03-03

    Closing ticket as MobileWeb is no longer supported.

JSON Source