esminc/adhoq

View on GitHub

Showing 44 of 44 total issues

Function activate has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Tab.prototype.activate = function (element, container, callback) {
    var $active    = container.find('> .active')
    var transition = callback
      && $.support.transition
      && $active.hasClass('fade')
Severity: Minor
Found in app/assets/javascripts/adhoq/bootstrap.js - About 1 hr to fix

    Function activate has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      Tab.prototype.activate = function (element, container, callback) {
        var $active    = container.find('> .active')
        var transition = callback
          && $.support.transition
          && $active.hasClass('fade')
    Severity: Minor
    Found in app/assets/javascripts/adhoq/bootstrap/tab.js - About 1 hr to fix

      Function refresh has 26 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        ScrollSpy.prototype.refresh = function () {
          var offsetMethod = 'offset'
          var offsetBase   = 0
      
          if (!$.isWindow(this.$scrollElement[0])) {
      Severity: Minor
      Found in app/assets/javascripts/adhoq/bootstrap/scrollspy.js - About 1 hr to fix

        Function refresh has 26 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          ScrollSpy.prototype.refresh = function () {
            var offsetMethod = 'offset'
            var offsetBase   = 0
        
            if (!$.isWindow(this.$scrollElement[0])) {
        Severity: Minor
        Found in app/assets/javascripts/adhoq/bootstrap.js - About 1 hr to fix
          Severity
          Category
          Status
          Source
          Language