frontend/js/modules/attachment/attachment.controller.js
Function ESNAttachmentController
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ESNAttachmentController($compile, $element, $scope, $log, esnAttachmentViewerService, esnAttachmentViewerGalleryService, esnAttachmentRegistryService) {
var self = this;
var hasPreview;
var hasViewer;
Function ESNAttachmentController
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function ESNAttachmentController($compile, $element, $scope, $log, esnAttachmentViewerService, esnAttachmentViewerGalleryService, esnAttachmentRegistryService) {