From 8d4a3d646c66bf6dc8758ef059829e39918e200a Mon Sep 17 00:00:00 2001 From: eddyverbruggen Date: Sat, 18 Feb 2017 21:23:03 +0100 Subject: [PATCH] cleanup --- src/windows/toastProxy.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/windows/toastProxy.js b/src/windows/toastProxy.js index 5de2e46..c9da2b6 100644 --- a/src/windows/toastProxy.js +++ b/src/windows/toastProxy.js @@ -24,9 +24,9 @@ var toastProxy = { successCallback({ event: "touch", message: options[0].message, - data: options[0].data, + data: options[0].data }); - } + }; toast.ondismissed = function (event) { toastProxy.lastDisplayedNotification = null; @@ -35,12 +35,12 @@ var toastProxy = { message: options[0].message, data: options[0].data }); - } + }; toast.onfailed = function(err) { toastProxy.lastDisplayedNotification = null; errorCallback(err); - } + }; notifications.ToastNotificationManager.createToastNotifier().show(toast); }, @@ -51,6 +51,6 @@ var toastProxy = { this.lastDisplayedNotification = null; } } -} +}; cordova.commandProxy.add("Toast", toastProxy);