Skip to content

Commit

Permalink
chore(all): prepare release 1.0.0-beta.3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Dec 20, 2017
1 parent f70397d commit c861827
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 18 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.2",
"version": "1.0.0-beta.3.2.0",
"description": "A plugin that provides a virtualized repeater and other virtualization services.",
"keywords": [
"aurelia",
Expand Down
4 changes: 2 additions & 2 deletions dist/amd/aurelia-ui-virtualization.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(['exports', './virtual-repeat', './infinite-scroll-next'], function (exports, _virtualRepeat, _infiniteScrollNext) {
define(['exports', 'aurelia-pal', './virtual-repeat', './infinite-scroll-next'], function (exports, _aureliaPal, _virtualRepeat, _infiniteScrollNext) {
'use strict';

Object.defineProperty(exports, "__esModule", {
Expand All @@ -7,7 +7,7 @@ define(['exports', './virtual-repeat', './infinite-scroll-next'], function (expo
exports.InfiniteScrollNext = exports.VirtualRepeat = undefined;
exports.configure = configure;
function configure(config) {
config.globalResources('./virtual-repeat', './infinite-scroll-next');
config.globalResources(_aureliaPal.PLATFORM.moduleName('./virtual-repeat'), _aureliaPal.PLATFORM.moduleName('./infinite-scroll-next'));
}

exports.VirtualRepeat = _virtualRepeat.VirtualRepeat;
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/virtual-repeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-t
VirtualRepeat.prototype.itemsChanged = function itemsChanged() {
this._unsubscribeCollection();

if (!this.scope) {
if (!this.scope || !this._isAttached) {
return;
}
var reducingItems = false;
Expand Down
2 changes: 1 addition & 1 deletion dist/aurelia-ui-virtualization.js
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ export class VirtualRepeat extends AbstractRepeater {
itemsChanged(): void {
this._unsubscribeCollection();
// still bound?
if (!this.scope) {
if (!this.scope || !this._isAttached) {
return;
}
let reducingItems = false;
Expand Down
4 changes: 3 additions & 1 deletion dist/commonjs/aurelia-ui-virtualization.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ Object.defineProperty(exports, "__esModule", {
exports.InfiniteScrollNext = exports.VirtualRepeat = undefined;
exports.configure = configure;

var _aureliaPal = require('aurelia-pal');

var _virtualRepeat = require('./virtual-repeat');

var _infiniteScrollNext = require('./infinite-scroll-next');

function configure(config) {
config.globalResources('./virtual-repeat', './infinite-scroll-next');
config.globalResources(_aureliaPal.PLATFORM.moduleName('./virtual-repeat'), _aureliaPal.PLATFORM.moduleName('./infinite-scroll-next'));
}

exports.VirtualRepeat = _virtualRepeat.VirtualRepeat;
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/virtual-repeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ var VirtualRepeat = exports.VirtualRepeat = (_dec = (0, _aureliaTemplating.custo
VirtualRepeat.prototype.itemsChanged = function itemsChanged() {
this._unsubscribeCollection();

if (!this.scope) {
if (!this.scope || !this._isAttached) {
return;
}
var reducingItems = false;
Expand Down
3 changes: 2 additions & 1 deletion dist/es2015/aurelia-ui-virtualization.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { PLATFORM } from 'aurelia-pal';
import { VirtualRepeat } from './virtual-repeat';
import { InfiniteScrollNext } from './infinite-scroll-next';

export function configure(config) {
config.globalResources('./virtual-repeat', './infinite-scroll-next');
config.globalResources(PLATFORM.moduleName('./virtual-repeat'), PLATFORM.moduleName('./infinite-scroll-next'));
}

export { VirtualRepeat, InfiniteScrollNext };
2 changes: 1 addition & 1 deletion dist/es2015/virtual-repeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export let VirtualRepeat = (_dec = customAttribute('virtual-repeat'), _dec2 = in
itemsChanged() {
this._unsubscribeCollection();

if (!this.scope) {
if (!this.scope || !this._isAttached) {
return;
}
let reducingItems = false;
Expand Down
3 changes: 2 additions & 1 deletion dist/native-modules/aurelia-ui-virtualization.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { PLATFORM } from 'aurelia-pal';
import { VirtualRepeat } from './virtual-repeat';
import { InfiniteScrollNext } from './infinite-scroll-next';

export function configure(config) {
config.globalResources('./virtual-repeat', './infinite-scroll-next');
config.globalResources(PLATFORM.moduleName('./virtual-repeat'), PLATFORM.moduleName('./infinite-scroll-next'));
}

export { VirtualRepeat, InfiniteScrollNext };
2 changes: 1 addition & 1 deletion dist/native-modules/virtual-repeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export var VirtualRepeat = (_dec = customAttribute('virtual-repeat'), _dec2 = in
VirtualRepeat.prototype.itemsChanged = function itemsChanged() {
this._unsubscribeCollection();

if (!this.scope) {
if (!this.scope || !this._isAttached) {
return;
}
var reducingItems = false;
Expand Down
10 changes: 6 additions & 4 deletions dist/system/aurelia-ui-virtualization.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
'use strict';

System.register(['./virtual-repeat', './infinite-scroll-next'], function (_export, _context) {
System.register(['aurelia-pal', './virtual-repeat', './infinite-scroll-next'], function (_export, _context) {
"use strict";

var VirtualRepeat, InfiniteScrollNext;
var PLATFORM, VirtualRepeat, InfiniteScrollNext;
function configure(config) {
config.globalResources('./virtual-repeat', './infinite-scroll-next');
config.globalResources(PLATFORM.moduleName('./virtual-repeat'), PLATFORM.moduleName('./infinite-scroll-next'));
}

_export('configure', configure);

return {
setters: [function (_virtualRepeat) {
setters: [function (_aureliaPal) {
PLATFORM = _aureliaPal.PLATFORM;
}, function (_virtualRepeat) {
VirtualRepeat = _virtualRepeat.VirtualRepeat;
}, function (_infiniteScrollNext) {
InfiniteScrollNext = _infiniteScrollNext.InfiniteScrollNext;
Expand Down
2 changes: 1 addition & 1 deletion dist/system/virtual-repeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ System.register(['aurelia-dependency-injection', 'aurelia-binding', 'aurelia-tem
VirtualRepeat.prototype.itemsChanged = function itemsChanged() {
this._unsubscribeCollection();

if (!this.scope) {
if (!this.scope || !this._isAttached) {
return;
}
var reducingItems = false;
Expand Down
2 changes: 1 addition & 1 deletion dist/temp/aurelia-ui-virtualization.js
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ var VirtualRepeat = exports.VirtualRepeat = (_dec4 = (0, _aureliaTemplating.cust
VirtualRepeat.prototype.itemsChanged = function itemsChanged() {
this._unsubscribeCollection();

if (!this.scope) {
if (!this.scope || !this._isAttached) {
return;
}
var reducingItems = false;
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.2.0"></a>
# [1.0.0-beta.3.2.0](https://github.com/aurelia/ui-virtualization/compare/1.0.0-beta.3.1.2...v1.0.0-beta.3.2.0) (2017-12-20)


### Bug Fixes

* **VirtuaRepeat:** don't calcuate size when not attached ([0f03dff](https://github.com/aurelia/ui-virtualization/commit/0f03dff))



<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)

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.2",
"version": "1.0.0-beta.3.2.0",
"description": "A plugin that provides a virtualized repeater and other virtualization services.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit c861827

Please sign in to comment.