bianco.dom-to-array
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -12,3 +12,4 @@ 'use strict'; | ||
// is it a node list? | ||
if (els.length) | ||
// watch out window.length exists and must be filtered | ||
if (els !== window && els.length) | ||
return Array.from(els) | ||
@@ -15,0 +16,0 @@ else |
@@ -10,3 +10,4 @@ /** | ||
// is it a node list? | ||
if (els.length) | ||
// watch out window.length exists and must be filtered | ||
if (els !== window && els.length) | ||
return Array.from(els) | ||
@@ -13,0 +14,0 @@ else |
{ | ||
"name": "bianco.dom-to-array", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Converts any DOM node/s to a loopable array", | ||
@@ -5,0 +5,0 @@ "main": "index.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
5125
40