diff --git a/grid-n-view.js b/grid-n-view.js index c8e8d46..d3910fc 100644 --- a/grid-n-view.js +++ b/grid-n-view.js @@ -599,6 +599,8 @@ var Gallery = { // | [ , , .. ] // | { url: , caption: , .. } // + // XXX BUG: for some reason this breaks the gallery: + // gallery.load(gallery.json('marked')) // XXX do we handle previews here??? load: function(images, index=undefined){ images = images instanceof Array ?