carvil/dash-it

View on GitHub

Showing 3 of 20 total issues

File bootstrap.js has 1060 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/* ===================================================
 * bootstrap-transition.js v2.0.0
 * http://twitter.github.com/bootstrap/javascript.html#transitions
 * ===================================================
 * Copyright 2012 Twitter, Inc.
Severity: Major
Found in app/assets/javascripts/bootstrap.js - About 2 days to fix

    Function show has 43 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      , show: function () {
          var $tip
            , inside
            , pos
            , actualWidth
    Severity: Minor
    Found in app/assets/javascripts/bootstrap.js - About 1 hr to fix

      Function slide has 30 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        , slide: function (type, next) {
            var $active = this.$element.find('.active')
              , $next = next || $active[type]()
              , isCycling = this.interval
              , direction = type == 'next' ? 'left' : 'right'
      Severity: Minor
      Found in app/assets/javascripts/bootstrap.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language