Skip to content

Commit 3049d78

Browse files
committed
chore(*): prepare release 0.8.1
1 parent 58c647a commit 3049d78

File tree

10 files changed

+19
-9
lines changed

10 files changed

+19
-9
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aurelia-notify",
3-
"version": "0.8.0",
3+
"version": "0.8.1",
44
"description": "A notification plugin for Aurelia.",
55
"keywords": [
66
"aurelia",

dist/amd/notification-controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ define(['exports', './lifecycle'], function (exports, _lifecycle) {
2525
clearTimeout(this.timer);
2626
return this.closePromise = (0, _lifecycle.invokeLifecycle)(this.viewModel, 'canDeactivate').then(function (canDeactivate) {
2727
if (canDeactivate) {
28-
(0, _lifecycle.invokeLifecycle)(_this.viewModel, 'deactivate').then(function () {
28+
return (0, _lifecycle.invokeLifecycle)(_this.viewModel, 'deactivate').then(function () {
2929
return _this.renderer.hideNotification(_this);
3030
}).then(function () {
3131
return _this.renderer.destroyNotificationHost(_this);

dist/aurelia-notify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class NotificationController {
3939
return this.closePromise = invokeLifecycle(this.viewModel, 'canDeactivate')
4040
.then(canDeactivate => {
4141
if (canDeactivate) {
42-
invokeLifecycle(this.viewModel, 'deactivate')
42+
return invokeLifecycle(this.viewModel, 'deactivate')
4343
.then(() => {
4444
return this.renderer.hideNotification(this);
4545
})

dist/commonjs/notification-controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var NotificationController = exports.NotificationController = function () {
2626
clearTimeout(this.timer);
2727
return this.closePromise = (0, _lifecycle.invokeLifecycle)(this.viewModel, 'canDeactivate').then(function (canDeactivate) {
2828
if (canDeactivate) {
29-
(0, _lifecycle.invokeLifecycle)(_this.viewModel, 'deactivate').then(function () {
29+
return (0, _lifecycle.invokeLifecycle)(_this.viewModel, 'deactivate').then(function () {
3030
return _this.renderer.hideNotification(_this);
3131
}).then(function () {
3232
return _this.renderer.destroyNotificationHost(_this);

dist/es2015/notification-controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export let NotificationController = class NotificationController {
1313
clearTimeout(this.timer);
1414
return this.closePromise = invokeLifecycle(this.viewModel, 'canDeactivate').then(canDeactivate => {
1515
if (canDeactivate) {
16-
invokeLifecycle(this.viewModel, 'deactivate').then(() => {
16+
return invokeLifecycle(this.viewModel, 'deactivate').then(() => {
1717
return this.renderer.hideNotification(this);
1818
}).then(() => {
1919
return this.renderer.destroyNotificationHost(this);

dist/native-modules/notification-controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var NotificationController = exports.NotificationController = function () {
2424
clearTimeout(this.timer);
2525
return this.closePromise = (0, _lifecycle.invokeLifecycle)(this.viewModel, 'canDeactivate').then(function (canDeactivate) {
2626
if (canDeactivate) {
27-
(0, _lifecycle.invokeLifecycle)(_this.viewModel, 'deactivate').then(function () {
27+
return (0, _lifecycle.invokeLifecycle)(_this.viewModel, 'deactivate').then(function () {
2828
return _this.renderer.hideNotification(_this);
2929
}).then(function () {
3030
return _this.renderer.destroyNotificationHost(_this);

dist/system/notification-controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ System.register(['./lifecycle'], function (_export, _context) {
2929
clearTimeout(this.timer);
3030
return this.closePromise = invokeLifecycle(this.viewModel, 'canDeactivate').then(function (canDeactivate) {
3131
if (canDeactivate) {
32-
invokeLifecycle(_this.viewModel, 'deactivate').then(function () {
32+
return invokeLifecycle(_this.viewModel, 'deactivate').then(function () {
3333
return _this.renderer.hideNotification(_this);
3434
}).then(function () {
3535
return _this.renderer.destroyNotificationHost(_this);

dist/temp/aurelia-notify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ var NotificationController = exports.NotificationController = function () {
5959
clearTimeout(this.timer);
6060
return this.closePromise = invokeLifecycle(this.viewModel, 'canDeactivate').then(function (canDeactivate) {
6161
if (canDeactivate) {
62-
invokeLifecycle(_this.viewModel, 'deactivate').then(function () {
62+
return invokeLifecycle(_this.viewModel, 'deactivate').then(function () {
6363
return _this.renderer.hideNotification(_this);
6464
}).then(function () {
6565
return _this.renderer.destroyNotificationHost(_this);

doc/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
<a name="0.8.1"></a>
2+
## [0.8.1](https://github.com/MarcScheib/aurelia-notify/compare/0.8.0...0.8.1) (2017-05-16)
3+
4+
5+
### Bug Fixes
6+
7+
* **controller:** return deactivation lifecycle promise ([58c647a](https://github.com/MarcScheib/aurelia-notify/commit/58c647a))
8+
9+
10+
111
<a name="0.8.0"></a>
212
# [0.8.0](https://github.com/MarcScheib/aurelia-notify/compare/0.7.1...0.8.0) (2017-05-15)
313

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aurelia-notify",
3-
"version": "0.8.0",
3+
"version": "0.8.1",
44
"description": "A notification plugin for Aurelia.",
55
"keywords": [
66
"aurelia",

0 commit comments

Comments
 (0)