mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
Fix duplicate method name
This commit is contained in:
parent
c91ea37438
commit
c80397ad68
@ -100,7 +100,9 @@ Contacts.prototype.find = function(fields, win, fail, options) {
|
||||
PhoneGap.execAsync(null, null, "Contacts", "search", [fields, options]);
|
||||
};
|
||||
|
||||
Contacts.prototype.wacky = function(properties) {
|
||||
//This function does not create a new contact in the db.
|
||||
//Must call contact.save() for it to be persisted in the db.
|
||||
Contacts.prototype.create = function(properties) {
|
||||
var contact = new Contact();
|
||||
for (i in properties) {
|
||||
if (contact[i]!='undefined') {
|
||||
@ -114,11 +116,6 @@ Contacts.prototype.droidDone = function(contacts) {
|
||||
this.win(eval('(' + contacts + ')'));
|
||||
};
|
||||
|
||||
// This function does not create a new contact in the db.
|
||||
// Must call contact.save() for it to be persisted in the db.
|
||||
Contacts.prototype.create = function(contact) {
|
||||
};
|
||||
|
||||
Contacts.prototype.m_foundContacts = function(win, contacts) {
|
||||
this.inProgress = false;
|
||||
win(contacts);
|
||||
|
@ -1049,7 +1049,9 @@ Contacts.prototype.find = function(fields, win, fail, options) {
|
||||
PhoneGap.execAsync(null, null, "Contacts", "search", [fields, options]);
|
||||
};
|
||||
|
||||
Contacts.prototype.wacky = function(properties) {
|
||||
//This function does not create a new contact in the db.
|
||||
//Must call contact.save() for it to be persisted in the db.
|
||||
Contacts.prototype.create = function(properties) {
|
||||
var contact = new Contact();
|
||||
for (i in properties) {
|
||||
if (contact[i]!='undefined') {
|
||||
@ -1063,11 +1065,6 @@ Contacts.prototype.droidDone = function(contacts) {
|
||||
this.win(eval('(' + contacts + ')'));
|
||||
};
|
||||
|
||||
// This function does not create a new contact in the db.
|
||||
// Must call contact.save() for it to be persisted in the db.
|
||||
Contacts.prototype.create = function(contact) {
|
||||
};
|
||||
|
||||
Contacts.prototype.m_foundContacts = function(win, contacts) {
|
||||
this.inProgress = false;
|
||||
win(contacts);
|
||||
|
Loading…
Reference in New Issue
Block a user