angelakuo/citydogshare

View on GitHub

Showing 3,976 of 3,976 total issues

Function click has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

            click: function(event) {
              module.debug('Search result selected');
              var
                $result = $(this),
                $title  = $result.find(selector.title).eq(0),

    Function renderView has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function renderView(viewType, explicitScrollState) {
            ignoreWindowResize++;
    
            // if viewType is changing, remove the old view's rendering
            if (currentView && viewType && currentView.type !== viewType) {

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

                select: function() {
                  var
                    selectValues  = module.get.selectValues()
                  ;
                  module.debug('Dropdown initialized on a select', selectValues);

        Function offstagePosition has 34 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                  offstagePosition: function(position) {
                    var
                      boundary  = {
                        top    : $(window).scrollTop(),
                        bottom : $(window).scrollTop() + $(window).height(),

          Function setOffset has 34 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              setOffset: function( elem, options, i ) {
                  var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,
                      position = jQuery.css( elem, "position" ),
                      curElem = jQuery( elem ),
                      props = {};

            Function compileArray has 34 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                Range.prototype.compileArray = function(o) {
                  var args, body, cond, hasArgs, i, idt, j, post, pre, range, ref3, ref4, result, results, vars;
                  if (this.fromNum && this.toNum && Math.abs(this.fromNum - this.toNum) <= 20) {
                    range = (function() {
                      results = [];

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

                  Call.prototype.compileNode = function(o) {
                    var arg, argIndex, compiledArgs, compiledArray, fragments, j, len1, preface, ref3, ref4;
                    if ((ref3 = this.variable) != null) {
                      ref3.front = this.front;
                    }

                Function setOffset has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    setOffset: function( elem, options, i ) {
                        var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,
                            position = jQuery.css( elem, "position" ),
                            curElem = jQuery( elem ),
                            props = {};

                  Function adjustCSS has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function adjustCSS( elem, prop, valueParts, tween ) {
                      var adjusted,
                          scale = 1,
                          maxIterations = 20,
                          currentValue = tween ?

                    Function load has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    jQuery.fn.load = function( url, params, callback ) {
                        if ( typeof url !== "string" && _load ) {
                            return _load.apply( this, arguments );
                        }
                    
                    

                      Function specFactory has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          var specFactory = function(description, fn, suite, timeout) {
                            totalSpecsDefined++;
                            var spec = new j$.Spec({
                              id: getNextSpecId(),
                              beforeAndAfterFns: beforeAndAfterFns(suite),

                        Function _eventHandler has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            _eventHandler: function( event ) {
                                var options = this.options,
                                    active = this.active,
                                    anchor = $( event.currentTarget ),
                                    tab = anchor.closest( "li" ),

                          Function summaryList has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                function summaryList(resultsTree, domParent) {
                                  var specListNode;
                                  for (var i = 0; i < resultsTree.children.length; i++) {
                                    var resultNode = resultsTree.children[i];
                                    if (resultNode.type == 'suite') {

                            Function _slide has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                _slide: function( event, index, newVal ) {
                                    var otherVal,
                                        newValues,
                                        allowed;
                            
                            

                              Function _makeDraggable has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  _makeDraggable: function() {
                                      var that = this,
                                          options = this.options;
                              
                                      function filteredUi( ui ) {

                                Function Video has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    Video = function( type, id ) {
                                
                                        for( var i=0; i<_video._inst.length; i++ ) {
                                            if ( _video._inst[i].id === id && _video._inst[i].type == type ) {
                                                return _video._inst[i];

                                  Function _slide has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      _slide: function( event, index, newVal ) {
                                          var otherVal,
                                              newValues,
                                              allowed;
                                  
                                  

                                    Function _makeDraggable has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        _makeDraggable: function() {
                                            var that = this,
                                                options = this.options;
                                    
                                            function filteredUi( ui ) {

                                      Function _eventHandler has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          _eventHandler: function( event ) {
                                              var options = this.options,
                                                  active = this.active,
                                                  anchor = $( event.currentTarget ),
                                                  tab = anchor.closest( "li" ),

                                        Consider simplifying this complex logical expression.
                                        Open

                                            if ( initialInUnit && initialInUnit[ 3 ] !== unit ) {
                                        
                                                // Trust units reported by jQuery.css
                                                unit = unit || initialInUnit[ 3 ];
                                        
                                        
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language