Modify ContactFindOptions to pass Mobile Spec tests

This commit is contained in:
macdonst 2010-09-10 16:51:36 -04:00
parent 0efe871efe
commit b78896e5f0
2 changed files with 10 additions and 10 deletions

View File

@ -132,11 +132,11 @@ Contacts.prototype.m_foundContacts = function(win, contacts) {
win(contacts);
};
var ContactFindOptions = function() {
this.filter = '';
this.multiple = true;
this.limit = 0;
this.updatedSince = 0;
var ContactFindOptions = function(filter, multiple, limit, updatedSince) {
this.filter = filter || '';
this.multiple = multiple || true;
this.limit = limit || 0;
this.updatedSince = updatedSince || '';
};
var ContactError = function() {

View File

@ -1061,11 +1061,11 @@ Contacts.prototype.m_foundContacts = function(win, contacts) {
win(contacts);
};
var ContactFindOptions = function() {
this.filter = '';
this.multiple = true;
this.limit = 0;
this.updatedSince = 0;
var ContactFindOptions = function(filter, multiple, limit, updatedSince) {
this.filter = filter || '';
this.multiple = multiple || true;
this.limit = limit || 0;
this.updatedSince = updatedSince || '';
};
var ContactError = function() {