Open marcovtwout opened 10 years ago
https://github.com/carlsednaoui/add-to-calendar-buttons/blob/master/ouical.js#L151
Class is a reserved keyword. Replace by:
params.options["class"]
Even better: rename the keyword to something non-reserved, like "cssClass"
Good call!
I'll be reviewing this lib in the coming weeks. Let me know if you have any other feedback. Thanks @marcovtwout!
https://github.com/carlsednaoui/add-to-calendar-buttons/blob/master/ouical.js#L151
Class is a reserved keyword. Replace by:
params.options["class"]