crmis/viewable-gem

View on GitHub

Showing 132 of 325 total issues

File calendar-editable.js has 5356 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*! jQuery UI - v1.10.3 - 2013-10-31
* http://jqueryui.com
* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.effect.js, jquery.ui.effect-drop.js, jquery.ui.effect-fade.js, jquery.ui.effect-scale.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */

    File fullcalendar.js has 4306 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*!
     * FullCalendar v1.6.4
     * Docs & License: http://arshaw.com/fullcalendar/
     * (c) 2013 Adam Shaw
     */

      Function AgendaView has 660 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function AgendaView(element, calendar, viewName) {
          var t = this;
      
      
          // exports

        Function AgendaEventRenderer has 536 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function AgendaEventRenderer() {
            var t = this;
        
        
            // exports

          Function DayEventRenderer has 463 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function DayEventRenderer() {
              var t = this;
          
          
              // exports

            Function BasicView has 359 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function BasicView(element, calendar, viewName) {
                var t = this;
            
            
                // exports

              Function Calendar has 356 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function Calendar(element, options, eventSources) {
                  var t = this;
              
              
                  // exports

                Function View has 329 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function View(element, calendar, viewName) {
                    var t = this;
                
                
                    // exports

                  Function EventManager has 303 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function EventManager(options, _sources) {
                      var t = this;
                  
                  
                      // exports

                    Function size has 156 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    $.effects.effect.size = function( o, done ) {
                    
                        // Create element
                        var original, baseline, factor,
                            el = $( this ),

                      Function position has 147 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      $.fn.position = function( options ) {
                          if ( !options || !options.of ) {
                              return _position.apply( this, arguments );
                          }
                      
                      

                        Function Header has 130 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        function Header(calendar, options) {
                            var t = this;
                        
                        
                            // exports

                          Function renderSlotSegs has 109 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              function renderSlotSegs(segs, modifiedEventId) {
                          
                                  var i, segCnt=segs.length, seg,
                                      event,
                                      top,

                            Function _create has 107 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                _create: function() {
                            
                                    var n, i, handle, axis, hname,
                                        that = this,
                                        o = this.options;

                              Function draggableSlotEvent has 107 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function draggableSlotEvent(event, eventElement, timeElement) {
                                      var coordinateGrid = t.getCoordinateGrid();
                                      var colCnt = getColCnt();
                                      var colWidth = getColWidth();
                                      var snapHeight = getSnapHeight();

                                Function calendar has 99 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                var calendar = function () {
                                
                                  // page is now ready, initialize the calendar...
                                
                                  var current_resource = function () {

                                  Function draggableDayEvent has 85 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function draggableDayEvent(event, eventElement, seg) {
                                          var isStart = seg.isStart;
                                          var origWidth;
                                          var revert;
                                          var allDay = true;

                                    Function renderSection has 81 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        function renderSection(position) {
                                            var e = $("<td class='fc-header-" + position + "'/>");
                                            var buttonStr = options.header[position];
                                            if (buttonStr) {
                                                $.each(buttonStr.split(' '), function(i) {

                                      Function resizableDayEvent has 79 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          function resizableDayEvent(event, element, segment) {
                                              var isRTL = opt('isRTL');
                                              var direction = isRTL ? 'w' : 'e';
                                              var handle = element.find('.ui-resizable-' + direction); // TODO: stop using this class because we aren't using jqui for this
                                              var isResizing = false;

                                        Function _clear has 77 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            _clear: function(event, noPropagation) {
                                        
                                                this.reverting = false;
                                                // We delay all events that have to be triggered to after the point where the placeholder has been removed and
                                                // everything else normalized again
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language