|
|
@ -30,7 +30,7 @@ BI.LogicFactory = { |
|
|
|
case BI.LogicFactory.Type.HorizontalFill: |
|
|
|
case BI.LogicFactory.Type.HorizontalFill: |
|
|
|
logic = BI.HorizontalFillLayoutLogic; |
|
|
|
logic = BI.HorizontalFillLayoutLogic; |
|
|
|
break; |
|
|
|
break; |
|
|
|
default : |
|
|
|
default: |
|
|
|
logic = BI.Logic; |
|
|
|
logic = BI.Logic; |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
@ -52,7 +52,6 @@ BI.LogicFactory = { |
|
|
|
createLogicItemsByDirection: function (direction) { |
|
|
|
createLogicItemsByDirection: function (direction) { |
|
|
|
var layout; |
|
|
|
var layout; |
|
|
|
var items = Array.prototype.slice.call(arguments, 1); |
|
|
|
var items = Array.prototype.slice.call(arguments, 1); |
|
|
|
items = BI.compact(items); |
|
|
|
|
|
|
|
items = BI.map(items, function (i, item) { |
|
|
|
items = BI.map(items, function (i, item) { |
|
|
|
if (BI.isWidget(item)) { |
|
|
|
if (BI.isWidget(item)) { |
|
|
|
return { |
|
|
|
return { |
|
|
|