angelakuo/citydogshare

View on GitHub

Showing 2,136 of 3,976 total issues

Function addTheme has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

Galleria.addTheme = function( theme ) {

    // make sure we have a name
    if ( !theme.name ) {
        Galleria.raise('No theme name specified');

    Function item has 49 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                    item: function( rowCounter ) {
    
                        // If Monday is the first day and the month starts on Sunday, shift the date back a week.
                        var shiftDateBy = settings.firstDay && calendar.create([ viewsetObject.year, viewsetObject.month, 1 ]).day === 0 ? -7 : 0
    
    

      Function item has 49 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

                      item: function( rowCounter ) {
      
                          // If Monday is the first day and the month starts on Sunday, shift the date back a week.
                          var shiftDateBy = settings.firstDay && calendar.create([ viewsetObject.year, viewsetObject.month, 1 ]).day === 0 ? -7 : 0
      
      

        Function _setOption has 49 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            _setOption: function( key, value ) {
                var isDraggable, isResizable,
                    uiDialog = this.uiDialog;
        
                if ( key === "dialogClass" ) {

          Function makeMoment has 48 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function makeMoment(args, parseAsUTC, parseZone) {
              var input = args[0];
              var isSingleString = args.length == 1 && typeof input === 'string';
              var isAmbigTime;
              var isAmbigZone;

            Function fgSegHtml has 48 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                fgSegHtml: function(seg, disableResizing) {
                    var view = this.view;
                    var event = seg.event;
                    var isDraggable = view.isEventDraggable(event);
                    var isResizableFromStart = !disableResizing && event.allDay &&

              Function internalData has 48 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function internalData( elem, name, data, pvt /* Internal Use Only */ ) {
                  if ( !acceptData( elem ) ) {
                      return;
                  }
              
              

                Function _mouseCapture has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    _mouseCapture: function( event ) {
                        var position, normValue, distance, closestHandle, index, allowed, offset, mouseOverHandle,
                            that = this,
                            o = this.options;
                
                

                  Function _determineDate has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      _determineDate: function(inst, date, defaultDate) {
                          var offsetNumeric = function(offset) {
                                  var date = new Date();
                                  date.setDate(date.getDate() + offset);
                                  return date;

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

                                    complete: function( next ) {
                    
                                        // toggle low quality for IE
                                        if ( 'image' in active ) {
                                            Utils.toggleQuality( active.image, false );

                      Function _determineDate has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          _determineDate: function(inst, date, defaultDate) {
                              var offsetNumeric = function(offset) {
                                      var date = new Date();
                                      date.setDate(date.getDate() + offset);
                                      return date;

                        Function _mouseCapture has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            _mouseCapture: function( event ) {
                                var position, normValue, distance, closestHandle, index, allowed, offset, mouseOverHandle,
                                    that = this,
                                    o = this.options;
                        
                        

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

                          select = Sizzle.select = function( selector, context, results, seed ) {
                              var i, tokens, token, type, find,
                                  compiled = typeof selector === "function" && selector,
                                  match = !seed && tokenize( (selector = compiled.selector || selector) );
                          
                          

                            Function expandEvent has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                function expandEvent(abstractEvent, _rangeStart, _rangeEnd) {
                                    var events = [];
                                    var dowHash;
                                    var dow;
                                    var i;

                              Function item has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                        item: function(value, strict) {
                                          var
                                            $selectedItem = false
                                          ;
                                          value = (value !== undefined)

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

                                select = Sizzle.select = function( selector, context, results, seed ) {
                                    var i, tokens, token, type, find,
                                        compiled = typeof selector === "function" && selector,
                                        match = !seed && tokenize( (selector = compiled.selector || selector) );
                                
                                

                                  Function fetch has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                            fetch: function(tabPath, fullTabPath) {
                                              var
                                                $tab             = module.get.tabElement(tabPath),
                                                apiSettings      = {
                                                  dataType     : 'html',

                                    Function unfoldSoak has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        Call.prototype.unfoldSoak = function(o) {
                                          var call, ifn, j, left, len1, list, ref3, ref4, rite;
                                          if (this.soak) {
                                            if (this.variable) {
                                              if (ifn = unfoldSoak(o, this, 'variable')) {

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

                                      select = Sizzle.select = function( selector, context, results, seed ) {
                                          var i, tokens, token, type, find,
                                              compiled = typeof selector === "function" && selector,
                                              match = !seed && tokenize( (selector = compiled.selector || selector) );
                                      
                                      

                                        Function util has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        getJasmineRequireObj().util = function() {
                                        
                                          var util = {};
                                        
                                          util.inherit = function(childClass, parentClass) {
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language