fix(calendars.js): Remove unused function
This commit is contained in:
parent
f2bbd93c75
commit
3fd72124c0
1 changed files with 0 additions and 8 deletions
|
@ -190,14 +190,6 @@ function fcEventFromjCalEvent(cal) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function mkEventsFromCalendar(id, cal) {
|
|
||||||
return fetchCalendar(id, cal).then(calendar => {
|
|
||||||
if (calendar[0] !== 'vcalendar') return
|
|
||||||
const cal = new Calendar(id, calendar)
|
|
||||||
return cal.events.map(fcEventFromjCalEvent(cal))
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
export function mkSource(name) {
|
export function mkSource(name) {
|
||||||
const calendarId = calendarsByName[name]
|
const calendarId = calendarsByName[name]
|
||||||
if (!calendarId) return null
|
if (!calendarId) return null
|
||||||
|
|
Loading…
Reference in a new issue