Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 5e68417

Browse files
grantHarrisSomeKittens
authored andcommitted
fix(uiLayoutLoaded): convert directive's di to use array notation
1 parent cce113b commit 5e68417

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/ui-layout.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ angular.module('ui.layout', [])
963963
};
964964
}])
965965

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

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

0 commit comments

Comments
 (0)