railsfrance/railsfrance.org

View on GitHub

Showing 166 of 228 total issues

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

        function done( status, nativeStatusText, responses, headers ) {

            // Called once
            if ( state === 2 ) {
                return;
Severity: Major
Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 2 hrs to fix

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

    Sizzle.filter = function( expr, set, inplace, not ) {
        var match, anyFound,
            old = expr,
            result = [],
            curLoop = set,
    Severity: Major
    Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 2 hrs to fix

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

              this.goToPreviousSlide = function(stopAuto){
                  // check if stopAuto argument is supplied
                  if(typeof(stopAuto) == 'undefined'){
                      var stopAuto = true;
                  }
      Severity: Major
      Found in app/assets/javascripts/lib/jquery.bxSlider.js - About 2 hrs to fix

        Function init has 65 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            init: function( selector, context, rootjQuery ) {
                var match, elem, ret, doc;
        
                // Handle $(""), $(null), or $(undefined)
                if ( !selector ) {
        Severity: Major
        Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 2 hrs to fix

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

              _Deferred: function() {
                  var // callbacks list
                      callbacks = [],
                      // stored [ context , args ]
                      fired,
          Severity: Major
          Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 2 hrs to fix

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

            function liveHandler( event ) {
                var stop, maxLevel, related, match, handleObj, elem, j, i, l, data, close, namespace, ret,
                    elems = [],
                    selectors = [],
                    events = jQuery._data( this, "events" );
            Severity: Major
            Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 2 hrs to fix

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

                      this.goToNextSlide = function(stopAuto){
                          // check if stopAuto argument is supplied
                          if(typeof(stopAuto) == 'undefined'){
                              var stopAuto = true;
                          }
              Severity: Major
              Found in app/assets/javascripts/lib/jquery.bxSlider.js - About 2 hrs to fix

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

                    init: function(e) {
                      e.delimiter = ", ";
                      function split( val ) {
                        return val.split( e.delimiter );
                      }
                Severity: Major
                Found in app/assets/javascripts/lib/autocomplete-rails.js - About 2 hrs to fix

                  Function Deferred has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      Deferred: function( func ) {
                          var deferred = jQuery._Deferred(),
                              failDeferred = jQuery._Deferred(),
                              promise;
                          // Add errorDeferred methods, then and promise
                  Severity: Major
                  Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 2 hrs to fix

                    Function ajaxConvert has 57 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function ajaxConvert( s, response ) {
                    
                        // Apply the dataFilter if provided
                        if ( s.dataFilter ) {
                            response = s.dataFilter( response, s.dataType );
                    Severity: Major
                    Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 2 hrs to fix

                      Function setAutoInterval has 57 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              function setAutoInterval(){
                                  if(options.auto){
                                      // finite loop
                                      if(!options.infiniteLoop){
                                          if(options.autoDirection == 'next'){
                      Severity: Major
                      Found in app/assets/javascripts/lib/jquery.bxSlider.js - About 2 hrs to fix

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

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

                          Function data has 54 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              data: function( elem, name, data, pvt /* Internal Use Only */ ) {
                                  if ( !jQuery.acceptData( elem ) ) {
                                      return;
                                  }
                          
                          
                          Severity: Major
                          Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 2 hrs to fix

                            Function removeData has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                removeData: function( elem, name, pvt /* Internal Use Only */ ) {
                                    if ( !jQuery.acceptData( elem ) ) {
                                        return;
                                    }
                            
                            
                            Severity: Minor
                            Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 2 hrs to fix

                              Function initCss has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                      function initCss(){
                                          // layout the children
                                          setChildrenLayout(options.startingSlide);
                                          // CSS for horizontal mode
                                          if(options.mode == 'horizontal'){
                              Severity: Minor
                              Found in app/assets/javascripts/lib/jquery.bxSlider.js - About 2 hrs to fix

                                Function Timepicker has 49 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function Timepicker() {
                                    this.regional = []; // Available regional settings, indexed by language code
                                    this.regional[''] = { // Default regional settings
                                        currentText: 'Now',
                                        closeText: 'Done',
                                Severity: Minor
                                Found in app/assets/javascripts/lib/jquery-ui-timepicker-addon.js - About 1 hr to fix

                                  Function _newInst has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      _newInst: function($input, o) {
                                          var tp_inst = new Timepicker(),
                                              inlineSettings = {};
                                              
                                          for (var attrName in this._defaults) {
                                  Severity: Minor
                                  Found in app/assets/javascripts/lib/jquery-ui-timepicker-addon.js - About 1 hr to fix

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

                                        jQuery.fn[ name ] = function( types, data, fn, origSelector /* Internal Use Only */ ) {
                                            var type, i = 0, match, namespaces, preType,
                                                selector = origSelector || this.selector,
                                                context = origSelector ? this : jQuery( this.context );
                                    
                                    
                                    Severity: Minor
                                    Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix

                                      Function domManip has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          domManip: function( args, table, callback ) {
                                              var results, first, fragment, parent,
                                                  value = args[0],
                                                  scripts = [];
                                      
                                      
                                      Severity: Minor
                                      Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix

                                        Function ajaxHandleResponses has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function ajaxHandleResponses( s, jqXHR, responses ) {
                                        
                                            var contents = s.contents,
                                                dataTypes = s.dataTypes,
                                                responseFields = s.responseFields,
                                        Severity: Minor
                                        Found in app/assets/javascripts/lib/jquery-1.6.4.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language