Skip to content

Commit

Permalink
chore(all): prepare release 1.0.0-beta.3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Oct 23, 2017
1 parent 31981a1 commit 68cb7ec
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-ui-virtualization",
"version": "1.0.0-beta.3.1.1",
"version": "1.0.0-beta.3.1.2",
"description": "A plugin that provides a virtualized repeater and other virtualization services.",
"keywords": [
"aurelia",
Expand Down
5 changes: 4 additions & 1 deletion dist/amd/virtual-repeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-t

VirtualRepeat.prototype.bind = function bind(bindingContext, overrideContext) {
this.scope = { bindingContext: bindingContext, overrideContext: overrideContext };
if (this._isAttached) {
this.itemsChanged();
}
};

VirtualRepeat.prototype.call = function call(context, changes) {
Expand Down Expand Up @@ -507,7 +510,7 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-t
VirtualRepeat.prototype._calcInitialHeights = function _calcInitialHeights(itemsLength) {
var _this7 = this;

if (this._viewsLength > 0 && this._itemsLength === itemsLength || itemsLength <= 0) {
if (this._viewsLength > 0 && this._itemsLength === itemsLength || this._viewsLength > 0 && itemsLength < 0) {
return;
}
this._hasCalculatedSizes = true;
Expand Down
5 changes: 4 additions & 1 deletion dist/aurelia-ui-virtualization.js
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,9 @@ export class VirtualRepeat extends AbstractRepeater {

bind(bindingContext, overrideContext): void {
this.scope = { bindingContext, overrideContext };
if (this._isAttached) {
this.itemsChanged();
}
}

call(context, changes): void {
Expand Down Expand Up @@ -974,7 +977,7 @@ export class VirtualRepeat extends AbstractRepeater {
}

_calcInitialHeights(itemsLength: number): void {
if (this._viewsLength > 0 && this._itemsLength === itemsLength || itemsLength <= 0) {
if (this._viewsLength > 0 && this._itemsLength === itemsLength || this._viewsLength > 0 && itemsLength < 0) {
return;
}
this._hasCalculatedSizes = true;
Expand Down
5 changes: 4 additions & 1 deletion dist/commonjs/virtual-repeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ var VirtualRepeat = exports.VirtualRepeat = (_dec = (0, _aureliaTemplating.custo

VirtualRepeat.prototype.bind = function bind(bindingContext, overrideContext) {
this.scope = { bindingContext: bindingContext, overrideContext: overrideContext };
if (this._isAttached) {
this.itemsChanged();
}
};

VirtualRepeat.prototype.call = function call(context, changes) {
Expand Down Expand Up @@ -504,7 +507,7 @@ var VirtualRepeat = exports.VirtualRepeat = (_dec = (0, _aureliaTemplating.custo
VirtualRepeat.prototype._calcInitialHeights = function _calcInitialHeights(itemsLength) {
var _this7 = this;

if (this._viewsLength > 0 && this._itemsLength === itemsLength || itemsLength <= 0) {
if (this._viewsLength > 0 && this._itemsLength === itemsLength || this._viewsLength > 0 && itemsLength < 0) {
return;
}
this._hasCalculatedSizes = true;
Expand Down
5 changes: 4 additions & 1 deletion dist/es2015/virtual-repeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ export let VirtualRepeat = (_dec = customAttribute('virtual-repeat'), _dec2 = in

bind(bindingContext, overrideContext) {
this.scope = { bindingContext, overrideContext };
if (this._isAttached) {
this.itemsChanged();
}
}

call(context, changes) {
Expand Down Expand Up @@ -454,7 +457,7 @@ export let VirtualRepeat = (_dec = customAttribute('virtual-repeat'), _dec2 = in
}

_calcInitialHeights(itemsLength) {
if (this._viewsLength > 0 && this._itemsLength === itemsLength || itemsLength <= 0) {
if (this._viewsLength > 0 && this._itemsLength === itemsLength || this._viewsLength > 0 && itemsLength < 0) {
return;
}
this._hasCalculatedSizes = true;
Expand Down
5 changes: 4 additions & 1 deletion dist/native-modules/virtual-repeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ export var VirtualRepeat = (_dec = customAttribute('virtual-repeat'), _dec2 = in

VirtualRepeat.prototype.bind = function bind(bindingContext, overrideContext) {
this.scope = { bindingContext: bindingContext, overrideContext: overrideContext };
if (this._isAttached) {
this.itemsChanged();
}
};

VirtualRepeat.prototype.call = function call(context, changes) {
Expand Down Expand Up @@ -489,7 +492,7 @@ export var VirtualRepeat = (_dec = customAttribute('virtual-repeat'), _dec2 = in
VirtualRepeat.prototype._calcInitialHeights = function _calcInitialHeights(itemsLength) {
var _this7 = this;

if (this._viewsLength > 0 && this._itemsLength === itemsLength || itemsLength <= 0) {
if (this._viewsLength > 0 && this._itemsLength === itemsLength || this._viewsLength > 0 && itemsLength < 0) {
return;
}
this._hasCalculatedSizes = true;
Expand Down
5 changes: 4 additions & 1 deletion dist/system/virtual-repeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ System.register(['aurelia-dependency-injection', 'aurelia-binding', 'aurelia-tem

VirtualRepeat.prototype.bind = function bind(bindingContext, overrideContext) {
this.scope = { bindingContext: bindingContext, overrideContext: overrideContext };
if (this._isAttached) {
this.itemsChanged();
}
};

VirtualRepeat.prototype.call = function call(context, changes) {
Expand Down Expand Up @@ -539,7 +542,7 @@ System.register(['aurelia-dependency-injection', 'aurelia-binding', 'aurelia-tem
VirtualRepeat.prototype._calcInitialHeights = function _calcInitialHeights(itemsLength) {
var _this7 = this;

if (this._viewsLength > 0 && this._itemsLength === itemsLength || itemsLength <= 0) {
if (this._viewsLength > 0 && this._itemsLength === itemsLength || this._viewsLength > 0 && itemsLength < 0) {
return;
}
this._hasCalculatedSizes = true;
Expand Down
5 changes: 4 additions & 1 deletion dist/temp/aurelia-ui-virtualization.js
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,9 @@ var VirtualRepeat = exports.VirtualRepeat = (_dec4 = (0, _aureliaTemplating.cust

VirtualRepeat.prototype.bind = function bind(bindingContext, overrideContext) {
this.scope = { bindingContext: bindingContext, overrideContext: overrideContext };
if (this._isAttached) {
this.itemsChanged();
}
};

VirtualRepeat.prototype.call = function call(context, changes) {
Expand Down Expand Up @@ -1050,7 +1053,7 @@ var VirtualRepeat = exports.VirtualRepeat = (_dec4 = (0, _aureliaTemplating.cust
VirtualRepeat.prototype._calcInitialHeights = function _calcInitialHeights(itemsLength) {
var _this11 = this;

if (this._viewsLength > 0 && this._itemsLength === itemsLength || itemsLength <= 0) {
if (this._viewsLength > 0 && this._itemsLength === itemsLength || this._viewsLength > 0 && itemsLength < 0) {
return;
}
this._hasCalculatedSizes = true;
Expand Down
10 changes: 10 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="1.0.0-beta.3.1.2"></a>
# [1.0.0-beta.3.1.2](https://github.com/aurelia/ui-virtualization/compare/1.0.0-beta.3.1.1...v1.0.0-beta.3.1.2) (2017-10-23)


### Bug Fixes

* **virtual-repeat:** Changing the items to emty array from scrollable list ([0e0b702](https://github.com/aurelia/ui-virtualization/commit/0e0b702))



<a name="1.0.0-beta.3.1.1"></a>
# [1.0.0-beta.3.1.1](https://github.com/aurelia/ui-virtualization/compare/1.0.0-beta.3.1.0...v1.0.0-beta.3.1.1) (2017-10-02)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-ui-virtualization",
"version": "1.0.0-beta.3.1.1",
"version": "1.0.0-beta.3.1.2",
"description": "A plugin that provides a virtualized repeater and other virtualization services.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 68cb7ec

Please sign in to comment.