Skip to content

Commit

Permalink
Changed $apply to $applyAsync
Browse files Browse the repository at this point in the history
Fixes #48
  • Loading branch information
davidwdan committed May 18, 2016
1 parent 9e3424f commit 01cb728
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-wamp",
"version": "0.2.1",
"version": "0.3.0",
"main": "./release/angular-wamp.js",
"authors": [
"David Dan <davidwdan@gmail.com>"
Expand All @@ -24,7 +24,7 @@
"tests"
],
"dependencies": {
"angular": "^1.2.0",
"angular": "^1.3.0",
"autobahn": ">= 0.9.5"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-wamp",
"description": "Angular library for Autobahn.js (WAMP v2)",
"version": "0.2.1",
"version": "0.3.0",
"author": "David Dan <davidwdan@gmail.com>",
"homepage": "https://github.com/voryx/angular-wamp",
"repository": {
Expand Down Expand Up @@ -31,7 +31,7 @@
"url": "https://github.com/voryx/angular-wamp/issues"
},
"dependencies": {
"angular": "^1.2.0",
"angular": "^1.3.0",
"autobahn": ">= 0.9.5"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion release/angular-wamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ if (typeof module !== "undefined" && typeof exports !== "undefined" && module.ex

return function () {
var cb = func.apply(this, arguments);
$rootScope.$apply();
$rootScope.$applyAsync();
return cb;
};
}
Expand Down
2 changes: 1 addition & 1 deletion release/angular-wamp.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 src/angular-wamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ if (typeof module !== "undefined" && typeof exports !== "undefined" && module.ex

return function () {
var cb = func.apply(this, arguments);
$rootScope.$apply();
$rootScope.$applyAsync();
return cb;
};
}
Expand Down

0 comments on commit 01cb728

Please sign in to comment.