Skip to content
This repository was archived by the owner on Jun 14, 2019. It is now read-only.

Commit c5b7a14

Browse files
committed
Release 0.11.2
1 parent 9e67b6c commit c5b7a14

File tree

4 files changed

+22
-9
lines changed

4 files changed

+22
-9
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
<a name="0.11.2"></a>
2+
### 0.11.2 (2015-01-16)
3+
4+
5+
#### Bug Fixes
6+
7+
* **service:** fix possible npe on re-registration of handlers after reconnect ([2225a8ab](http://github.com/knalli/angular-vertxbus/commit/2225a8ab26320942a91902265e7687b189f20e65))
8+
9+
110
<a name="0.11.1"></a>
211
### 0.11.1 (2015-01-09)
312

dist/angular-vertxbus.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! angular-vertxbus - v0.11.1 - 2015-01-09
1+
/*! angular-vertxbus - v0.11.2 - 2015-01-16
22
* http://github.com/knalli/angular-vertxbus
33
* Copyright (c) 2015 ; Licensed */
44
(function() {
@@ -436,9 +436,11 @@
436436
for (address in _ref2) {
437437
if (!__hasProp.call(_ref2, address)) continue;
438438
callbacks = _ref2[address];
439-
for (_i = 0, _len = callbacks.length; _i < _len; _i++) {
440-
callback = callbacks[_i];
441-
util.registerHandler(address, callback);
439+
if (callbacks != null ? callbacks.length : void 0) {
440+
for (_i = 0, _len = callbacks.length; _i < _len; _i++) {
441+
callback = callbacks[_i];
442+
util.registerHandler(address, callback);
443+
}
442444
}
443445
}
444446
$rootScope.$digest();

0 commit comments

Comments
 (0)