railsfrance/railsfrance.org

View on GitHub

Showing 166 of 228 total issues

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

function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
    for ( var i = 0, l = checkSet.length; i < l; i++ ) {
        var elem = checkSet[i];

        if ( elem ) {
Severity: Minor
Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix

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

        when: function( firstParam ) {
            var args = arguments,
                i = 0,
                length = args.length,
                count = length,
    Severity: Minor
    Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix

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

              function showControls(nextType, nextContent, prevType, prevContent){
                  // create pager html elements
                  var $nextHtml = $('<a href="" class="bx-next"></a>');
                  var $prevHtml = $('<a href="" class="bx-prev"></a>');
                  // check if next is 'text' or 'image'
      Severity: Minor
      Found in app/assets/javascripts/lib/jquery.bxSlider.js - About 1 hr to fix

        Function promise has 29 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            promise: function( type, object ) {
                if ( typeof type !== "string" ) {
                    object = type;
                    type = undefined;
                }
        Severity: Minor
        Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix

          Function style has 29 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              style: function( elem, name, value, extra ) {
                  // Don't set styles on text and comment nodes
                  if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
                      return;
                  }
          Severity: Minor
          Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix

            Function cleanData has 29 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                cleanData: function( elems ) {
                    var data, id, cache = jQuery.cache, internalKey = jQuery.expando, special = jQuery.event.special,
                        deleteExpando = jQuery.support.deleteExpando;
            
                    for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
            Severity: Minor
            Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix

              Function offset has 29 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  jQuery.fn.offset = function( options ) {
                      var elem = this[0], box;
              
                      if ( options ) {
                          return this.each(function( i ) {
              Severity: Minor
              Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix

                Function name has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    jQuery.fn[ name ] = function( type, data, fn ) {
                        var handler;
                
                        // Handle object literals
                        if ( typeof type === "object" ) {
                Severity: Minor
                Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix

                  Function type has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      jQuery.fn[ type ] = function( size ) {
                          // Get window width or height
                          var elem = this[0];
                          if ( !elem ) {
                              return size == null ? null : this;
                  Severity: Minor
                  Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix

                    Function ATTR has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            ATTR: function( elem, match ) {
                                var name = match[1],
                                    result = Expr.attrHandle[ name ] ?
                                        Expr.attrHandle[ name ]( elem ) :
                                        elem[ name ] != null ?
                    Severity: Minor
                    Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix

                      Function find has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          find: function( selector ) {
                              var self = this,
                                  i, l;
                      
                              if ( typeof selector !== "string" ) {
                      Severity: Minor
                      Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix

                        Function select has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                select: function( event, ui ) {
                                  var terms = split( this.value );
                                  // remove the current input
                                  terms.pop();
                                  // add the selected item
                        Severity: Minor
                        Found in app/assets/javascripts/lib/autocomplete-rails.js - About 1 hr to fix

                          Function startTicker has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                  this.startTicker = function(changeText){
                                      if(options.mode == 'horizontal'){
                                          if(options.tickerDirection == 'next'){
                                              // get the 'left' property where the ticker stopped
                                              var stoppedLeft = parseInt($parent.css('left'));
                          Severity: Minor
                          Found in app/assets/javascripts/lib/jquery.bxSlider.js - About 1 hr to fix

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

                                clone: function( elem, dataAndEvents, deepDataAndEvents ) {
                                    var clone = elem.cloneNode(true),
                                            srcElements,
                                            destElements,
                                            i;
                            Severity: Minor
                            Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix

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

                                  html: function( value ) {
                                      if ( value === undefined ) {
                                          return this[0] && this[0].nodeType === 1 ?
                                              this[0].innerHTML.replace(rinlinejQuery, "") :
                                              null;
                              Severity: Minor
                              Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix

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

                                    _updateDateTime: function(dp_inst) {
                                        dp_inst = this.inst || dp_inst,
                                            dt = new Date(dp_inst.selectedYear, dp_inst.selectedMonth, dp_inst.selectedDay),
                                            dateFmt = $.datepicker._get(dp_inst, 'dateFormat'),
                                            formatCfg = $.datepicker._getFormatConfig(dp_inst),
                                Severity: Minor
                                Found in app/assets/javascripts/lib/jquery-ui-timepicker-addon.js - About 1 hr to fix

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

                                      addClass: function( value ) {
                                          var classNames, i, l, elem,
                                              setClass, c, cl;
                                  
                                          if ( jQuery.isFunction( value ) ) {
                                  Severity: Minor
                                  Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix

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

                                        show: function( speed, easing, callback ) {
                                            var elem, display;
                                    
                                            if ( speed || speed === 0 ) {
                                                return this.animate( genFx("show", 3), speed, easing, callback);
                                    Severity: Minor
                                    Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix

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

                                      Sizzle.find = function( expr, context, isXML ) {
                                          var set;
                                      
                                          if ( !expr ) {
                                              return [];
                                      Severity: Minor
                                      Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix

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

                                                ">": function( checkSet, part ) {
                                                    var elem,
                                                        isPartStr = typeof part === "string",
                                                        i = 0,
                                                        l = checkSet.length;
                                        Severity: Minor
                                        Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language