lint compliance
parent
95c16f5c65
commit
1526f933ed
|
@ -844,7 +844,6 @@ Messages.calendar_noNotification = "None";
|
|||
max: 60
|
||||
});
|
||||
var $number = $(number);
|
||||
var list = [];
|
||||
var options = ['minutes', 'hours', 'days'].map(function (k) {
|
||||
return {
|
||||
tag: 'a',
|
||||
|
|
|
@ -468,16 +468,12 @@ define([
|
|||
Messages.reminder_minutes = "<b>{0}</b> will start in {1} minutes!"; // XXX
|
||||
Messages.reminder_time = "<b>{0}</b> will start today at {1}!"; // XXX
|
||||
Messages.reminder_date = "<b>{0}</b> will start on {1}!"; // XXX
|
||||
var getDate = function (time) {
|
||||
return new Date(time).toLocaleDateString();
|
||||
};
|
||||
handlers['REMINDER'] = function (common, data) {
|
||||
var content = data.content;
|
||||
var msg = content.msg.content;
|
||||
var missed = content.msg.missed;
|
||||
var start = msg.start;
|
||||
var title = Util.fixHTML(msg.title);
|
||||
var i = 0;
|
||||
content.getFormatText = function () {
|
||||
var now = +new Date();
|
||||
|
||||
|
|
|
@ -92,8 +92,6 @@ define([
|
|||
|
||||
var updateEventReminders = function (ctx, reminders, ev, useLastVisit) {
|
||||
var now = +new Date();
|
||||
var time10 = now + (600 * 1000); // 10 minutes from now
|
||||
var time60 = now + (3600 * 1000); // 1 hour from now
|
||||
var uid = ev.id;
|
||||
|
||||
//ctx.store.data.lastVisit = 1617922639683; // XXX Friday Apr 09, used to test
|
||||
|
|
Loading…
Reference in New Issue