mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a26ba942cf
commit
5b7bbe1faf
@ -1390,13 +1390,16 @@ var BaseBrowserPrototype = {
|
||||
recursion.call(that, func, i, p, list, opts || options)
|
||||
: list[recursion || 'walk'](func, i, p, opts || options))
|
||||
.run(function(){
|
||||
i += this.length-1 })}
|
||||
console.log('---', i, this)
|
||||
// XXX BUG: here we add up the sum of total level lengths...
|
||||
// ...i.e. for [a, b, [c, d]] this will be 2 + 4
|
||||
// and not 2 + 2...
|
||||
i += this.length })}
|
||||
|
||||
return (
|
||||
// inline browser or array...
|
||||
(elem instanceof Array
|
||||
|| elem instanceof Browser) ?
|
||||
// XXX need to decrement i here...
|
||||
func.call(that,
|
||||
i, p = path,
|
||||
null, nested,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user