events-polyfill
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -14,2 +14,10 @@ (function() { | ||
var testOnEventTypeCallback = function(target, type) { | ||
return (('on' + type) in target); | ||
}; | ||
var testTransitionEventTypeCallback = function(target, type) { | ||
return testOnEventTypeCallback(target, type) || (target.style['transition'] !== void 0); | ||
}; | ||
var prefixes = ['', 'webkit', 'moz', 'ms', 'o']; | ||
@@ -23,10 +31,2 @@ | ||
var testOnEventTypeCallback = function(target, type) { | ||
return (('on' + type) in target); | ||
}; | ||
var testTransitionEventTypeCallback = function(target, type) { | ||
return testOnEventTypeCallback(target, type) || (target.style['transition'] !== void 0); | ||
}; | ||
[ | ||
@@ -33,0 +33,0 @@ 'pointerlockchange', 'pointerlockerror', |
{ | ||
"name": "events-polyfill", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "Polyfill event : EventListener, EventTarget, CustomEvent, MouseEvent, KeyboardEvent", | ||
@@ -5,0 +5,0 @@ "main": "event-constructor-polyfill.js", |
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