fix set tag/alias

This commit is contained in:
zhangqinhghe
2014-06-06 18:15:08 +08:00
parent 599952976f
commit 108b507210
3 changed files with 22 additions and 10 deletions
+4 -4
View File
@@ -93,7 +93,7 @@ JPushPlugin.prototype.setTags = function (data) {
this.call_native("setTags", [data]);
}
catch(exception){
alert(exception);
console.log(exception);
}
}
JPushPlugin.prototype.setAlias = function (data) {
@@ -104,7 +104,7 @@ JPushPlugin.prototype.setAlias = function (data) {
}
catch(exception){
alert(exception);
console.log(exception);
}
}
JPushPlugin.prototype.pushCallback = function (data) {
@@ -117,7 +117,7 @@ JPushPlugin.prototype.pushCallback = function (data) {
}
catch(exception){
alert(exception);
console.log(exception);
}
}
JPushPlugin.prototype.registrationCallback = function (data) {
@@ -125,7 +125,7 @@ JPushPlugin.prototype.registrationCallback = function (data) {
console.log("registrationCallback--registraionID is "+data);
}
catch(exception){
alert(exception);
console.log(exception);
}
}
if(!window.plugins) {