mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
Modify ContactFindOptions to pass Mobile Spec tests
This commit is contained in:
parent
0efe871efe
commit
b78896e5f0
@ -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() {
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user