Merge pull request #500 from roramirez/space_vs_tab_calendar

calendar: fix space vs tab into caledarfetcher.js
This commit is contained in:
Michael Teeuw 2016-11-06 12:29:44 +01:00 committed by GitHub
commit cad655a15b

View File

@ -96,9 +96,9 @@ var CalendarFetcher = function(url, reloadInterval, maximumEntries, maximumNumbe
title = event.description; title = event.description;
} }
var location = event.location || false; var location = event.location || false;
var geo = event.geo || false; var geo = event.geo || false;
var description = event.description || false; var description = event.description || false;
if (typeof event.rrule != "undefined" && !isFacebookBirthday) { if (typeof event.rrule != "undefined" && !isFacebookBirthday) {
var rule = event.rrule; var rule = event.rrule;
@ -114,9 +114,9 @@ var CalendarFetcher = function(url, reloadInterval, maximumEntries, maximumNumbe
endDate: endDate.format("x"), endDate: endDate.format("x"),
fullDayEvent: isFullDayEvent(event), fullDayEvent: isFullDayEvent(event),
firstYear: event.start.getFullYear(), firstYear: event.start.getFullYear(),
location: location, location: location,
geo: geo, geo: geo,
description: description description: description
}); });
} }
} }
@ -147,9 +147,9 @@ var CalendarFetcher = function(url, reloadInterval, maximumEntries, maximumNumbe
startDate: startDate.format("x"), startDate: startDate.format("x"),
endDate: endDate.format("x"), endDate: endDate.format("x"),
fullDayEvent: fullDayEvent, fullDayEvent: fullDayEvent,
location: location, location: location,
geo: geo, geo: geo,
description: description description: description
}); });
} }