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)
|
||||
|
||||
var res = include_virtual
|
||||
&& !img.do_not_export
|
||||
&& !fse.existsSync(to)
|
||||
&& 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???
|
||||
// ...relative placement (i.e. "before <GID>")???
|
||||
// XXX should these be importable from fs???
|
||||
// i.e. exported as json to <title>.virt and imported back...
|
||||
// ...might be a good idea to add custom import/export handlers...
|
||||
// XXX should the export mechanism be extensible???
|
||||
// ...i.e. some way to identify the block and get it's ext and file content...
|
||||
//
|
||||
var VirtualBlocksActions = actions.Actions({
|
||||
// construction of new "virtual images"...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user