found bug...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
277a78dc4f
commit
375d80d719
@ -599,6 +599,8 @@ var Gallery = {
|
|||||||
// | [ <url>, <caption>, .. ]
|
// | [ <url>, <caption>, .. ]
|
||||||
// | { url: <url>, caption: <caption>, .. }
|
// | { url: <url>, caption: <caption>, .. }
|
||||||
//
|
//
|
||||||
|
// XXX BUG: for some reason this breaks the gallery:
|
||||||
|
// gallery.load(gallery.json('marked'))
|
||||||
// XXX do we handle previews here???
|
// XXX do we handle previews here???
|
||||||
load: function(images, index=undefined){
|
load: function(images, index=undefined){
|
||||||
images = images instanceof Array ?
|
images = images instanceof Array ?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user