() => it('should return the string "world"', () =>
   assert.equal(world(), "world")
Esempio n. 2
0
			var currentTitle = global.data[i].title 
	   		global.data[i].title = "Current: "+ currentTitle;
	   		var tab = Titanium.UI.createTab({  
			    icon:'home.png',
			    title:'Home',
			    window:win
			});
			
			global.tab1 = tab;
			alert("We were unable to determine your timezone.  Select your timezone from the 'World' list and set it as 'home'")
	}
}

var worldWin = require('world');

var win2 = worldWin();

global.worldWin = win2;
    
var tab2 = Titanium.UI.createTab({  
    icon:'world.png',
    title:'World',
    window:win2
});

tabGroup.addTab(tab2);

global.tab2 = tab2;
tabGroup.addTab(tab);

tabGroup.setActiveTab(global.tab1)