angelakuo/citydogshare

View on GitHub

Showing 3,976 of 3,976 total issues

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

  Expectation.prototype.wrapCompare = function(name, matcherFactory) {
    return function() {
      var args = Array.prototype.slice.call(arguments, 0),
        expected = args.slice(0),
        message = '';

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

        this.spyOn = function(obj, methodName) {
    
          if (j$.util.isUndefined(obj)) {
            throw new Error(getErrorMsg('could not find an object to spy upon for ' + methodName + '()'));
          }

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

      DatePicker.defaults = (function( prefix ) {
      
          return {
      
              // The title label to use for the month nav buttons

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

            $.fn[ name ] = function( options ) {
                var isMethodCall = typeof options === "string",
                    args = widget_slice.call( arguments, 1 ),
                    returnValue = this;
        
        

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

              $.fn.parallax = function () {
                var window_width = $(window).width();
                // Parallax Scripts
                return this.each(function(i) {
                  var $this = $(this);

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

                $.fn[ name ] = function( options ) {
                    var isMethodCall = typeof options === "string",
                        args = widget_slice.call( arguments, 1 ),
                        returnValue = this;
            
            

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

                  $.fn[ name ] = function( options ) {
                      var isMethodCall = typeof options === "string",
                          args = widget_slice.call( arguments, 1 ),
                          returnValue = this;
              
              

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

                    $.fn[ name ] = function( options ) {
                        var isMethodCall = typeof options === "string",
                            args = widget_slice.call( arguments, 1 ),
                            returnValue = this;
                
                

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

                      $.fn[ name ] = function( options ) {
                          var isMethodCall = typeof options === "string",
                              args = widget_slice.call( arguments, 1 ),
                              returnValue = this;
                  
                  

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

                        refresh: function() {
                            var menus, items,
                                that = this,
                                icon = this.options.icons.submenu,
                                submenus = this.element.find( this.options.menus );

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

                          $.fn[ name ] = function( options ) {
                              var isMethodCall = typeof options === "string",
                                  args = widget_slice.call( arguments, 1 ),
                                  returnValue = this;
                      
                      

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

                            $.fn[ name ] = function( options ) {
                                var isMethodCall = typeof options === "string",
                                    args = widget_slice.call( arguments, 1 ),
                                    returnValue = this;
                        
                        

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

                              $.fn[ name ] = function( options ) {
                                  var isMethodCall = typeof options === "string",
                                      args = widget_slice.call( arguments, 1 ),
                                      returnValue = this;
                          
                          

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

                                $.fn[ name ] = function( options ) {
                                    var isMethodCall = typeof options === "string",
                                        args = widget_slice.call( arguments, 1 ),
                                        returnValue = this;
                            
                            

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

                                  $.fn[ name ] = function( options ) {
                                      var isMethodCall = typeof options === "string",
                                          args = widget_slice.call( arguments, 1 ),
                                          returnValue = this;
                              
                              

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

                                    $.fn[ name ] = function( options ) {
                                        var isMethodCall = typeof options === "string",
                                            args = widget_slice.call( arguments, 1 ),
                                            returnValue = this;
                                
                                

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

                                      $.fn[ name ] = function( options ) {
                                          var isMethodCall = typeof options === "string",
                                              args = widget_slice.call( arguments, 1 ),
                                              returnValue = this;
                                  
                                  

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

                                        $.fn[ name ] = function( options ) {
                                            var isMethodCall = typeof options === "string",
                                                args = widget_slice.call( arguments, 1 ),
                                                returnValue = this;
                                    
                                    

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

                                          $.fn[ name ] = function( options ) {
                                              var isMethodCall = typeof options === "string",
                                                  args = widget_slice.call( arguments, 1 ),
                                                  returnValue = this;
                                      
                                      

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

                                            $.fn[ name ] = function( options ) {
                                                var isMethodCall = typeof options === "string",
                                                    args = widget_slice.call( arguments, 1 ),
                                                    returnValue = this;
                                        
                                        
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language