boennemann/zentodone

View on GitHub

Showing 3 of 3 total issues

Function link has 92 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      link: function (scope, element, attrs) {

        var hammerConfig = {
          drag: true,
          dragBlockHorizontal: true,
Severity: Major
Found in app/scripts/directives/taskcell.js - About 3 hrs to fix

Function onDragEnd has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        var onDragEnd = function(event) {
          $bg.hammer(hammerConfig)
            .off('touchmove', preventDefault)
            .off('drag', onDrag)
            .off('dragend', onDragEnd)
Severity: Minor
Found in app/scripts/directives/taskcell.js - About 1 hr to fix

Function handleForm has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  $scope.handleForm = function() {
    $scope.errors = {}

    var down = $q.defer()
    down.promise.then(function(error) {
Severity: Minor
Found in app/scripts/controllers/account.js - About 1 hr to fix
Severity
Category
Status
Source
Language