src/components/header/ResizableDirective.js
Showing 3 of 3 total issues
Function ResizableDirective
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function ResizableDirective($document, $timeout) { return { restrict: 'A', scope: { isResizable: '=resizable',
- Create a ticketCreate a ticket
Function link
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link($scope, $element) { if ($scope.isResizable) { $element.addClass('resizable'); }
- Create a ticketCreate a ticket
Function ResizableDirective
has a Cognitive Complexity of 12 (exceeds 5 allowed). Consider refactoring. Open
Open
export default function ResizableDirective($document, $timeout) { return { restrict: 'A', scope: { isResizable: '=resizable',
- Read upRead up
- Create a ticketCreate a ticket