Skip to content

Commit

Permalink
chore(): correct deprecated console warning
Browse files Browse the repository at this point in the history
Closes #2569
  • Loading branch information
adamdbradley committed Feb 10, 2015
1 parent a5881ea commit 6c262ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/angular/controller/navBarController.js
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ function($scope, $element, $attrs, $compile, $timeout, $ionicNavBarDelegate, $io
};
function deprecatedWarning(oldMethod, newMethod) {
var warn = console.warn || console.log;
warn && warn('navBarController.' + oldMethod + ' is deprecated, please use ' + newMethod + ' instead');
warn && warn.call(console, 'navBarController.' + oldMethod + ' is deprecated, please use ' + newMethod + ' instead');
}
// END DEPRECATED -------

Expand Down

0 comments on commit 6c262ef

Please sign in to comment.