The very deep tree structure didn't really aggree with me, sorry. This makes the core module rather large, but on the other hand that just highlights that it is rather large.
10 lines
242 B
JavaScript
10 lines
242 B
JavaScript
angular.module('syncthing.core')
|
|
.directive('popover', function () {
|
|
return {
|
|
restrict: 'A',
|
|
link: function (scope, element, attributes) {
|
|
$(element).popover();
|
|
}
|
|
};
|
|
});
|