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

Commit cbfb198

Browse files
committed
Merge branch 'canary'
2 parents be56849 + 600a090 commit cbfb198

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Jan Philipp",
33
"name": "angular-vertxbus",
44
"description": "Seed for reusable Angular components.",
5-
"version": "0.4.0",
5+
"version": "0.4.1",
66
"homepage": "http://github.com/knalli/angular-vertxbus",
77
"repository": {
88
"type": "git",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
}
205205
},
206206
getConnectionState: function (immediate) {
207-
if (enabled && vertxEventBus) {
207+
if (enabled && (vertxEventBus != null ? vertxEventBus.EventBus : void 0)) {
208208
if (immediate) {
209209
connectionState = vertxEventBus.readyState();
210210
}
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/requirejs/angular-vertxbus.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ define(['vertxbus'], function () {
205205
}
206206
},
207207
getConnectionState: function (immediate) {
208-
if (enabled && vertxEventBus) {
208+
if (enabled && (vertxEventBus != null ? vertxEventBus.EventBus : void 0)) {
209209
if (immediate) {
210210
connectionState = vertxEventBus.readyState();
211211
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-vertxbus",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "Seed for reusable Angular components.",
55
"main": "dist/angular-vertxbus.min.js",
66
"scripts": {

src/angular-vertxbus-adapter.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ module.service('vertxEventBusService', ($rootScope, $q, $interval, $timeout, ver
180180
# Get the current connection state of the event bus.
181181
# @param immediate if true the state will be re-fetched from the event bus
182182
getConnectionState : (immediate) ->
183-
if enabled and vertxEventBus
183+
if enabled and vertxEventBus?.EventBus
184184
connectionState = vertxEventBus.readyState() if immediate
185185
else
186186
connectionState = vertxEventBus.EventBus.CLOSED

0 commit comments

Comments
 (0)