mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
minor tweaks and notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e5556fb34b
commit
9e79b6a0b1
@ -666,7 +666,7 @@ var BaseBrowserPrototype = {
|
||||
// normalize list...
|
||||
list = list === true ?
|
||||
sublist
|
||||
:(!iterateCollapsed && elem.collapsed) ?
|
||||
: (!iterateCollapsed && elem.collapsed) ?
|
||||
[]
|
||||
: (list || sublist)
|
||||
// adjust index...
|
||||
@ -676,7 +676,7 @@ var BaseBrowserPrototype = {
|
||||
// request manual iteration...
|
||||
list === false ?
|
||||
[]
|
||||
:list instanceof Array ?
|
||||
: list instanceof Array ?
|
||||
walk(i, p, list)
|
||||
// user-defined recursion...
|
||||
: recursion instanceof Function ?
|
||||
@ -720,6 +720,8 @@ var BaseBrowserPrototype = {
|
||||
: [])
|
||||
// append the actual element...
|
||||
.concat(
|
||||
// NOTE: func MUST return an array...
|
||||
// XXX can we make this more lenient???
|
||||
func.call(that,
|
||||
// NOTE: for inline elements we do not need to
|
||||
// count the header...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user