Replaced ical.es5.min.cjs with ical.js v2.1.0 for #1745

This commit is contained in:
the-djmaze 2024-09-17 20:57:45 +02:00
parent b5ff818ca4
commit 32da821c17
3 changed files with 9530 additions and 7 deletions

File diff suppressed because one or more lines are too long

9526
plugins/ics-viewer/ical.js Normal file

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,8 @@ class ICSViewerPlugin extends \RainLoop\Plugins\AbstractPlugin
{
const
NAME = 'ICS Viewer',
VERSION = '1',
AUTHOR = 'PhieF',
VERSION = '1.0',
RELEASE = '2024-09-17',
CATEGORY = 'Messages',
DESCRIPTION = 'Display ICS attachment using ical lib, or JSON-LD details, based on viewICS',
@ -14,7 +15,8 @@ class ICSViewerPlugin extends \RainLoop\Plugins\AbstractPlugin
{
// $this->UseLangs(true);
$this->addJs('message.js');
$this->addJs('ical.es5.min.cjs');
$this->addJs('windowsZones.js');
// Load https://github.com/kewisch/ical.js/releases
$this->addJs('ical.js');
}
}