- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
19 lines
360 B
JavaScript
19 lines
360 B
JavaScript
'use strict';
|
|
|
|
function callAll(...fns) {
|
|
return function mergedFn(...args) {
|
|
fns.forEach((fn) => fn?.(...args));
|
|
};
|
|
}
|
|
function callAllHandlers(...fns) {
|
|
return function func(event) {
|
|
fns.some((fn) => {
|
|
fn?.(event);
|
|
return event?.defaultPrevented;
|
|
});
|
|
};
|
|
}
|
|
|
|
exports.callAll = callAll;
|
|
exports.callAllHandlers = callAllHandlers;
|