Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyverbruggen committed Feb 18, 2017
1 parent d81936a commit 8d4a3d6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/windows/toastProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
},
Expand All @@ -51,6 +51,6 @@ var toastProxy = {
this.lastDisplayedNotification = null;
}
}
}
};

cordova.commandProxy.add("Toast", toastProxy);

0 comments on commit 8d4a3d6

Please sign in to comment.