From de71b1b3976b2f896fcd8c162f6fc1ef24cd8649 Mon Sep 17 00:00:00 2001 From: Andreas Date: Tue, 13 Dec 2016 17:16:46 +0100 Subject: [PATCH] Revert calendar default value and add documentation --- modules/default/calendar/README.md | 7 +++++++ modules/default/calendar/calendar.js | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/modules/default/calendar/README.md b/modules/default/calendar/README.md index 96ad5561..31eb1e2f 100644 --- a/modules/default/calendar/README.md +++ b/modules/default/calendar/README.md @@ -109,6 +109,13 @@ The following properties can be configured: titleReplace: {'Birthday of ' : '', 'foo':'bar'} +
Default value: + + { + "De verjaardag van ": "", + "'s birthday": "" + } + diff --git a/modules/default/calendar/calendar.js b/modules/default/calendar/calendar.js index d112b237..6282d130 100644 --- a/modules/default/calendar/calendar.js +++ b/modules/default/calendar/calendar.js @@ -32,7 +32,10 @@ Module.register("calendar", { url: "http://www.calendarlabs.com/templates/ical/US-Holidays.ics", }, ], - titleReplace: {}, + titleReplace: { + "De verjaardag van ": "", + "'s birthday": "" + }, broadcastEvents: true },