Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- addAppointment = function(e, t, n) {
- if ("undefined" != typeof Windows) {
- var o = new Windows.ApplicationModel.Appointments.Appointment;
- o.allDay = !0, o.startTime = new Date(i(t, "dddd, Do MMM YYYY").format()), o.subject = "Trip to " + n, Windows.ApplicationModel.Appointments.AppointmentManager.showAddAppointmentAsync(o, {
- x: 300,
- y: 0,
- width: 600,
- height: 100
- }).done(function(t) {
- t ? (console.log("created!"), e()) : console.log("issue")
- })
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement