Comparing version 0.0.7 to 0.0.8
@@ -111,3 +111,3 @@ function Event(event, params) { | ||
event.split(' ').forEach(function (type) { | ||
if (type === 'scroll' && passiveIfSupported) { | ||
if (passiveIfSupported) { | ||
el.addEventListener(type, function (e) { | ||
@@ -114,0 +114,0 @@ return attachment(e); |
{ | ||
"name": "meteora", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "A library of common javascript functions to make life easier.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -41,3 +41,3 @@ function attach(el, event, func, userdelay) { | ||
event.split(' ').forEach((type) => { | ||
if (type === 'scroll' && passiveIfSupported) { | ||
if (passiveIfSupported) { | ||
el.addEventListener(type, (e) => attachment(e), passiveIfSupported); | ||
@@ -44,0 +44,0 @@ }else { |
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
20181