Comparing version 1.3.0 to 1.3.1
@@ -1,5 +0,4 @@ | ||
# v1.3.0 Fire Bug | ||
# v1.3.1 Fire Bug | ||
- Use `fireEvent` and `createEventObject` when their modern counterparts are missing | ||
- Use `setCapture` and `releaseCapture` when modern event handling methods are missing | ||
@@ -6,0 +5,0 @@ # v1.2.0 Flag The Bug |
{ | ||
"name": "crossvent", | ||
"description": "Cross-platform browser event handling", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"homepage": "https://github.com/bevacqua/crossvent", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -17,6 +17,3 @@ 'use strict'; | ||
function addEventHard (el, type, fn, capturing) { | ||
if (capturing) { | ||
el.setCapture(); | ||
} | ||
function addEventHard (el, type, fn) { | ||
return el.attachEvent('on' + type, wrap(el, type, fn)); | ||
@@ -29,6 +26,3 @@ } | ||
function removeEventHard (el, type, fn, capturing) { | ||
if (capturing) { | ||
el.releaseCapture(); | ||
} | ||
function removeEventHard (el, type, fn) { | ||
return el.detachEvent('on' + type, unwrap(el, type, fn)); | ||
@@ -35,0 +29,0 @@ } |
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
18087
269