Browse Source

整理整理代码

es6
guy 4 years ago
parent
commit
8f5e1a51a5
  1. 2
      src/core/wrapper/layout/adapt/float.horizontal.js
  2. 2
      src/core/wrapper/layout/layout.horizontal.js

2
src/core/wrapper/layout/adapt/float.horizontal.js

@ -1,5 +1,5 @@
/** /**
* 浮动的水平居中布局 * 浮动的水平居中布局
*/ */
BI.FloatHorizontalLayout = BI.Layout; BI.FloatHorizontalLayout = BI.inherit(BI.Layout);
BI.shortcut("bi.horizontal_float", BI.FloatHorizontalLayout); BI.shortcut("bi.horizontal_float", BI.FloatHorizontalLayout);

2
src/core/wrapper/layout/layout.horizontal.js

@ -3,5 +3,5 @@
* @class BI.HorizontalLayout * @class BI.HorizontalLayout
* @extends BI.Layout * @extends BI.Layout
*/ */
BI.HorizontalLayout = BI.Layout; BI.HorizontalLayout = BI.inherit(BI.Layout);
BI.shortcut("bi.horizontal", BI.HorizontalLayout); BI.shortcut("bi.horizontal", BI.HorizontalLayout);

Loading…
Cancel
Save