a11y-dialog
Advanced tools
Comparing version 2.5.3 to 2.5.4
@@ -16,8 +16,8 @@ (function (global) { | ||
_CustomEvent.prototype = global.Event.prototype; | ||
_CustomEvent.prototype = window.Event.prototype; | ||
var event; | ||
if (global.CustomEvent && typeof global.CustomEvent === 'function') { | ||
event = new global.CustomEvent(eventName, { detail: emmiter }); | ||
if (window.CustomEvent && typeof window.CustomEvent === 'function') { | ||
event = new window.CustomEvent(eventName, { detail: emmiter }); | ||
} else { | ||
@@ -24,0 +24,0 @@ event = new _CustomEvent(eventName, { bubbles: false, cancelable: false, detail: emmiter }); |
{ | ||
"name": "a11y-dialog", | ||
"version": "2.5.3", | ||
"version": "2.5.4", | ||
"description": "A tiny script to make dialog windows accessible to assistive technology users.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/edenspiekermann/a11y-dialog", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package