Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2014-06-14 04:18:49 +04:00
parent 4a25077aa4
commit 611377f3e3

View File

@ -1281,6 +1281,7 @@ var DataPrototype = {
// The crop can be merged back into the source ribbon via the
// .mergeRibbonCrop(..) method.
//
// XXX should there be a way to set the base ribbon???
// XXX do these belong here???
cropRibbons: function(mode){
mode = mode == null ? 'current' : mode
@ -1309,6 +1310,8 @@ var DataPrototype = {
// the .ribbon_order of this.
//
// NOTE: see .cropRibbons(..) for more details...
//
// XXX should there be a way to set the base ribbon???
mergeRibbonCrop: function(crop){
var that = this
this.ribbon_order = crop.order.map(function(e){