mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
587d1932ac
commit
cf412acff2
@ -1227,6 +1227,7 @@ function(title, options){
|
||||
: 'off' } }))) }
|
||||
|
||||
|
||||
// XXX doc!!!
|
||||
// XXX revise...
|
||||
browse.items.batch =
|
||||
function(spec, callback){
|
||||
@ -1256,7 +1257,6 @@ function(spec, callback){
|
||||
// event getting triggered multiple times...
|
||||
// ...change to .close(..) when fixed...
|
||||
.one('close', cb = function(mode){
|
||||
// XXX get the field data and pass it to the callback...
|
||||
callback(
|
||||
// get the field-value pairs...
|
||||
spec.reduce(function(res, e){
|
||||
@ -1272,7 +1272,6 @@ function(spec, callback){
|
||||
// but passing it here is cleaner than forcing
|
||||
// the user to get it via closure...
|
||||
spec,
|
||||
// XXX is this the right spot for this???
|
||||
mode) })
|
||||
// reset the callback on update...
|
||||
.one('update', function(){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user