Showing 175 of 609 total issues
Function _mouseStop
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseStop: function(event) {
var self = this;
this.dragged = false;
Function _mouseDown
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseDown: function(event) {
// we may have missed mouseup (out of window)
(this._mouseStarted && this._mouseUp(event));
this._mouseDownEvent = event;
Function _mouseDrag
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseDrag: function(event) {
//Compute the helpers position
this.position = this._generatePosition(event);
this.positionAbs = this._convertPositionTo("absolute");
Function _generateMonthYearHeader
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
selectedDate, secondary, showStatus, initStatus, monthNames) {
Function add
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add: function(url, label, index) {
if (index == undefined)
index = this.$tabs.length; // append by default
var o = this.options;
Function _mouseStart
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseStart: function(event) {
var o = this.options, iniPos = this.element.position(), el = this.element,
num = function(v) { return parseInt(v, 10) || 0; }, ie6 = $.browser.msie && $.browser.version < 7;
o.resizing = true;
Function _generatePosition
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_generatePosition: function(event) {
var o = this.options, scroll = this[(this.cssPosition == 'absolute' ? 'offset' : 'scroll')+'Parent'], scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName);
var position = {
Function _mouseDown
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseDown: function(e) {
// we may have missed mouseup (out of window)
(this._mouseStarted && this._mouseUp(e));
this._mouseDownEvent = e;
Function _dialogDatepicker
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_dialogDatepicker: function(input, dateText, onSelect, settings, pos) {
var inst = this._dialogInst; // internal instance
if (!inst) {
var id = 'dp' + (++this.uuid);
this._dialogInput = $('<input type="text" id="' + id +
Function _refreshItems
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_refreshItems: function(event) {
this.items = [];
this.containers = [this];
var items = this.items;
Function slide
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
slide: function(options, additions) {
options = $.extend({
easing: "swing",
duration: 300
}, options, additions);
Function _generatePosition
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_generatePosition: function(event) {
var o = this.options, scroll = this[(this.cssPosition == 'absolute' ? 'offset' : 'scroll')+'Parent'], scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName);
var position = {
Function _disableDatepicker
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_disableDatepicker: function(target) {
var $target = $(target);
if (!$target.hasClass(this.markerClassName)) {
return;
}
Function _intersectsWithEdge
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_intersectsWithEdge: function(item) {
var x1 = this.positionAbs.left, x2 = x1 + this.helperProportions.width,
y1 = this.positionAbs.top, y2 = y1 + this.helperProportions.height;
var l = item.left, r = l + item.width,
Function _contactContainers
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_contactContainers: function(event) {
for (var i = this.containers.length - 1; i >= 0; i--){
if(this._intersectsWith(this.containers[i].containerCache)) {
if(!this.containers[i].containerCache.over) {
Function _contactContainers
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_contactContainers: function(e) {
for (var i = this.containers.length - 1; i >= 0; i--){
if(this._intersectsWith(this.containers[i].containerCache)) {
if(!this.containers[i].containerCache.over) {
Function _init
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_init: function() {
var self = this;
this.element.addClass("ui-selectable");
Function _generatePosition
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_generatePosition: function(e) {
var o = this.options;
var position = {
top: (
Function rotate
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
rotate: function(ms, continuing) {
continuing = continuing || false;
var self = this, t = this.options.selected;
Function cancel
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
cancel: function() {
if(this.dragging) {
this._mouseUp();