Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 20d4efb

Browse files
bekospkozlowski-opensource
authored andcommitted
refactor(popover): remove unused dependency injections
1 parent 28c85de commit 20d4efb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/popover/popover.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* just mouse enter/leave, html popovers, and selector delegatation.
55
*/
66
angular.module( 'ui.bootstrap.popover', [ 'ui.bootstrap.tooltip' ] )
7+
78
.directive( 'popoverPopup', function () {
89
return {
910
restrict: 'EA',
@@ -12,7 +13,7 @@ angular.module( 'ui.bootstrap.popover', [ 'ui.bootstrap.tooltip' ] )
1213
templateUrl: 'template/popover/popover.html'
1314
};
1415
})
15-
.directive( 'popover', [ '$compile', '$timeout', '$parse', '$window', '$tooltip', function ( $compile, $timeout, $parse, $window, $tooltip ) {
16+
17+
.directive( 'popover', [ '$tooltip', function ( $tooltip ) {
1618
return $tooltip( 'popover', 'popover', 'click' );
1719
}]);
18-

0 commit comments

Comments
 (0)