Skip to content

Commit

Permalink
chore(*): prepare release 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcScheib committed May 16, 2017
1 parent 58c647a commit 3049d78
Show file tree
Hide file tree
Showing 10 changed files with 19 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-notify",
"version": "0.8.0",
"version": "0.8.1",
"description": "A notification plugin for Aurelia.",
"keywords": [
"aurelia",
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/notification-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ define(['exports', './lifecycle'], function (exports, _lifecycle) {
clearTimeout(this.timer);
return this.closePromise = (0, _lifecycle.invokeLifecycle)(this.viewModel, 'canDeactivate').then(function (canDeactivate) {
if (canDeactivate) {
(0, _lifecycle.invokeLifecycle)(_this.viewModel, 'deactivate').then(function () {
return (0, _lifecycle.invokeLifecycle)(_this.viewModel, 'deactivate').then(function () {
return _this.renderer.hideNotification(_this);
}).then(function () {
return _this.renderer.destroyNotificationHost(_this);
Expand Down
2 changes: 1 addition & 1 deletion dist/aurelia-notify.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class NotificationController {
return this.closePromise = invokeLifecycle(this.viewModel, 'canDeactivate')
.then(canDeactivate => {
if (canDeactivate) {
invokeLifecycle(this.viewModel, 'deactivate')
return invokeLifecycle(this.viewModel, 'deactivate')
.then(() => {
return this.renderer.hideNotification(this);
})
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/notification-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var NotificationController = exports.NotificationController = function () {
clearTimeout(this.timer);
return this.closePromise = (0, _lifecycle.invokeLifecycle)(this.viewModel, 'canDeactivate').then(function (canDeactivate) {
if (canDeactivate) {
(0, _lifecycle.invokeLifecycle)(_this.viewModel, 'deactivate').then(function () {
return (0, _lifecycle.invokeLifecycle)(_this.viewModel, 'deactivate').then(function () {
return _this.renderer.hideNotification(_this);
}).then(function () {
return _this.renderer.destroyNotificationHost(_this);
Expand Down
2 changes: 1 addition & 1 deletion dist/es2015/notification-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export let NotificationController = class NotificationController {
clearTimeout(this.timer);
return this.closePromise = invokeLifecycle(this.viewModel, 'canDeactivate').then(canDeactivate => {
if (canDeactivate) {
invokeLifecycle(this.viewModel, 'deactivate').then(() => {
return invokeLifecycle(this.viewModel, 'deactivate').then(() => {
return this.renderer.hideNotification(this);
}).then(() => {
return this.renderer.destroyNotificationHost(this);
Expand Down
2 changes: 1 addition & 1 deletion dist/native-modules/notification-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var NotificationController = exports.NotificationController = function () {
clearTimeout(this.timer);
return this.closePromise = (0, _lifecycle.invokeLifecycle)(this.viewModel, 'canDeactivate').then(function (canDeactivate) {
if (canDeactivate) {
(0, _lifecycle.invokeLifecycle)(_this.viewModel, 'deactivate').then(function () {
return (0, _lifecycle.invokeLifecycle)(_this.viewModel, 'deactivate').then(function () {
return _this.renderer.hideNotification(_this);
}).then(function () {
return _this.renderer.destroyNotificationHost(_this);
Expand Down
2 changes: 1 addition & 1 deletion dist/system/notification-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ System.register(['./lifecycle'], function (_export, _context) {
clearTimeout(this.timer);
return this.closePromise = invokeLifecycle(this.viewModel, 'canDeactivate').then(function (canDeactivate) {
if (canDeactivate) {
invokeLifecycle(_this.viewModel, 'deactivate').then(function () {
return invokeLifecycle(_this.viewModel, 'deactivate').then(function () {
return _this.renderer.hideNotification(_this);
}).then(function () {
return _this.renderer.destroyNotificationHost(_this);
Expand Down
2 changes: 1 addition & 1 deletion dist/temp/aurelia-notify.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var NotificationController = exports.NotificationController = function () {
clearTimeout(this.timer);
return this.closePromise = invokeLifecycle(this.viewModel, 'canDeactivate').then(function (canDeactivate) {
if (canDeactivate) {
invokeLifecycle(_this.viewModel, 'deactivate').then(function () {
return invokeLifecycle(_this.viewModel, 'deactivate').then(function () {
return _this.renderer.hideNotification(_this);
}).then(function () {
return _this.renderer.destroyNotificationHost(_this);
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="0.8.1"></a>
## [0.8.1](https://github.com/MarcScheib/aurelia-notify/compare/0.8.0...0.8.1) (2017-05-16)


### Bug Fixes

* **controller:** return deactivation lifecycle promise ([58c647a](https://github.com/MarcScheib/aurelia-notify/commit/58c647a))



<a name="0.8.0"></a>
# [0.8.0](https://github.com/MarcScheib/aurelia-notify/compare/0.7.1...0.8.0) (2017-05-15)

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-notify",
"version": "0.8.0",
"version": "0.8.1",
"description": "A notification plugin for Aurelia.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 3049d78

Please sign in to comment.