Browse Source

整理代码

es6
guy 3 years ago
parent
commit
1bc5c90ad1
  1. 2
      src/core/wrapper/layout/float/float.absolute.leftrightvertical.js
  2. 2
      src/core/wrapper/layout/float/float.absolute.vertical.js

2
src/core/wrapper/layout/float/float.absolute.leftrightvertical.js

@ -179,7 +179,7 @@ BI.FloatAbsoluteRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
},
populate: function (items) {
this.layout.populate(items);
this.layout.populate([{}].concat(this._formatItems(items)));
}
});
BI.shortcut("bi.absolute_right_vertical_float", BI.FloatAbsoluteRightVerticalAdaptLayout);

2
src/core/wrapper/layout/float/float.absolute.vertical.js

@ -65,7 +65,7 @@ BI.FloatAbsoluteVerticalLayout = BI.inherit(BI.Layout, {
},
populate: function (items) {
this.layout.populate.apply(this, arguments);
this.layout.populate(this._formatItems(items));
}
});
BI.shortcut("bi.absolute_vertical_float", BI.FloatAbsoluteVerticalLayout);

Loading…
Cancel
Save