Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
static async define(...params) {
await Promise.all([
fetchCldr(getLocale().getLanguage(), getLocale().getRegion(), getLocale().getScript()),
Icon.define(),
Popover.define(),
Calendar.define(),
Input.define(),
fetchI18nBundle("@ui5/webcomponents"),
]);
super.define(...params);
}
}
static async define(...params) {
await Promise.all([
fetchCldr(getLocale().getLanguage(), getLocale().getRegion(), getLocale().getScript()),
CalendarHeader.define(),
DayPicker.define(),
MonthPicker.define(),
YearPicker.define(),
]);
super.define(...params);
}
}