Skip to content

Commit

Permalink
chore(*): prepare release 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcScheib committed May 19, 2016
1 parent 29360c2 commit 364483c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/aurelia-notify.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ export class NotificationRenderer {

notificationController.showNotification = () => {
this.notificationControllers.push(notificationController);

if (this.notificationControllers.length >= (settings.limit + 1)) {
this.notificationControllers[0].close(this.notificationControllers[0]);
}

notificationController.slot.attached();

if (settings.timeout > 0) {
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.3.0"></a>
# [0.3.0](https://github.com/MarcScheib/aurelia-notify/compare/0.2.5...v0.3.0) (2016-05-19)


### Features

* Added limit to number of notifications to be displayed at once. ([b74c8f7](https://github.com/MarcScheib/aurelia-notify/commit/b74c8f7))



<a name="0.2.5"></a>
## [0.2.5](https://github.com/MarcScheib/aurelia-notify/compare/0.2.4...v0.2.5) (2016-05-19)

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

0 comments on commit 364483c

Please sign in to comment.