Skip to content

Commit

Permalink
chore(release): v0.0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikbonander committed Jan 7, 2016
1 parent feb6394 commit 576f4ee
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 13 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
<a name="0.0.18"></a>
## [0.0.18](https://github.com/ef-ctx/ngAutobahn/compare/v0.0.17...v0.0.18) (2016-01-07)


### Bug Fixes

* **CxSocketConnection:** notify about lost conenction on success ([9e4cb14](https://github.com/ef-ctx/ngAutobahn/commit/9e4cb14))
* **NgAutobahnConnectionPing:** typo on isOpen ([cc70e62](https://github.com/ef-ctx/ngAutobahn/commit/cc70e62))



<a name="0.0.17"></a>
## [0.0.17](https://github.com/ef-ctx/ngAutobahn/compare/v0.0.16...v0.0.17) (2015-12-23)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngAutobahn",
"version": "0.0.17",
"version": "0.0.18",
"description": "angular modules for autobahn real time services over WAMP web socket protocol ",
"authors": [
"EF CTX <[email protected]> (http://efclass.io)"
Expand Down
22 changes: 14 additions & 8 deletions dist/ngAutobahn.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**********************************************************
*
* ngAutobahn - v0.0.17
* ngAutobahn - v0.0.18
*
* Release date : 2015-12-23 : 18:39
* Release date : 2016-01-07 : 11:34
* Author : Jaime Beneytez - EF CTX
* License : MIT
*
Expand Down Expand Up @@ -177,16 +177,22 @@

return defer.promise;

function onOpen(session) {
_session = session;
defer.resolve(session);
_connectionOpenedHandler();
function onCloseAndNotify() {
_connection.onclose = null;
_connectionLostHandler();
}

function onErrorOpening() {
_connection.onclose = null;
defer.reject();
_connectionLostHandler();
}

function onOpen(session) {
_session = session;
defer.resolve(session);

_connectionOpenedHandler();
_connection.onclose = onCloseAndNotify;
}
}

Expand Down Expand Up @@ -747,7 +753,7 @@
$rootScope.$on(NG_AUTOBAHN_CONNECTION_EVENTS.LOST, _ping.stop);
$rootScope.$on(NG_AUTOBAHN_CONNECTION_EVENTS.CLOSE, _ping.stop);

if (ngAutobahnConnection.isOpened) {
if (ngAutobahnConnection.isOpen) {
_ping.start();
}
};
Expand Down
6 changes: 3 additions & 3 deletions dist/ngAutobahn.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngAutobahn",
"version": "0.0.17",
"version": "0.0.18",
"description": "angular modules for autobahn real time services over WAMP web socket protocol ",
"author": {
"name": "Jaime Beneytez - EF CTX",
Expand Down

0 comments on commit 576f4ee

Please sign in to comment.