Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-06-05 02:10:42 +03:00
parent aedff17ef0
commit d58df1d2dc

View File

@ -144,6 +144,9 @@ var FileSystemLoaderActions = actions.Actions({
// Load index... // Load index...
// //
// .loadIndex(path)
// -> promise
//
// This maintains: // This maintains:
// .location.loaded - list of loaded URLs... // .location.loaded - list of loaded URLs...
// //
@ -418,6 +421,11 @@ var FileSystemLoaderActions = actions.Actions({
// Load images... // Load images...
// //
// .loadImages(path)
// -> promise
//
// NOTE: if path is not given this will do nothing.
//
// XXX use the logger... // XXX use the logger...
// XXX add a recursive option... // XXX add a recursive option...
// ...might also be nice to add sub-dirs to ribbons... // ...might also be nice to add sub-dirs to ribbons...
@ -457,9 +465,19 @@ var FileSystemLoaderActions = actions.Actions({
// Load new images... // Load new images...
// //
// Load new images from current path...
// .loadNewImages()
// -> promise
//
// Load new images from path...
// .loadNewImages(path)
// -> promise
//
// This will prepend images in path (default .location.path) that // This will prepend images in path (default .location.path) that
// were not loaded in index... // were not loaded in index...
// //
// NOTE: this will not load images that are already loaded.
//
// XXX revise logger... // XXX revise logger...
// XXX revise alignment... // XXX revise alignment...
loadNewImages: ['File/Load new images', loadNewImages: ['File/Load new images',