angelakuo/citydogshare

View on GitHub

Showing 2,136 of 3,976 total issues

Function remove has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    remove: function( owner, key ) {
        var i, name, camel,
            cache = owner[ this.expando ];

        if ( cache === undefined ) {

    Function startInteraction has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        startInteraction: function(ev, extraOptions) {
            var isTouch = getEvIsTouch(ev);
    
            if (ev.type === 'mousedown') {
                if (this.isIgnoringMouse) {

      Function buildEventSource has 32 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          function buildEventSource(sourceInput) { // will return undefined if invalid source
              var normalizers = FC.sourceNormalizers;
              var source;
              var i;
      
      

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

                refresh: function() {
                  if(settings.popup) {
                    $popup = $(settings.popup).eq(0);
                  }
                  else {

          Function buildGotoAnchorHtml has 32 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              buildGotoAnchorHtml: function(gotoOptions, attrs, innerHtml) {
                  var date, type, forceOff;
                  var finalOptions;
          
                  if ($.isPlainObject(gotoOptions)) {

            Function animate has 32 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    animate: function(propertyObject, callback) {
                      module.verbose('Animating box with properties', propertyObject);
                      callback = callback || function(event) {
                        module.verbose('Executing animation callback');
                        if(event !== undefined) {

              Function percent has 32 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                        percent: function(percent) {
                          percent = (typeof percent == 'string')
                            ? +(percent.replace('%', ''))
                            : percent
                          ;

                Function translate has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    function translate(number, withoutSuffix, key, isFuture) {
                        var result = '';
                        switch (key) {
                            case 's':
                                return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';

                  Function compileNode has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      Switch.prototype.compileNode = function(o) {
                        var block, body, cond, conditions, expr, fragments, i, idt1, idt2, j, k, len1, len2, ref3, ref4, ref5;
                        idt1 = o.indent + TAB;
                        idt2 = o.indent = idt1 + TAB;
                        fragments = [].concat(this.makeCode(this.tab + "switch ("), (this.subject ? this.subject.compileToFragments(o, LEVEL_PAREN) : this.makeCode("false")), this.makeCode(") {\n"));

                    Function relativeTimeMr has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        function relativeTimeMr(number, withoutSuffix, string, isFuture)
                        {
                            var output = '';
                            if (withoutSuffix) {
                                switch (string) {

                      Function fixCloneNodeIssues has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      function fixCloneNodeIssues( src, dest ) {
                          var nodeName, e, data;
                      
                          // We do not need to do anything for non-Elements
                          if ( dest.nodeType !== 1 ) {

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

                            cleanData: function( elems, /* internal */ forceAcceptData ) {
                                var elem, type, id, data,
                                    i = 0,
                                    internalKey = jQuery.expando,
                                    cache = jQuery.cache,

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

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

                            Function ReportDispatcher has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                              function ReportDispatcher(methods) {
                            
                                var dispatchedMethods = methods || [];
                            
                                for (var i = 0; i < dispatchedMethods.length; i++) {

                              Function toThrow has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                function toThrow(util) {
                                  return {
                                    compare: function(actual, expected) {
                                      var result = { pass: false },
                                        threw = false,

                                Function getSetOffset has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    function getSetOffset (input, keepLocalTime) {
                                        var offset = this._offset || 0,
                                            localAdjust;
                                        if (!this.isValid()) {
                                            return input != null ? this : NaN;

                                  Function computeWeekdaysParse has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function computeWeekdaysParse () {
                                          function cmpLenRev(a, b) {
                                              return b.length - a.length;
                                          }
                                  
                                  

                                    Function _normalizeArguments has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function _normalizeArguments( effect, options, speed, callback ) {
                                    
                                        // allow passing all options as the first parameter
                                        if ( $.isPlainObject( effect ) ) {
                                            options = effect;

                                      Function _mouseStop has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          _mouseStop: function(event) {
                                      
                                              this.resizing = false;
                                              var pr, ista, soffseth, soffsetw, s, left, top,
                                                  o = this.options, that = this;

                                        Function top has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                top: function( position, data ) {
                                                    var within = data.within,
                                                        withinOffset = within.offset.top + within.scrollTop,
                                                        outerHeight = within.height,
                                                        offsetTop = within.isWindow ? within.scrollTop : within.offset.top,
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language