creimers/cmsplugin_simpleslider

View on GitHub

Showing 244 of 619 total issues

File css.js has 317 lines of code (exceeds 250 allowed). Consider refactoring.
Open

define([
    "./core",
    "./var/pnum",
    "./core/access",
    "./css/var/rmargin",

    Function slideHandler has 88 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        Slick.prototype.slideHandler = function(index,sync,dontAnimate) {
    
            var targetSlide, animSlide, oldSlide, slideLeft, unevenOffset, targetLeft = null,
                _ = this;
    
    

      Function trigger has 85 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          trigger: function( event, data, elem, onlyHandlers ) {
      
              var i, cur, tmp, bubbleType, ontype, handle, special,
                  eventPath = [ elem || document ],
                  type = hasOwn.call( event, "type" ) ? event.type : event,

        Function trigger has 85 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            trigger: function( event, data, elem, onlyHandlers ) {
        
                var i, cur, tmp, bubbleType, ontype, handle, special,
                    eventPath = [ elem || document ],
                    type = hasOwn.call( event, "type" ) ? event.type : event,

          Function Animation has 84 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function Animation( elem, properties, options ) {
              var result,
                  stopped,
                  index = 0,
                  length = animationPrefilters.length,

            Function Animation has 84 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function Animation( elem, properties, options ) {
                var result,
                    stopped,
                    index = 0,
                    length = animationPrefilters.length,

              Function Sizzle has 75 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function Sizzle( selector, context, results, seed ) {
                  var match, elem, m, nodeType,
                      // QSA vars
                      i, groups, old, nid, newContext, newSelector;
              
              

                Function Sizzle has 75 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function Sizzle( selector, context, results, seed ) {
                    var match, elem, m, nodeType,
                        // QSA vars
                        i, groups, old, nid, newContext, newSelector;
                
                

                  Function matcherFromGroupMatchers has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
                      var bySet = setMatchers.length > 0,
                          byElement = elementMatchers.length > 0,
                          superMatcher = function( seed, context, xml, results, outermost ) {
                              var elem, j, matcher,

                    Function add has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        add: function( elem, types, handler, data, selector ) {
                    
                            var handleObjIn, eventHandle, tmp,
                                events, t, handleObj,
                                special, handlers, type, namespaces, origType,

                      Function matcherFromGroupMatchers has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
                          var bySet = setMatchers.length > 0,
                              byElement = elementMatchers.length > 0,
                              superMatcher = function( seed, context, xml, results, outermost ) {
                                  var elem, j, matcher,

                        Function add has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            add: function( elem, types, handler, data, selector ) {
                        
                                var handleObjIn, eventHandle, tmp,
                                    events, t, handleObj,
                                    special, handlers, type, namespaces, origType,

                          Function done has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                  function done( status, nativeStatusText, responses, headers ) {
                                      var isSuccess, success, error, response, modified,
                                          statusText = nativeStatusText;
                          
                                      // Called once

                            Function done has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                    function done( status, nativeStatusText, responses, headers ) {
                                        var isSuccess, success, error, response, modified,
                                            statusText = nativeStatusText;
                            
                                        // Called once

                              Function setMatcher has 66 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
                                  if ( postFilter && !postFilter[ expando ] ) {
                                      postFilter = setMatcher( postFilter );
                                  }
                                  if ( postFinder && !postFinder[ expando ] ) {

                                Function setMatcher has 66 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
                                    if ( postFilter && !postFilter[ expando ] ) {
                                        postFilter = setMatcher( postFilter );
                                    }
                                    if ( postFinder && !postFinder[ expando ] ) {

                                  Function getLeft has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      Slick.prototype.getLeft = function(slideIndex) {
                                  
                                          var _ = this,
                                              targetLeft,
                                              verticalHeight,

                                    Function superMatcher has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                            superMatcher = function( seed, context, xml, results, outermost ) {
                                                var elem, j, matcher,
                                                    matchedCount = 0,
                                                    i = "0",
                                                    unmatched = seed && [],

                                      Function superMatcher has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                              superMatcher = function( seed, context, xml, results, outermost ) {
                                                  var elem, j, matcher,
                                                      matchedCount = 0,
                                                      i = "0",
                                                      unmatched = seed && [],

                                        Function animateSlide has 60 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            Slick.prototype.animateSlide = function(targetLeft, callback) {
                                        
                                                var animProps = {}, _ = this;
                                        
                                                if(_.options.slidesToShow === 1 && _.options.adaptiveHeight === true && _.options.vertical === false) {
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language