Skip to content

Commit

Permalink
Redo dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Martin committed Dec 19, 2014
1 parent 280aacc commit 01e5b2e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dist/z.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Released under the MIT license
* https://github.com/NEURS/z.js/blob/master/LICENSE
*
* Date: 2014-12-19T15:33Z
* Date: 2014-12-19T17:13Z
*/
;(function (window, document) {

Expand Down Expand Up @@ -855,7 +855,7 @@ function _eachNew(fn) {
ret = fn.apply(this[i], arguments);

if (ret) {
if (Array.isArray(ret) && ret.length) {
if (Array.isArray(ret) && ret.length || ret instanceof HTMLCollection) {
arr.push.apply(arr, ret);
} else {
arr.push(ret);
Expand Down
Loading

0 comments on commit 01e5b2e

Please sign in to comment.