Skip to content

Instantly share code, notes, and snippets.

@billdawson
billdawson / all_ti_contacts.js
Created September 15, 2010 20:53
Show data for all contacts (Titanium)
function dosubs(person, property, labels) {
if (!(person[property])) {
return;
}
var pset = person[property];
for (var i = 0; i < labels.length; i++) {
var label = labels[i];
if (!(pset[label])) {
continue;
}