more ideas, still thinking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2014-12-12 03:56:58 +03:00
parent de768104b5
commit 5698b5b959

View File

@ -34,6 +34,19 @@ var INDEX_DIR = '.ImageGrid'
// - join indexes
// - take care of different base paths in images
//
// Might also be a nice idea to generic import:
// - get all .ImageGrid/*.json
// - group by ([a-z]*).* — pattern with keyword
// - sort by name, descending
// - split at first non-diff
// - merge diff's in reverse tail to head
//
// And output to format:
// {
// <keyword>: <data>,
// ...
// }
//
function listIndexes(base){
return glob(base +'/**/'+ INDEX_DIR)