Skip to content

Commit

Permalink
chore(all): prepare release 1.0.0-beta.1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Feb 8, 2016
1 parent 6a94388 commit 7fddea6
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 2 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-event-aggregator",
"version": "1.0.0-beta.1.1.0",
"version": "1.0.0-beta.1.1.1",
"description": "A lightweight pub/sub messaging system for app-wide or per-object loosely coupled events.",
"keywords": [
"aurelia",
Expand Down
8 changes: 8 additions & 0 deletions dist/amd/aurelia-event-aggregator.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ define(['exports', 'aurelia-logging'], function (exports, _aureliaLogging) {
var subscribers = undefined;
var i = undefined;

if (!event) {
throw new Error('Event was invalid.');
}

if (typeof event === 'string') {
subscribers = this.eventLookup[event];
if (subscribers) {
Expand Down Expand Up @@ -70,6 +74,10 @@ define(['exports', 'aurelia-logging'], function (exports, _aureliaLogging) {
var handler = undefined;
var subscribers = undefined;

if (!event) {
throw new Error('Event channel/type was invalid.');
}

if (typeof event === 'string') {
handler = callback;
subscribers = this.eventLookup[event] || (this.eventLookup[event] = []);
Expand Down
8 changes: 8 additions & 0 deletions dist/aurelia-event-aggregator.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ export class EventAggregator {
let subscribers;
let i;

if (!event) {
throw new Error('Event was invalid.');
}

if (typeof event === 'string') {
subscribers = this.eventLookup[event];
if (subscribers) {
Expand Down Expand Up @@ -83,6 +87,10 @@ export class EventAggregator {
let handler;
let subscribers;

if (!event) {
throw new Error('Event channel/type was invalid.');
}

if (typeof event === 'string') {
handler = callback;
subscribers = this.eventLookup[event] || (this.eventLookup[event] = []);
Expand Down
8 changes: 8 additions & 0 deletions dist/commonjs/aurelia-event-aggregator.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ var EventAggregator = (function () {
var subscribers = undefined;
var i = undefined;

if (!event) {
throw new Error('Event was invalid.');
}

if (typeof event === 'string') {
subscribers = this.eventLookup[event];
if (subscribers) {
Expand Down Expand Up @@ -75,6 +79,10 @@ var EventAggregator = (function () {
var handler = undefined;
var subscribers = undefined;

if (!event) {
throw new Error('Event channel/type was invalid.');
}

if (typeof event === 'string') {
handler = callback;
subscribers = this.eventLookup[event] || (this.eventLookup[event] = []);
Expand Down
8 changes: 8 additions & 0 deletions dist/es6/aurelia-event-aggregator.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ export class EventAggregator {
let subscribers;
let i;

if (!event) {
throw new Error('Event was invalid.');
}

if (typeof event === 'string') {
subscribers = this.eventLookup[event];
if (subscribers) {
Expand Down Expand Up @@ -83,6 +87,10 @@ export class EventAggregator {
let handler;
let subscribers;

if (!event) {
throw new Error('Event channel/type was invalid.');
}

if (typeof event === 'string') {
handler = callback;
subscribers = this.eventLookup[event] || (this.eventLookup[event] = []);
Expand Down
8 changes: 8 additions & 0 deletions dist/system/aurelia-event-aggregator.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ System.register(['aurelia-logging'], function (_export) {
var subscribers = undefined;
var i = undefined;

if (!event) {
throw new Error('Event was invalid.');
}

if (typeof event === 'string') {
subscribers = this.eventLookup[event];
if (subscribers) {
Expand Down Expand Up @@ -99,6 +103,10 @@ System.register(['aurelia-logging'], function (_export) {
var handler = undefined;
var subscribers = undefined;

if (!event) {
throw new Error('Event channel/type was invalid.');
}

if (typeof event === 'string') {
handler = callback;
subscribers = this.eventLookup[event] || (this.eventLookup[event] = []);
Expand Down
8 changes: 8 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
### 1.0.0-beta.1.1.1 (2016-02-08)


#### Bug Fixes

* **index:** add some error checking to guard args ([e1661a00](http://github.com/aurelia/event-aggregator/commit/e1661a00ff9894891a59cd8dfd3f5d83964de158), closes [#15](http://github.com/aurelia/event-aggregator/issues/15))


### 1.0.0-beta.1.1.0 (2016-01-29)


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-event-aggregator",
"version": "1.0.0-beta.1.1.0",
"version": "1.0.0-beta.1.1.1",
"description": "A lightweight pub/sub messaging system for app-wide or per-object loosely coupled events.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 7fddea6

Please sign in to comment.