Comparing version 0.4.12 to 0.4.13
@@ -43,4 +43,4 @@ ;(function() { | ||
this.dom = Array.prototype.slice.call(this.dom); | ||
}else{ | ||
this.dom = ((el instanceof Element) || el === window) ? [el] : []; | ||
}else if(el) { | ||
this.dom = ((el instanceof Node) || el === window) ? [el] : []; | ||
} | ||
@@ -47,0 +47,0 @@ } |
{ | ||
"name": "air", | ||
"description": "Lightweight, modular DOM library", | ||
"version": "0.4.12", | ||
"version": "0.4.13", | ||
"author": "muji <noop@xpm.io>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
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
49060