Skip to content

Commit 5f21d6c

Browse files
chore(all): prepare release 1.0.2
1 parent 5f4f093 commit 5f21d6c

File tree

8 files changed

+9210
-8
lines changed

8 files changed

+9210
-8
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-event-aggregator",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "A lightweight pub/sub messaging system for app-wide or per-object loosely coupled events.",
55
"keywords": [
66
"aurelia",

dist/aurelia-event-aggregator.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ export declare class EventAggregator {
3434
/**
3535
* Subscribes to a message channel or message type.
3636
* @param event The event channel or event data type.
37-
* @param callback The callback to be invoked when when the specified message is published.
37+
* @param callback The callback to be invoked when the specified message is published.
3838
*/
3939
subscribe(event: string | Function, callback: Function): Subscription;
4040

4141
/**
4242
* Subscribes to a message channel or message type, then disposes the subscription automatically after the first message is received.
4343
* @param event The event channel or event data type.
44-
* @param callback The callback to be invoked when when the specified message is published.
44+
* @param callback The callback to be invoked when the specified message is published.
4545
*/
4646
subscribeOnce(event: string | Function, callback: Function): Subscription;
4747
}

dist/aurelia-event-aggregator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export class EventAggregator {
8989
/**
9090
* Subscribes to a message channel or message type.
9191
* @param event The event channel or event data type.
92-
* @param callback The callback to be invoked when when the specified message is published.
92+
* @param callback The callback to be invoked when the specified message is published.
9393
*/
9494
subscribe(event: string | Function, callback: Function): Subscription {
9595
let handler;
@@ -122,7 +122,7 @@ export class EventAggregator {
122122
/**
123123
* Subscribes to a message channel or message type, then disposes the subscription automatically after the first message is received.
124124
* @param event The event channel or event data type.
125-
* @param callback The callback to be invoked when when the specified message is published.
125+
* @param callback The callback to be invoked when the specified message is published.
126126
*/
127127
subscribeOnce(event: string | Function, callback: Function): Subscription {
128128
let sub = this.subscribe(event, (a, b) => {

dist/system/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ System.register(['./aurelia-event-aggregator'], function (_export, _context) {
88
var _exportObj = {};
99

1010
for (var _key in _aureliaEventAggregator) {
11-
if (_key !== "default" && key !== "__esModule") _exportObj[_key] = _aureliaEventAggregator[_key];
11+
if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _aureliaEventAggregator[_key];
1212
}
1313

1414
_export(_exportObj);

doc/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<a name="1.0.2"></a>
2+
## [1.0.2](https://github.com/aurelia/event-aggregator/compare/1.0.1...1.0.2) (2019-01-18)
3+
4+
* Add module field to package.json
5+
16
<a name="1.0.1"></a>
27
## [1.0.1](https://github.com/aurelia/event-aggregator/compare/1.0.0...v1.0.1) (2016-12-03)
38

doc/api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"name":"aurelia-event-aggregator","children":[{"id":5,"name":"EventAggregator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Enables loosely coupled publish/subscribe messaging."},"children":[{"id":6,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of the EventAggregator class."},"signatures":[{"id":7,"name":"new EventAggregator","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of the EventAggregator class."},"type":{"type":"reference","name":"EventAggregator","id":5}}]},{"id":8,"name":"publish","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9,"name":"publish","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Publishes a message."},"parameters":[{"id":10,"name":"event","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The event or channel to publish to."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"any"}]}},{"id":11,"name":"data","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The data to publish on the channel.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":12,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribes to a message channel or message type."},"parameters":[{"id":14,"name":"event","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The event channel or event data type."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Function"}]}},{"id":15,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The callback to be invoked when when the specified message is published.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"reference","name":"Subscription","id":2}}]},{"id":16,"name":"subscribeOnce","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17,"name":"subscribeOnce","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribes to a message channel or message type, then disposes the subscription automatically after the first message is received."},"parameters":[{"id":18,"name":"event","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The event channel or event data type."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Function"}]}},{"id":19,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The callback to be invoked when when the specified message is published.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"reference","name":"Subscription","id":2}}]}],"groups":[{"title":"Constructors","kind":512,"children":[6]},{"title":"Methods","kind":2048,"children":[8,12,16]}]},{"id":2,"name":"Subscription","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents a disposable subsciption to an EventAggregator event."},"children":[{"id":3,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Disposes the subscription."},"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Methods","kind":2048,"children":[3]}]},{"id":23,"name":"configure","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":24,"name":"configure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures a global EA by merging functionality into the Aurelia instance."},"parameters":[{"id":25,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The Aurelia Framework configuration object used to configure the plugin.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":20,"name":"includeEventsIn","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":21,"name":"includeEventsIn","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Includes EA functionality into an object instance."},"parameters":[{"id":22,"name":"obj","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to mix Event Aggregator functionality into.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"EventAggregator","id":5}}]}],"groups":[{"title":"Classes","kind":128,"children":[5]},{"title":"Interfaces","kind":256,"children":[2]},{"title":"Functions","kind":64,"children":[23,20]}]}
1+
{"name":"aurelia-event-aggregator","children":[{"id":5,"name":"EventAggregator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Enables loosely coupled publish/subscribe messaging."},"children":[{"id":6,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of the EventAggregator class."},"signatures":[{"id":7,"name":"new EventAggregator","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of the EventAggregator class."},"type":{"type":"reference","name":"EventAggregator","id":5}}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":20,"character":38}]},{"id":8,"name":"publish","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9,"name":"publish","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Publishes a message."},"parameters":[{"id":10,"name":"event","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The event or channel to publish to."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"any"}]}},{"id":11,"name":"data","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The data to publish on the channel.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":32,"character":9}]},{"id":12,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribes to a message channel or message type."},"parameters":[{"id":14,"name":"event","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The event channel or event data type."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Function"}]}},{"id":15,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The callback to be invoked when the specified message is published.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"reference","name":"Subscription","id":2}}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":39,"character":11}]},{"id":16,"name":"subscribeOnce","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17,"name":"subscribeOnce","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribes to a message channel or message type, then disposes the subscription automatically after the first message is received."},"parameters":[{"id":18,"name":"event","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The event channel or event data type."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Function"}]}},{"id":19,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The callback to be invoked when the specified message is published.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"reference","name":"Subscription","id":2}}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":46,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[6]},{"title":"Methods","kind":2048,"children":[8,12,16]}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":20,"character":36}]},{"id":2,"name":"Subscription","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents a disposable subsciption to an EventAggregator event."},"children":[{"id":3,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Disposes the subscription."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":11,"character":9}]}],"groups":[{"title":"Methods","kind":2048,"children":[3]}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":6,"character":37}]},{"id":23,"name":"configure","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":24,"name":"configure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures a global EA by merging functionality into the Aurelia instance."},"parameters":[{"id":25,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The Aurelia Framework configuration object used to configure the plugin.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":59,"character":33}]},{"id":20,"name":"includeEventsIn","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":21,"name":"includeEventsIn","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Includes EA functionality into an object instance."},"parameters":[{"id":22,"name":"obj","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to mix Event Aggregator functionality into.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"EventAggregator","id":5}}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":53,"character":39}]}],"groups":[{"title":"Classes","kind":128,"children":[5]},{"title":"Interfaces","kind":256,"children":[2]},{"title":"Functions","kind":64,"children":[23,20]}]}

0 commit comments

Comments
 (0)