chunk-vendors.1634155197efea3c3a4a.0.1.0.js.LICENSE.txt 488 B

123456789101112131415
  1. /**
  2. * Checks if an event is supported in the current execution environment.
  3. *
  4. * NOTE: This will not work correctly for non-generic events such as `change`,
  5. * `reset`, `load`, `error`, and `select`.
  6. *
  7. * Borrows from Modernizr.
  8. *
  9. * @param {string} eventNameSuffix Event name, e.g. "click".
  10. * @param {?boolean} capture Check if the capture phase is supported.
  11. * @return {boolean} True if the event is supported.
  12. * @internal
  13. * @license Modernizr 3.0.0pre (Custom Build) | MIT
  14. */