Skip to content

Commit

Permalink
chore(all): prepare release 1.0.0-beta.1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jul 6, 2016
1 parent d7883ce commit bbcf31b
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 16 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.1.0.0",
"version": "1.0.0-beta.1.0.1",
"description": "A plugin that provides a virtualized repeater and other virtualization services.",
"keywords": [
"aurelia",
Expand Down
6 changes: 4 additions & 2 deletions dist/amd/template-strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@ define(['exports', 'aurelia-pal', 'aurelia-templating', './utilities'], function
};

TableStrategy.prototype.moveViewFirst = function moveViewFirst(view, topBuffer) {
(0, _utilities.insertBeforeNode)(view, _aureliaPal.DOM.nextElementSibling(topBuffer.parentNode).previousSibling);
(0, _utilities.insertBeforeNode)(view, _aureliaPal.DOM.nextElementSibling(topBuffer.parentNode));
};

TableStrategy.prototype.moveViewLast = function moveViewLast(view, bottomBuffer) {
(0, _utilities.insertBeforeNode)(view, bottomBuffer.parentNode);
var previousSibling = bottomBuffer.parentNode.previousSibling;
var referenceNode = previousSibling.nodeType === 8 && previousSibling.data === 'anchor' ? previousSibling : bottomBuffer.parentNode;
(0, _utilities.insertBeforeNode)(view, referenceNode);
};

TableStrategy.prototype.createTopBufferElement = function createTopBufferElement(element) {
Expand Down
6 changes: 4 additions & 2 deletions dist/aurelia-ui-virtualization.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,11 +393,13 @@ export class TableStrategy {
}

moveViewFirst(view: View, topBuffer: Element): void {
insertBeforeNode(view, DOM.nextElementSibling(topBuffer.parentNode).previousSibling);
insertBeforeNode(view, DOM.nextElementSibling(topBuffer.parentNode));
}

moveViewLast(view: View, bottomBuffer: Element): void {
insertBeforeNode(view, bottomBuffer.parentNode);
let previousSibling = bottomBuffer.parentNode.previousSibling;
let referenceNode = previousSibling.nodeType === 8 && previousSibling.data === 'anchor' ? previousSibling : bottomBuffer.parentNode;
insertBeforeNode(view, referenceNode);
}

createTopBufferElement(element: Element): Element {
Expand Down
6 changes: 4 additions & 2 deletions dist/commonjs/template-strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ var TableStrategy = exports.TableStrategy = function () {
};

TableStrategy.prototype.moveViewFirst = function moveViewFirst(view, topBuffer) {
(0, _utilities.insertBeforeNode)(view, _aureliaPal.DOM.nextElementSibling(topBuffer.parentNode).previousSibling);
(0, _utilities.insertBeforeNode)(view, _aureliaPal.DOM.nextElementSibling(topBuffer.parentNode));
};

TableStrategy.prototype.moveViewLast = function moveViewLast(view, bottomBuffer) {
(0, _utilities.insertBeforeNode)(view, bottomBuffer.parentNode);
var previousSibling = bottomBuffer.parentNode.previousSibling;
var referenceNode = previousSibling.nodeType === 8 && previousSibling.data === 'anchor' ? previousSibling : bottomBuffer.parentNode;
(0, _utilities.insertBeforeNode)(view, referenceNode);
};

TableStrategy.prototype.createTopBufferElement = function createTopBufferElement(element) {
Expand Down
6 changes: 4 additions & 2 deletions dist/es2015/template-strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ export let TableStrategy = class TableStrategy {
}

moveViewFirst(view, topBuffer) {
insertBeforeNode(view, DOM.nextElementSibling(topBuffer.parentNode).previousSibling);
insertBeforeNode(view, DOM.nextElementSibling(topBuffer.parentNode));
}

moveViewLast(view, bottomBuffer) {
insertBeforeNode(view, bottomBuffer.parentNode);
let previousSibling = bottomBuffer.parentNode.previousSibling;
let referenceNode = previousSibling.nodeType === 8 && previousSibling.data === 'anchor' ? previousSibling : bottomBuffer.parentNode;
insertBeforeNode(view, referenceNode);
}

createTopBufferElement(element) {
Expand Down
6 changes: 4 additions & 2 deletions dist/native-modules/template-strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ export var TableStrategy = function () {
};

TableStrategy.prototype.moveViewFirst = function moveViewFirst(view, topBuffer) {
insertBeforeNode(view, DOM.nextElementSibling(topBuffer.parentNode).previousSibling);
insertBeforeNode(view, DOM.nextElementSibling(topBuffer.parentNode));
};

TableStrategy.prototype.moveViewLast = function moveViewLast(view, bottomBuffer) {
insertBeforeNode(view, bottomBuffer.parentNode);
var previousSibling = bottomBuffer.parentNode.previousSibling;
var referenceNode = previousSibling.nodeType === 8 && previousSibling.data === 'anchor' ? previousSibling : bottomBuffer.parentNode;
insertBeforeNode(view, referenceNode);
};

TableStrategy.prototype.createTopBufferElement = function createTopBufferElement(element) {
Expand Down
6 changes: 4 additions & 2 deletions dist/system/template-strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,13 @@ System.register(['aurelia-pal', 'aurelia-templating', './utilities'], function (
};

TableStrategy.prototype.moveViewFirst = function moveViewFirst(view, topBuffer) {
insertBeforeNode(view, DOM.nextElementSibling(topBuffer.parentNode).previousSibling);
insertBeforeNode(view, DOM.nextElementSibling(topBuffer.parentNode));
};

TableStrategy.prototype.moveViewLast = function moveViewLast(view, bottomBuffer) {
insertBeforeNode(view, bottomBuffer.parentNode);
var previousSibling = bottomBuffer.parentNode.previousSibling;
var referenceNode = previousSibling.nodeType === 8 && previousSibling.data === 'anchor' ? previousSibling : bottomBuffer.parentNode;
insertBeforeNode(view, referenceNode);
};

TableStrategy.prototype.createTopBufferElement = function createTopBufferElement(element) {
Expand Down
6 changes: 4 additions & 2 deletions dist/temp/aurelia-ui-virtualization.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,11 +465,13 @@ var TableStrategy = exports.TableStrategy = function () {
};

TableStrategy.prototype.moveViewFirst = function moveViewFirst(view, topBuffer) {
insertBeforeNode(view, _aureliaPal.DOM.nextElementSibling(topBuffer.parentNode).previousSibling);
insertBeforeNode(view, _aureliaPal.DOM.nextElementSibling(topBuffer.parentNode));
};

TableStrategy.prototype.moveViewLast = function moveViewLast(view, bottomBuffer) {
insertBeforeNode(view, bottomBuffer.parentNode);
var previousSibling = bottomBuffer.parentNode.previousSibling;
var referenceNode = previousSibling.nodeType === 8 && previousSibling.data === 'anchor' ? previousSibling : bottomBuffer.parentNode;
insertBeforeNode(view, referenceNode);
};

TableStrategy.prototype.createTopBufferElement = function createTopBufferElement(element) {
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.1.0.1"></a>
# [1.0.0-beta.1.0.1](https://github.com/aurelia/ui-virtualization/compare/1.0.0-beta.1.0.0...v1.0.0-beta.1.0.1) (2016-07-06)


### Bug Fixes

* **template-strategy:** move views correctly ([5b5e6e6](https://github.com/aurelia/ui-virtualization/commit/5b5e6e6)), closes [#68](https://github.com/aurelia/ui-virtualization/issues/68)



<a name="1.0.0-beta.1.0.0"></a>
# [1.0.0-beta.1.0.0](https://github.com/aurelia/ui-virtualization/compare/0.5.2...v1.0.0-beta.1.0.0) (2016-06-22)

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

0 comments on commit bbcf31b

Please sign in to comment.