UNPKG

@mixer/webpack-bundle-compare

Version:
20 lines (18 loc) 564 B
/*! 2020 Jason Mulligan <jason.mulligan@avoidwork.com> @version 6.3.0 */ /** * Checks if an event is supported in the current execution environment. * * NOTE: This will not work correctly for non-generic events such as `change`, * `reset`, `load`, `error`, and `select`. * * Borrows from Modernizr. * * @param {string} eventNameSuffix Event name, e.g. "click". * @param {?boolean} capture Check if the capture phase is supported. * @return {boolean} True if the event is supported. * @internal * @license Modernizr 3.0.0pre (Custom Build) | MIT */