Consume ES6 version of ical.js
Categories
(Calendar :: ICAL.js Integration, enhancement)
Tracking
(thunderbird_esr115 wontfix)
Tracking | Status | |
---|---|---|
thunderbird_esr115 | --- | wontfix |
People
(Reporter: leftmostcat, Assigned: darktrojan)
References
Details
Attachments
(1 file)
ical.js recently switched to using ES6 modules. We are currently using a fork of the last ES5 commit and should switch to importing the new ES6 module. Because we use ical.js in a service worker for parsing, this requires support for module workers.
This is also an opportunity to improve our process here. We currently paste the contents of the built ical.js into a portion of the Ical.jsm file, but the change allows us to directly import the built ical.js.
Comment 1•1 year ago
|
||
Do you mean through ./mach vendor?
Comment 2•1 year ago
|
||
Depends on D205738
The last line of Ical.sys.mjs must be changed to export { ICALmodule as ICAL };
Then it "works", but many tests are failing.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Pushed by brendan@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/28933f80ce9a
Update ical.js to ES6 version. r=mkmelin
Description
•