some minor changes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2014-06-14 04:38:49 +04:00
parent 5c07ddc11a
commit b2d39f9615

View File

@ -1226,6 +1226,7 @@ var DataPrototype = {
// //
// NOTE: this may result in empty ribbons... // NOTE: this may result in empty ribbons...
// //
// XXX sync ribbon order???
// XXX should we be able to align a merged crop??? // XXX should we be able to align a merged crop???
// XXX test // XXX test
mergeCrop: function(crop){ mergeCrop: function(crop){
@ -1256,6 +1257,7 @@ var DataPrototype = {
// Create a sortable ribbon representation... // Create a sortable ribbon representation...
// //
// .cropRibbons()
// .cropRibbons(mode) // .cropRibbons(mode)
// -> Data // -> Data
// //
@ -1263,7 +1265,9 @@ var DataPrototype = {
// 'current' - the closest to current image (default) // 'current' - the closest to current image (default)
// 'first' - first image in ribbon // 'first' - first image in ribbon
// 'last' - last ribbon in image // 'last' - last ribbon in image
// <function> - a function that will get an image gid // func(ribbon) -> gid
// - a function that will get a ribbon gid and return
// an apropriate image gid
// //
// NOTE: the images used with a given string mode are the same as // NOTE: the images used with a given string mode are the same as
// the returned via .getImage(mode, ribbon) // the returned via .getImage(mode, ribbon)
@ -1329,6 +1333,7 @@ var DataPrototype = {
return this return this
}, },
// Clone/copy the data object... // Clone/copy the data object...
// //
clone: function(){ clone: function(){