mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
21649b9173
commit
cdce5e9503
@ -2665,10 +2665,14 @@ var BaseBrowserPrototype = {
|
|||||||
return r && typeof(e) != typeof({}) }, true))){
|
return r && typeof(e) != typeof({}) }, true))){
|
||||||
// reverse index...
|
// reverse index...
|
||||||
index = this
|
index = this
|
||||||
.reduce(function(res, e, i, p){
|
.reduce(
|
||||||
res.set(e, [i, p])
|
function(res, e, i, p){
|
||||||
return res
|
res.set(e, [i, p])
|
||||||
}, new Map(), {iterateAll: true})
|
return res },
|
||||||
|
new Map(),
|
||||||
|
Object.assign(
|
||||||
|
Object.flatCopy(options || {}),
|
||||||
|
{iterateAll: true}))
|
||||||
var res
|
var res
|
||||||
var Stop = new Error('Stop iteration')
|
var Stop = new Error('Stop iteration')
|
||||||
try {
|
try {
|
||||||
@ -2687,7 +2691,10 @@ var BaseBrowserPrototype = {
|
|||||||
throw Stop })
|
throw Stop })
|
||||||
: pattern ]
|
: pattern ]
|
||||||
// search...
|
// search...
|
||||||
: that.search(pattern, ...args.slice(1)) })
|
: !(pattern instanceof BaseItem) ?
|
||||||
|
that.search(pattern, ...args.slice(1))
|
||||||
|
// not found...
|
||||||
|
: [] })
|
||||||
.flat()
|
.flat()
|
||||||
.unique()
|
.unique()
|
||||||
} catch(e){
|
} catch(e){
|
||||||
@ -4074,7 +4081,7 @@ var updateElemClass = function(action, cls, handler){
|
|||||||
|
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
// Renderer...
|
// HTML Renderer...
|
||||||
|
|
||||||
// XXX HACK: see .nest(..)
|
// XXX HACK: see .nest(..)
|
||||||
var HTMLRenderer =
|
var HTMLRenderer =
|
||||||
@ -4694,7 +4701,6 @@ var HTMLBrowserPrototype = {
|
|||||||
__item__: HTMLItem,
|
__item__: HTMLItem,
|
||||||
__renderer__: HTMLRenderer,
|
__renderer__: HTMLRenderer,
|
||||||
|
|
||||||
|
|
||||||
options: {
|
options: {
|
||||||
__proto__: BaseBrowser.prototype.options,
|
__proto__: BaseBrowser.prototype.options,
|
||||||
|
|
||||||
@ -5167,7 +5173,7 @@ var HTMLBrowserPrototype = {
|
|||||||
block: 'nearest',
|
block: 'nearest',
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
// set focus...
|
// XXX do we need this???
|
||||||
.focus() },
|
.focus() },
|
||||||
__blur__: function(evt, elem){
|
__blur__: function(evt, elem){
|
||||||
var that = this
|
var that = this
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user