mgcrea/angular-strap

View on GitHub

Showing 88 of 611 total issues

Function $get has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    this.$get = function ($window, $document, $rootScope, $tooltip, $timeout) {
Severity: Minor
Found in src/select/select.js - About 35 mins to fix

Function $get has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    this.$get = function ($window, $rootScope, $tooltip, $$rAF, $timeout) {
Severity: Minor
Found in src/typeahead/typeahead.js - About 35 mins to fix

Avoid too many return statements within this function.
Open

            return date.toISOString();
Severity: Major
Found in src/datepicker/datepicker.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return date.toISOString();
Severity: Major
Found in src/timepicker/timepicker.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return date.getTime() / 1000;
Severity: Major
Found in src/timepicker/timepicker.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

          return new Date(date);
Severity: Major
Found in src/timepicker/timepicker.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

          return new Date(date);
Severity: Major
Found in src/datepicker/datepicker.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return date.getTime() / 1000;
Severity: Major
Found in src/datepicker/datepicker.js - About 30 mins to fix
Severity
Category
Status
Source
Language