mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
really odd "error"...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e3b634817f
commit
00e36efce2
@ -446,6 +446,10 @@ var CLIActions = actions.Actions({
|
|||||||
for(var p of paths){
|
for(var p of paths){
|
||||||
console.log(p) } }) }],
|
console.log(p) } }) }],
|
||||||
|
|
||||||
|
// XXX check if index exists:
|
||||||
|
// yes: warn + stup
|
||||||
|
// no: create
|
||||||
|
// ...add -f/-force flag...
|
||||||
// XXX metadata caching and preview creation are not in sync, can
|
// XXX metadata caching and preview creation are not in sync, can
|
||||||
// this be a problem???
|
// this be a problem???
|
||||||
// ...if not, add a note...
|
// ...if not, add a note...
|
||||||
@ -513,13 +517,14 @@ var CLIActions = actions.Actions({
|
|||||||
// it is already running after .loadImages(..)
|
// it is already running after .loadImages(..)
|
||||||
// XXX BUG: for some reason this reports making previews
|
// XXX BUG: for some reason this reports making previews
|
||||||
// but does not actually make them...
|
// but does not actually make them...
|
||||||
// XXX calling .makePreviews(..) from devtools
|
// XXX .makePreviews(..) called from cli reports
|
||||||
// actually creates previews while here it
|
// creating images but does not...
|
||||||
// does nothing...
|
// ...we seem to be reacing .makeResizedImage(..)
|
||||||
// XXX ...we seem to to be reaching .makeResizedImage(...)
|
// but them something odd happens -- nether of
|
||||||
// from .makePreviews(..) from cli...
|
// the .then(..) callbacks is called...
|
||||||
// ...is this a wait issue -- exiting before
|
// ...even weirder, code before the call executes
|
||||||
// promise is done???
|
// while wrapping the call in a console.log(..)
|
||||||
|
// produces nothing, not even a syntax error...
|
||||||
index.makePreviews('all') ])} })
|
index.makePreviews('all') ])} })
|
||||||
.then(function(){
|
.then(function(){
|
||||||
return index
|
return index
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user