mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
some tweaking, notes and docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e44d2573cc
commit
5203db794d
@ -2258,6 +2258,7 @@ var FileSystemWriterActions = actions.Actions({
|
|||||||
logger && logger.emit('queued', to)
|
logger && logger.emit('queued', to)
|
||||||
|
|
||||||
var res = include_virtual
|
var res = include_virtual
|
||||||
|
&& !img.do_not_export
|
||||||
&& !fse.existsSync(to)
|
&& !fse.existsSync(to)
|
||||||
&& outputFile(to, img.text || '')
|
&& outputFile(to, img.text || '')
|
||||||
|
|
||||||
|
|||||||
@ -19,12 +19,27 @@ var browse = require('lib/widget/browse')
|
|||||||
|
|
||||||
|
|
||||||
/*********************************************************************/
|
/*********************************************************************/
|
||||||
|
//
|
||||||
|
// Virtual Block Format (Image):
|
||||||
|
// {
|
||||||
|
// // block type...
|
||||||
|
// type: 'virtual',
|
||||||
|
//
|
||||||
|
// // Block text (optional)...
|
||||||
|
// text: <String>,
|
||||||
|
//
|
||||||
|
// // if true this block will not be exported...
|
||||||
|
// do_not_export: <bool>,
|
||||||
|
//
|
||||||
|
// // optional image attributes...
|
||||||
|
// // for more info see: imagegrid/images.js
|
||||||
|
// ...
|
||||||
|
// }
|
||||||
|
//
|
||||||
// XXX should these be sortable and how???
|
// XXX should these be sortable and how???
|
||||||
// ...relative placement (i.e. "before <GID>")???
|
// ...relative placement (i.e. "before <GID>")???
|
||||||
// XXX should these be importable from fs???
|
// XXX should the export mechanism be extensible???
|
||||||
// i.e. exported as json to <title>.virt and imported back...
|
// ...i.e. some way to identify the block and get it's ext and file content...
|
||||||
// ...might be a good idea to add custom import/export handlers...
|
|
||||||
//
|
//
|
||||||
var VirtualBlocksActions = actions.Actions({
|
var VirtualBlocksActions = actions.Actions({
|
||||||
// construction of new "virtual images"...
|
// construction of new "virtual images"...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user