Showing 135 of 334 total issues
File viewable_calendar-editable.js
has 5492 lines of code (exceeds 250 allowed). Consider refactoring. Open
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 viewable_fullcalendar.js
has 4418 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* FullCalendar v1.6.4
* Docs & License: http://arshaw.com/fullcalendar/
* (c) 2013 Adam Shaw
*/
Function AgendaView
has 684 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function AgendaView(element, calendar, viewName) {
var t = this;
// exports
Function AgendaEventRenderer
has 536 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function AgendaEventRenderer() {
var t = this;
// exports
Function DayEventRenderer
has 463 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function DayEventRenderer() {
var t = this;
// exports
Function BasicView
has 371 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function BasicView(element, calendar, viewName) {
var t = this;
// exports
Function Calendar
has 360 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Calendar(element, options, eventSources) {
var t = this;
// exports
Function View
has 328 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function View(element, calendar, viewName) {
var t = this;
// exports
Function EventManager
has 303 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function EventManager(options, _sources) {
var t = this;
// exports
Function size
has 156 lines of code (exceeds 25 allowed). Consider refactoring. Open
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
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
Open
function Header(calendar, options) {
var t = this;
// exports
Function _create
has 125 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function () {
var n, i, handle, axis, hname,
that = this,
o = this.options;
Function renderSlotSegs
has 109 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function renderSlotSegs(segs, modifiedEventId) {
var i, segCnt = segs.length, seg,
event,
top,
Function draggableSlotEvent
has 107 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function draggableSlotEvent(event, eventElement, timeElement) {
var coordinateGrid = t.getCoordinateGrid();
var colCnt = getColCnt();
var colWidth = getColWidth();
var snapHeight = getSnapHeight();
Function _clear
has 99 lines of code (exceeds 25 allowed). Consider refactoring. Open
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
Function calendar
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var calendar = function () {
// page is now ready, initialize the calendar...
var current_room = function () {
return window.location.href.match(/rooms\/(\d+)\/viewings/)[1];
};
Function draggableDayEvent
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function draggableDayEvent(event, eventElement, seg) {
var isStart = seg.isStart;
var origWidth;
var revert;
var allDay = true;
Function _mouseDrag
has 82 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseDrag: function (event) {
this.dragged = true;
if (this.options.disabled) {
Function renderSection
has 81 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function renderSection(position) {
var e = $("<td class='fc-header-" + position + "'/>");
var buttonStr = options.header[position];
if (buttonStr) {
$.each(buttonStr.split(' '), function (i) {