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

Commit

Permalink
Release 0.11.2
Browse files Browse the repository at this point in the history
  • Loading branch information
knalli committed Jan 16, 2015
1 parent 9e67b6c commit c5b7a14
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<a name="0.11.2"></a>
### 0.11.2 (2015-01-16)


#### Bug Fixes

* **service:** fix possible npe on re-registration of handlers after reconnect ([2225a8ab](http://github.com/knalli/angular-vertxbus/commit/2225a8ab26320942a91902265e7687b189f20e65))


<a name="0.11.1"></a>
### 0.11.1 (2015-01-09)

Expand Down
10 changes: 6 additions & 4 deletions dist/angular-vertxbus.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! angular-vertxbus - v0.11.1 - 2015-01-09
/*! angular-vertxbus - v0.11.2 - 2015-01-16
* http://github.com/knalli/angular-vertxbus
* Copyright (c) 2015 ; Licensed */
(function() {
Expand Down Expand Up @@ -436,9 +436,11 @@
for (address in _ref2) {
if (!__hasProp.call(_ref2, address)) continue;
callbacks = _ref2[address];
for (_i = 0, _len = callbacks.length; _i < _len; _i++) {
callback = callbacks[_i];
util.registerHandler(address, callback);
if (callbacks != null ? callbacks.length : void 0) {
for (_i = 0, _len = callbacks.length; _i < _len; _i++) {
callback = callbacks[_i];
util.registerHandler(address, callback);
}
}
}
$rootScope.$digest();
Expand Down
Loading

0 comments on commit c5b7a14

Please sign in to comment.