angelakuo/citydogshare

View on GitHub

Showing 2,136 of 3,976 total issues

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

$.widget.bridge = function( name, object ) {
    var fullName = object.prototype.widgetFullName || name;
    $.fn[ name ] = function( options ) {
        var isMethodCall = typeof options === "string",
            args = widget_slice.call( arguments, 1 ),

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

        _createWrapper: function() {
            this.uiDialog = $("<div>")
                .addClass( "ui-dialog ui-widget ui-widget-content ui-corner-all ui-front " +
                    this.options.dialogClass )
                .hide()

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

      var effectFold = $.effects.effect.fold = function( o, done ) {
      
          // Create element
          var el = $( this ),
              props = [ "position", "top", "bottom", "left", "right", "height", "width" ],

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

            _toggle: function( event, eventData ) {
                var that = this,
                    toShow = eventData.newPanel,
                    toHide = eventData.oldPanel;
        
        

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

              _generatePosition: function(event) {
          
                  var top, left,
                      o = this.options,
                      pageX = event.pageX,

            Function hideModal has 45 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    hideModal: function(callback) {
                      callback = $.isFunction(callback)
                        ? callback
                        : function(){}
                      ;

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

                      filter: function(searchTerm) {
                        var
                          $results       = $(),
                          escapedTerm    = module.escape.regExp(searchTerm),
                          exactRegExp    = new RegExp('^' + escapedTerm, 'igm'),

                Function isSpanAllowed has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                Calendar.prototype.isSpanAllowed = function(span, constraint, overlap, event) {
                    var constraintEvents;
                    var anyContainment;
                    var peerEvents;
                    var i, peerEvent;

                  Function compileWithDeclarations has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      Block.prototype.compileWithDeclarations = function(o) {
                        var assigns, declars, exp, fragments, i, j, len1, post, ref3, ref4, ref5, rest, scope, spaced;
                        fragments = [];
                        post = [];
                        ref3 = this.expressions;

                    Function configFromStringAndFormat has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        function configFromStringAndFormat(config) {
                            // TODO: Move this to another part of the creation flow to prevent circular deps
                            if (config._f === utils_hooks__hooks.ISO_8601) {
                                configFromISO(config);
                                return;

                      Function val has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          val: function( value ) {
                              var hooks, ret, isFunction,
                                  elem = this[ 0 ];
                      
                              if ( !arguments.length ) {

                        Function data_options has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                              data_options : function (el, data_attr_name) {
                                data_attr_name = data_attr_name || 'options';
                                var opts = {}, ii, p, opts_arr,
                                    data_options = function (el) {
                                      var namespace = Foundation.global.namespace;

                          Function _destroy has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              _destroy: function() {
                                  if ( this.xhr ) {
                                      this.xhr.abort();
                                  }
                          
                          

                            Function _tabKeydown has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                _tabKeydown: function( event ) {
                                    var focusedTab = $( this.document[0].activeElement ).closest( "li" ),
                                        selectedIndex = this.tabs.index( focusedTab ),
                                        goingForward = true;
                            
                            

                              Function _tabKeydown has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  _tabKeydown: function( event ) {
                                      var focusedTab = $( this.document[0].activeElement ).closest( "li" ),
                                          selectedIndex = this.tabs.index( focusedTab ),
                                          goingForward = true;
                              
                              

                                Function _destroy has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    _destroy: function() {
                                        if ( this.xhr ) {
                                            this.xhr.abort();
                                        }
                                
                                

                                  Function val has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      val: function( value ) {
                                          var hooks, ret, isFunction,
                                              elem = this[ 0 ];
                                  
                                          if ( !arguments.length ) {

                                    Function val has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        val: function( value ) {
                                            var hooks, ret, isFunction,
                                                elem = this[ 0 ];
                                    
                                            if ( !arguments.length ) {

                                      Function addCombinator has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function addCombinator( matcher, combinator, base ) {
                                          var dir = combinator.dir,
                                              skip = combinator.next,
                                              key = skip || dir,
                                              checkNonElements = base && key === "parentNode",

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

                                            data: function( key, value ) {
                                                var i, name, data,
                                                    elem = this[ 0 ],
                                                    attrs = elem && elem.attributes;
                                        
                                        
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language