Skip to content

Commit

Permalink
Merge pull request #293 from Dona278/development
Browse files Browse the repository at this point in the history
Replaced deprecated jquery functions
  • Loading branch information
nbering committed Oct 12, 2016
2 parents 9588ed2 + 163a2ac commit 54f5a3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ng-google-chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
registerResizeEvent.$inject = ['$rootScope', '$window'];

function registerResizeEvent($rootScope, $window){
angular.element($window).bind('resize', function () {
angular.element($window).on('resize', function () {
$rootScope.$emit('resizeMsg');
});
}
Expand Down
2 changes: 1 addition & 1 deletion ng-google-chart.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/googlechart.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
registerResizeEvent.$inject = ['$rootScope', '$window'];

function registerResizeEvent($rootScope, $window){
angular.element($window).bind('resize', function () {
angular.element($window).on('resize', function () {
$rootScope.$emit('resizeMsg');
});
}
Expand Down

0 comments on commit 54f5a3e

Please sign in to comment.