Adding queries for addresses and organization

This commit is contained in:
macdonst
2010-09-17 17:15:30 -04:00
parent c2bcc29cfb
commit ca4d7f7fd2
3 changed files with 207 additions and 58 deletions

View File

@@ -104,11 +104,12 @@ Contacts.prototype.m_foundContacts = function(win, contacts) {
var ContactFindOptions = function(filter, multiple, limit, updatedSince) {
this.filter = filter || '';
this.multiple = multiple || true;
this.limit = limit || 0;
this.limit = limit || Number.MAX_VALUE;
this.updatedSince = updatedSince || '';
};
var ContactError = function() {
this.code=null;
};
ContactError.INVALID_ARGUMENT_ERROR = 0;