Confirmed users
100
edits
(→implementation details: things already implemented) |
|||
| Line 94: | Line 94: | ||
cursor.onsuccess = function() { | cursor.onsuccess = function() { | ||
if(cursor.result) { | if (cursor.result) { | ||
alert("Got contact with name: " + cursor.result.name.join(" ")); | |||
cursor.continue(); | cursor.continue(); | ||
} else { | |||
alert("Done!"); | |||
} | } | ||
}; | }; | ||