Showing 135 of 334 total issues
Function drop
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.effect.drop = function (o, done) {
var el = $(this),
props = ["position", "top", "bottom", "left", "right", "opacity", "height", "width"],
mode = $.effects.setMode(el, o.mode || "hide"),
Function draggableDayEvent
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function draggableDayEvent(event, eventElement) {
var hoverListener = getHoverListener();
var dayDelta;
eventElement.draggable({
delay: 50,
Function setWidth
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setWidth(width) {
viewWidth = width;
colPositions.clear();
colContentPositions.clear();
Function drag
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
drag: function (draggable, event) {
//If you have a highly dynamic page, you might try this option. It renders positions every time you move the mouse.
if (draggable.options.refreshPositions) {
$.ui.ddmanager.prepareOffsets(draggable, event);
Function start
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
start: function () {
var element, p, co, ch, cw, width, height,
that = $(this).data("ui-resizable"),
o = that.options,
el = that.element,
Function resizableSlotEvent
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function resizableSlotEvent(event, eventElement, timeElement) {
var snapDelta, prevSnapDelta;
var snapHeight = getSnapHeight();
var snapMinutes = getSnapMinutes();
eventElement.resizable({
Function name
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn[name] = function (options) {
var isMethodCall = typeof options === "string",
args = slice.call(arguments, 1),
returnValue = this;
Function _mouseStart
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseStart: function (event) {
var curleft, curtop, cursor,
o = this.options,
iniPos = this.element.position(),
Function MonthView
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function MonthView(element, calendar) {
var t = this;
// exports
Function slide
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.effect.slide = function (o, done) {
// Create element
var el = $(this),
props = ["position", "top", "bottom", "left", "right", "width", "height"],
Function drag
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
drag: function (event) {
var i = $(this).data("ui-draggable"), o = i.options, scrolled = false;
if (i.scrollParent[0] !== document && i.scrollParent[0].tagName !== "HTML") {
Function CoordinateGrid
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function CoordinateGrid(buildFunc) {
var t = this;
var rows;
var cols;
Function _mouseCapture
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseCapture: function (event, overrideHandle) {
var currentItem = null,
validHandle = false,
that = this;
Function cancel
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
cancel: function () {
if (this.dragging) {
this._mouseUp({target: null});
Function effect
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
effect: function (/* effect, options, speed, callback */) {
var args = _normalizeArguments.apply(this, arguments),
mode = args.mode,
queue = args.queue,
effectMethod = $.effects.effect[args.effect];
Function sliceSegs
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function sliceSegs(events, visEventEnds, start, end) {
var segs = [],
i, len = events.length, event,
eventStart, eventEnd,
segStart, segEnd,
Function updateEvent
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function updateEvent(event) { // update an existing event
var i, len = cache.length, e,
defaultEventEnd = getView().defaultEventEnd, // getView???
startDelta = event.start - event._start,
endDelta = event.end ?
Function intersect
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.ui.intersect = function (draggable, droppable, toleranceMode) {
if (!droppable.offset) {
return false;
}
Function getSkinCss
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getSkinCss(event, opt) {
var source = event.source || {};
var eventColor = event.color;
var sourceColor = source.color;
var optionColor = opt('eventColor');
Function top
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
top: function (position, data) {
var within = data.within,
withinOffset = within.offset.top + within.scrollTop,
outerHeight = within.height,
offsetTop = within.isWindow ? within.scrollTop : within.offset.top,