diff --git a/example/index.html b/example/index.html index 541e8ba..4129896 100644 --- a/example/index.html +++ b/example/index.html @@ -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) } };