Skip to content

Commit de8e2e2

Browse files
committed
Merge pull request angular-ui#650 from gaku/master
Returns false instead of null to avoid null.toString().
2 parents ea03a14 + 764b914 commit de8e2e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/viewDirective.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
$ViewDirective.$inject = ['$state', '$compile', '$controller', '$injector', '$anchorScroll'];
33
function $ViewDirective( $state, $compile, $controller, $injector, $anchorScroll) {
4-
var $animator = $injector.has('$animator') ? $injector.get('$animator') : null;
4+
var $animator = $injector.has('$animator') ? $injector.get('$animator') : false;
55
var viewIsUpdating = false;
66

77
var directive = {

0 commit comments

Comments
 (0)