Skip to content

Commit

Permalink
Convert from PhoneGap.exec to Cordova.exec for 1.5.0 (+?)
Browse files Browse the repository at this point in the history
  • Loading branch information
kerrishotts committed Jun 7, 2012
1 parent 0c7c5b1 commit eeadfb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions WindowsPhone/PGSocialShare/PGSocialShare.js
Expand Up @@ -14,14 +14,14 @@
}
}

PhoneGap.addConstructor(function() {
Cordova.addConstructor(function() {

navigator.plugins.pgSocialShare =
{
shareStatus:function(msg)
{
var options = {"message":msg,"shareType":PGSocialShare.ShareType.status};
PhoneGap.exec(null,null,"PGSocialShare","share",options);
Cordova.exec(null,null,"PGSocialShare","share",options);
},

shareLink:function(title,url,msg)
Expand All @@ -31,7 +31,7 @@
"url":url,
"shareType":PGSocialShare.ShareType.link};

PhoneGap.exec(null,null,"PGSocialShare","share",options);
Cordova.exec(null,null,"PGSocialShare","share",options);
}
}

Expand Down

0 comments on commit eeadfb1

Please sign in to comment.