Changing navigator.contacts to navigator.service.contacts

This commit is contained in:
macdonst
2010-09-13 16:14:33 -04:00
parent b78896e5f0
commit 3f24c63fc5
5 changed files with 15 additions and 13 deletions
+2 -1
View File
@@ -1081,7 +1081,8 @@ ContactError.TIMEOUT_ERROR = 6;
ContactError.UNKNOWN_ERROR = 7;
PhoneGap.addConstructor(function() {
if(typeof navigator.contacts == "undefined") navigator.contacts = new Contacts();
if(typeof navigator.service == "undefined") navigator.service = new Object();
if(typeof navigator.service.contacts == "undefined") navigator.service.contacts = new Contacts();
});
com.phonegap.CryptoHandlerProxy = function() {
this.className = "com.phonegap.CryptoHandler";