CrowdHailer/Hammerhead2

View on GitHub

Showing 3 of 3 total issues

Function exports has 153 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function(grunt) {
    'use strict';
    
    // Load grunt tasks automatically
    require('load-grunt-tasks')(grunt);
Severity: Major
Found in Gruntfile.js - About 6 hrs to fix

    Function managePosition has 55 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        parent.managePosition = function(){
            var $element = this.$element,
                element = this.element,
                properFix = missingCTM($element), // windows FIX
                viewBox = VB($element.attr('viewBox')),
    Severity: Major
    Found in src/positionhandler.js - About 2 hrs to fix

      Function dispatchTouch has 41 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          parent.dispatchTouch = function(){
              var element = this.element,
                  isComponent = this.isComponent,
                  live = false,
                  dragging = false,
      Severity: Minor
      Found in src/touch.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language