Comparing version 1.0.1 to 1.1.0
@@ -14,2 +14,6 @@ import addClass from './lib/addClass'; | ||
import matches from './lib/matches'; | ||
import toggleClass from './lib/toggleClass'; | ||
import closest from './lib/closest'; | ||
import ready from './lib/ready'; | ||
import toArray from './lib/toArray'; | ||
@@ -29,3 +33,7 @@ export default { | ||
show, | ||
matches | ||
matches, | ||
toggleClass, | ||
closest, | ||
ready, | ||
toArray | ||
}; |
@@ -14,2 +14,6 @@ export { default as addClass } from './lib/addClass'; | ||
export { default as matches } from './lib/matches'; | ||
export { default as toggleClass } from './lib/toggleClass'; | ||
export { default as closest } from './lib/closest'; | ||
export { default as ready } from './lib/ready'; | ||
export { default as toArray } from './lib/toArray'; | ||
export { default } from './domassist.default'; |
@@ -21,3 +21,3 @@ function matches(el, selector) { | ||
if (match) { | ||
return match.call(el, selector); | ||
return (el) ? match.call(el, selector) : null; | ||
} | ||
@@ -24,0 +24,0 @@ } |
{ | ||
"name": "domassist", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Various dom helpers", | ||
@@ -5,0 +5,0 @@ "main": "domassist.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
8560
26
210