I'm getting 3 errors here,one is missing use strict statement
and the other TWO errors combine var statment,now 2 years ago i never saw this errors,things have
changed
// win1.js function Window(){ var win1 = Titanium.UI.createWindow({ title:'Tab 1', backgroundColor:'#fff' }); var tab1 = Titanium.UI.createTab({ icon:'KS_nav_views.png', title:'Tab 1', window:win1 }); var label1 = Titanium.UI.createLabel({ color:'#999', text:'I am Window 1', font:{fontSize:20,fontFamily:'Helvetica Neue'}, textAlign:'center', width:'auto' }); win1.add(label1); return win1; } module.exports = Window;