<commit_before>var args = arguments[0] || {};

function doClick(e) {
  if (OS_IOS) {
    Alloy.Globals.Main.openWindow(Alloy.createController(e.rowData.file).getView());
  } else {
    Alloy.createController(e.rowData.file).getView().open();
  }
}

function doOpenInfo() {
    Alloy.createController('info').getView().open({modal:true});
}

var examples = [
    {title:'Fade Effects', platform:"android, iphone OS, ipad", hasChild:true, file:'examples/fade'},
    {title:'Fly In/Out', platform:"android, iphone, ipad", hasChild:true, file:'examples/flyin'},
    {title:'Dial', platform:"android, iphone, ipad", header:'2D Matrix', hasChild:true, file:'examples/2dmatrix1'},
    {title:'Spinner', platform:"android, iphone, ipad", hasChild:true, file:'examples/2dmatrix2'},
    {title:'Clouds', platform:"android, iphone, ipad", hasChild:true, file:'examples/2dmatrix3'},
    {title:'Anchor Points', platform:"android, iphone, ipad", hasChild:true, file:'examples/anchorpoints'},
    {title:'3D Flip', platform:"iphone, ipad", header:'iOS 3D Matrix', hasChild:true, file:'examples/3dmatrix1'},
    {title:'Flip From Right/Left', platform:"iphone, ipad", header:"iOS Transitions", hasChild:true, file:'examples/transitions'},
    {title:'Page Curl Up/Down', platform:"iphone, ipad", hasChild:true, file:'examples/curl'},
    {title:'View Attachment Behavior', platform:"iphone, ipad", header:"iOS Dynamics", hasChild:true, file:'examples/viewAttachmentBehavior'},
    {title:'Dynamic Modal', platform:"iphone, ipad", hasChild:true, file:'examples/modalDynamics'},
    {title:'Dynamic Items', platform:"iphone, ipad", hasChild:true, file:'examples/dynamicItems'},
    {title:'Collision Behavior', platform:"iphone, ipad", hasChild:true, file:'examples/collisionBehavior'},
    {title:'Push', platform:"iphone, ipad", hasChild:true, file:'examples/push'},
    {title:'Snap', platform:"iphone, ipad", hasChild:true, file:'examples/snap'}
];

// Filter examples against Ti.Platform.name: android, iphone, ipad, mobileweb
examples = examples.filter(function(obj) {
  obj.color = '#999';
  obj.height = '44';
  re = new RegExp(Ti.Platform.osname);
  return (re.test(obj.platform));
});

$.tableView.setData(examples);

<commit_msg>Remove anchorPoint example from Android. This is iOS only due to this: https://jira.appcelerator.org/browse/TIMOB-2452<commit_after>var args = arguments[0] || {};

function doClick(e) {
  if (OS_IOS) {
    Alloy.Globals.Main.openWindow(Alloy.createController(e.rowData.file).getView());
  } else {
    Alloy.createController(e.rowData.file).getView().open();
  }
}

function doOpenInfo() {
    Alloy.createController('info').getView().open({modal:true});
}

var examples = [
    {title:'Fade Effects', platform:"android, iphone OS, ipad", hasChild:true, file:'examples/fade'},
    {title:'Fly In/Out', platform:"android, iphone, ipad", hasChild:true, file:'examples/flyin'},
    {title:'Dial', platform:"android, iphone, ipad", header:'2D Matrix', hasChild:true, file:'examples/2dmatrix1'},
    {title:'Spinner', platform:"android, iphone, ipad", hasChild:true, file:'examples/2dmatrix2'},
    {title:'Clouds', platform:"android, iphone, ipad", hasChild:true, file:'examples/2dmatrix3'},
    {title:'Anchor Points', platform:"iphone, ipad", hasChild:true, file:'examples/anchorpoints'},
    {title:'3D Flip', platform:"iphone, ipad", header:'iOS 3D Matrix', hasChild:true, file:'examples/3dmatrix1'},
    {title:'Flip From Right/Left', platform:"iphone, ipad", header:"iOS Transitions", hasChild:true, file:'examples/transitions'},
    {title:'Page Curl Up/Down', platform:"iphone, ipad", hasChild:true, file:'examples/curl'},
    {title:'View Attachment Behavior', platform:"iphone, ipad", header:"iOS Dynamics", hasChild:true, file:'examples/viewAttachmentBehavior'},
    {title:'Dynamic Modal', platform:"iphone, ipad", hasChild:true, file:'examples/modalDynamics'},
    {title:'Dynamic Items', platform:"iphone, ipad", hasChild:true, file:'examples/dynamicItems'},
    {title:'Collision Behavior', platform:"iphone, ipad", hasChild:true, file:'examples/collisionBehavior'},
    {title:'Push', platform:"iphone, ipad", hasChild:true, file:'examples/push'},
    {title:'Snap', platform:"iphone, ipad", hasChild:true, file:'examples/snap'}
];

// Filter examples against Ti.Platform.name: android, iphone, ipad, mobileweb
examples = examples.filter(function(obj) {
  obj.color = '#999';
  obj.height = '44';
  re = new RegExp(Ti.Platform.osname);
  return (re.test(obj.platform));
});

$.tableView.setData(examples);


{'fraction_non_alphanumeric': 0.18295904887714662, 'fraction_numerical': 0.00836635843240863, 'mean_word_length': 6.375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1168531', 'n_tokens_mistral': 1530, 'n_tokens_neox': 1460, 'n_words': 289}