Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow X-attrs to be specified in constructor (#185)
## What - whitelist `x` in constructor ## Why - allow this to be specified via passed in object, for example: ``` ical({ domain: 'sebbo.net', prodId: '//superman-industries.com//ical-generator//EN', events: [ { start: moment(), end: moment().add(1, 'hour'), timestamp: moment(), summary: 'My Event', organizer: 'Sebastian Pekarek <[email protected]>', x: [ ['LANGUAGE', 'en-GB'] ] } ] }); ```
- Loading branch information