Showing 33 of 77 total issues
Function initFeature
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function initFeature(scope, ctrl){
if(!scope.mdtRowPaginator){
ctrl.mdtPaginationHelper = scope.mdtPaginationHelper = mdtPaginationHelperFactory
.getInstance(ctrl.dataStorage, scope.paginatedRows, scope.mdtRow);
}else{
Function mdtAddHtmlContentToCellDirective
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function mdtAddHtmlContentToCellDirective($parse, $compile, $rootScope){
return {
restrict: 'A',
require: '^?mdtTable',
link: function($scope, element, attr, ctrl){
Function _injectContentIntoTemplate
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _injectContentIntoTemplate(){
transclude(function (clone) {
var headings = [];
var body = [];
var customCell = [];
Function showEditDialog
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.showEditDialog = function(ev, cellData, rowData){
var rect = ev.currentTarget.closest('td').getBoundingClientRect();
var position = {
top: rect.top,
left: rect.left
Function InlineEditModalCtrl
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function InlineEditModalCtrl($scope, position, cellData, mdtTranslations, $timeout, $mdDialog){
Function mdtTableDirective
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function mdtTableDirective(TableDataStorageFactory,
EditCellFeature,
SelectableRowsFeature,
PaginationFeature,
ColumnSelectorFeature,
Function link
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
link: function($scope, element, attrs, mdtCtrl, transclude){
Function link
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
link: function ($scope, element, attrs, ctrl, transclude) {
Function pre
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
pre: function($scope, element, attrs, ctrl, transclude){
Function link
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
link: function($scope, element, attrs, ctrl, transclude){
Function link
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
link: function($scope, element, attr, mdtRowCtrl, transclude){
Function link
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
link: function($scope, element, attrs, ctrl, transclude){
Function setRawDataToStorage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
mdtAjaxPaginationHelper.prototype.setRawDataToStorage = function(that, data, tableRowIdKey, columnKeys, rowOptions){