angelakuo/citydogshare

View on GitHub

Showing 3,976 of 3,976 total issues

Function core has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  getJasmineRequire().core = function(jRequire) {
    var j$ = {};

    jRequire.base(j$, jasmineGlobal);
    j$.util = jRequire.util();

    Function fadeInImage has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      Materialize.fadeInImage =  function(selectorOrEl) {
        var element;
        if (typeof(selectorOrEl) === 'string') {
          element = $(selectorOrEl);
        } else if (typeof(selectorOrEl) === 'object') {

      Function refreshPositions has 33 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          refreshPositions: function(fast) {
      
              // Determine whether items are being displayed horizontally
              this.floating = this.items.length ?
                  this.options.axis === "x" || this._isFloating( this.items[ 0 ].item ) :

        Function _keydown has 33 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            _keydown: function( event ) {
                if ( event.altKey || event.ctrlKey ) {
                    return;
                }
        
        

          Function complete has 33 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                              complete: function( thumb ) {
          
                                  // shrink thumbnails to fit
                                  var top = ['left', 'top'],
                                      arr = ['Width', 'Height'],

            Function fadeInImage has 33 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              Materialize.fadeInImage =  function(selectorOrEl) {
                var element;
                if (typeof(selectorOrEl) === 'string') {
                  element = $(selectorOrEl);
                } else if (typeof(selectorOrEl) === 'object') {

              Function loop has 33 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                      loop: function() {
              
                          var distance = this.to - this.pos,
                              factor = 1;
              
              

                Function fadeInImage has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                  Materialize.fadeInImage =  function(selectorOrEl) {
                    var element;
                    if (typeof(selectorOrEl) === 'string') {
                      element = $(selectorOrEl);
                    } else if (typeof(selectorOrEl) === 'object') {

                  Function _keydown has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      _keydown: function( event ) {
                          if ( event.altKey || event.ctrlKey ) {
                              return;
                          }
                  
                  

                    Function refreshPositions has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        refreshPositions: function(fast) {
                    
                            // Determine whether items are being displayed horizontally
                            this.floating = this.items.length ?
                                this.options.axis === "x" || this._isFloating( this.items[ 0 ].item ) :

                      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 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 refresh has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

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

                            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 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) {
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language