guy 7 years ago
parent
commit
91d5662aa1
  1. 4
      dist/bundle.js
  2. 2
      dist/bundle.min.js
  3. 4
      dist/case.js
  4. 4
      dist/fineui.js
  5. 2
      dist/fineui.min.js
  6. 4
      src/case/loader/loader.lazy.js

4
dist/bundle.js vendored

@ -79051,8 +79051,8 @@ BI.LazyLoader = BI.inherit(BI.Widget, {
_getNextItems: function (options) { _getNextItems: function (options) {
var self = this, o = this.options; var self = this, o = this.options;
var lastNum = o.items.length - this._const.PAGE * (options.times - 1); var lastNum = o.items.length - this._const.PAGE * (options.times - 1);
var lastItems = BI.take(o.items, lastNum); var lastItems = BI.takeRight(o.items, lastNum);
var nextItems = BI.takeRight(lastItems, this._const.PAGE); var nextItems = BI.take(lastItems, this._const.PAGE);
return nextItems; return nextItems;
}, },

2
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

4
dist/case.js vendored

@ -8674,8 +8674,8 @@ BI.LazyLoader = BI.inherit(BI.Widget, {
_getNextItems: function (options) { _getNextItems: function (options) {
var self = this, o = this.options; var self = this, o = this.options;
var lastNum = o.items.length - this._const.PAGE * (options.times - 1); var lastNum = o.items.length - this._const.PAGE * (options.times - 1);
var lastItems = BI.take(o.items, lastNum); var lastItems = BI.takeRight(o.items, lastNum);
var nextItems = BI.takeRight(lastItems, this._const.PAGE); var nextItems = BI.take(lastItems, this._const.PAGE);
return nextItems; return nextItems;
}, },

4
dist/fineui.js vendored

@ -80857,8 +80857,8 @@ BI.LazyLoader = BI.inherit(BI.Widget, {
_getNextItems: function (options) { _getNextItems: function (options) {
var self = this, o = this.options; var self = this, o = this.options;
var lastNum = o.items.length - this._const.PAGE * (options.times - 1); var lastNum = o.items.length - this._const.PAGE * (options.times - 1);
var lastItems = BI.take(o.items, lastNum); var lastItems = BI.takeRight(o.items, lastNum);
var nextItems = BI.takeRight(lastItems, this._const.PAGE); var nextItems = BI.take(lastItems, this._const.PAGE);
return nextItems; return nextItems;
}, },

2
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

4
src/case/loader/loader.lazy.js

@ -37,8 +37,8 @@ BI.LazyLoader = BI.inherit(BI.Widget, {
_getNextItems: function (options) { _getNextItems: function (options) {
var self = this, o = this.options; var self = this, o = this.options;
var lastNum = o.items.length - this._const.PAGE * (options.times - 1); var lastNum = o.items.length - this._const.PAGE * (options.times - 1);
var lastItems = BI.take(o.items, lastNum); var lastItems = BI.takeRight(o.items, lastNum);
var nextItems = BI.takeRight(lastItems, this._const.PAGE); var nextItems = BI.take(lastItems, this._const.PAGE);
return nextItems; return nextItems;
}, },

Loading…
Cancel
Save