mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
68fd915a84
commit
8553ca8594
@ -3187,6 +3187,7 @@ var BaseBrowserPrototype = {
|
||||
// - from/to/around/count support...
|
||||
// - ability to render separate items/sub-trees or lists of items...
|
||||
// ...pass the list to .walk(..), i.e. .walk(list/query, ...)
|
||||
// XXX revise how options are passed down the inlined/nested browsers...
|
||||
// XXX doc...
|
||||
render: function(options, renderer){
|
||||
var that = this
|
||||
@ -3294,6 +3295,8 @@ var BaseBrowserPrototype = {
|
||||
(l = (e.children instanceof BaseBrowser ?
|
||||
e.children
|
||||
: e)
|
||||
// XXX we for some reason lose part
|
||||
// of the options here...
|
||||
.render(options, render, i+1, p))
|
||||
: children(true) }
|
||||
|
||||
@ -4266,7 +4269,7 @@ module.HTMLRenderer = {
|
||||
: this.split(/\s+/g) }))
|
||||
// special classes...
|
||||
.concat(
|
||||
(options.shorthandItemClasses || {})
|
||||
(options.shorthandItemClasses || [])
|
||||
.filter(function(cls){
|
||||
return !!item[cls] })))
|
||||
|
||||
@ -5425,7 +5428,7 @@ var HTMLBrowserPrototype = {
|
||||
: this.split(/\s+/g) }))
|
||||
// special classes...
|
||||
.concat(
|
||||
(options.shorthandItemClasses || {})
|
||||
(options.shorthandItemClasses || [])
|
||||
.filter(function(cls){
|
||||
return !!item[cls] })))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user