Skip to content

Commit

Permalink
fix(uiLayoutLoaded): convert directive's di to use array notation
Browse files Browse the repository at this point in the history
  • Loading branch information
grantHarris authored and SomeKittens committed Feb 4, 2016
1 parent cce113b commit 5e68417
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui-layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ angular.module('ui.layout', [])
};
}])

.directive('uiLayoutLoaded', function($timeout, Layout) {
.directive('uiLayoutLoaded', ['$timeout', 'Layout', function($timeout, Layout) {
// Currently necessary for programmatic toggling to work with "initially" collapsed containers,
// because prog. toggling depends on the logic of prevButton and nextButton (which should be probably refactored out)
//
Expand Down Expand Up @@ -991,7 +991,7 @@ angular.module('ui.layout', [])
}
}
};
})
}])

.factory('Layout', ['$q', '$timeout', function($q, $timeout) {
var layouts = [],
Expand Down

0 comments on commit 5e68417

Please sign in to comment.