Skip to content

Instantly share code, notes, and snippets.

var common = { value: "123", title: "None" };
var tabGroup = Titanium.UI.createTabGroup();
for(var i = 0; i < 2; ++i) {
var win = Titanium.UI.createWindow({
title : "Test #" + i,
backgroundColor: '#fff',
url: "tab.js"
});