Code coverage report for app/components/_common/directives/dropdown-init.directive.js

Statements: 100% (8 / 8)      Branches: 100% (0 / 0)      Functions: 100% (2 / 2)      Lines: 100% (6 / 6)      Ignored: none     

All files » app/components/_common/directives/ » dropdown-init.directive.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16                      
function DropdownInitDirective () {
    return {
        restrict: 'A',
        link
    };
 
    function link (scope, element) {
        element.dropdown();
    }
}
 
DropdownInitDirective.$inject = [];
 
export default DropdownInitDirective;