<commit_before>// create table view data object
var data = [
	
	{title:'Error Callback', hasChild:true, test:'../examples/xhr_error.js'},
	{title:'Binary Data', hasChild:true, test:'../examples/xhr_binarydata.js'},
	{title:'XML Data', hasChild:true, test:'../examples/xhr_xml.js'},
	{title:'XML Properties', hasChild:true, test:'../examples/xhr_properties.js'},
	{title:'File Download', hasChild:true, test:'../examples/xhr_filedownload.js'},
	{title:'UTF-8 + GET/POST', hasChild:true, test:'../examples/xhr_utf8.js'},
	{title:'setTimeout', hasChild:true, test:'../examples/xhr_settimeout.js'}

];
// add iphone specific tests
if (Titanium.Platform.name == 'iPhone OS')
{
	data.push({title:'File Upload', hasChild:true, test:'../examples/xhr_fileupload.js'});
}
// create table view
var tableview = Titanium.UI.createTableView({
	data:data
});

// create table view event listener
tableview.addEventListener('click', function(e)
{
	if (e.rowData.test)
	{
		var win = Titanium.UI.createWindow({<commit_msg>Removed setTimeout test for Android. Not functioning yet<commit_after>// create table view data object
var data = [
	
	{title:'Error Callback', hasChild:true, test:'../examples/xhr_error.js'},
	{title:'Binary Data', hasChild:true, test:'../examples/xhr_binarydata.js'},
	{title:'XML Data', hasChild:true, test:'../examples/xhr_xml.js'},
	{title:'XML Properties', hasChild:true, test:'../examples/xhr_properties.js'},
	{title:'File Download', hasChild:true, test:'../examples/xhr_filedownload.js'},
	{title:'UTF-8 + GET/POST', hasChild:true, test:'../examples/xhr_utf8.js'}
];
// add iphone specific tests
if (Titanium.Platform.name == 'iPhone OS')
{
	data.push({title:'setTimeout', hasChild:true, test:'../examples/xhr_settimeout.js'});
	data.push({title:'File Upload', hasChild:true, test:'../examples/xhr_fileupload.js'});
}
// create table view
var tableview = Titanium.UI.createTableView({
	data:data
});

// create table view event listener
tableview.addEventListener('click', function(e)
{
	if (e.rowData.test)
	{
		var win = Titanium.UI.createWindow({
{'fraction_non_alphanumeric': 0.18904507998061076, 'fraction_numerical': 0.0019389238972370335, 'mean_word_length': 5.390092879256966, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4728925', 'n_tokens_mistral': 725, 'n_tokens_neox': 695, 'n_words': 138}