boennemann/zentodone

View on GitHub
app/scripts/directives/taskcell.js

Summary

Maintainability
B
5 hrs
Test Coverage

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

There are no issues that match your filters.

Category
Status