optimize code

fix spelling mistake.
This commit is contained in:
Hevin 2016-04-11 10:01:55 +08:00
parent 3bccb896e2
commit 46b2a5ab1a

View File

@ -18,7 +18,7 @@
window.plugins.jPushPlugin.getRegistrationID(onGetRegistradionID);
}
var onGetRegistradionID = function(data) {
var onGetRegistrationID = function(data) {
try {
console.log("JPushPlugin:registrationID is " + data);
@ -51,7 +51,7 @@
} else {
alertContent = event.aps.alert;
}
alert("open Notificaiton:" + alertContent);
alert("open Notification:" + alertContent);
} catch (exception) {
console.log("JPushPlugin:onOpenNotification" + exception);
}
@ -66,7 +66,7 @@
alertContent = event.aps.alert;
}
$("#notificationResult").html(alertContent);
} catch (exeption) {
} catch (exception) {
console.log(exception)
}
};