Showing 1,637 of 1,637 total issues
Function _mouseStop
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseStop: function(event) {
this.resizing = false;
var pr, ista, soffseth, soffsetw, s, left, top,
o = this.options, that = this;
Function render
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render: function () {
var values = this.values,
target = this.target,
regionShapes = this.regionShapes,
shapes, ids, i, j;
Function add_option
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
SelectParser.prototype.add_option = function(option, group_position, group_disabled) {
if (option.nodeName.toUpperCase() === "OPTION") {
if (option.text !== "") {
if (group_position != null) {
this.parsed[group_position].children += 1;
Function resize
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
resize: function (event, ui) {
var that = $(this).data("ui-resizable"),
o = that.options,
os = that.originalSize,
op = that.originalPosition,
Function renderSlice
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderSlice: function (valuenum, highlight) {
var target = this.target,
options = this.options,
radius = this.radius,
borderWidth = options.get('borderWidth'),
Function focus
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
focus: function( event, item ) {
var nested, focused;
this.blur( event, event && event.type === "focus" );
this._scrollIntoView( item );
Function _fnScrollBarWidth
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnScrollBarWidth ()
{
var inner = document.createElement('p');
var style = inner.style;
style.width = "100%";
Function findDotsAtSegment
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
R.findDotsAtSegment = function (p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t) {
var t1 = 1 - t,
t13 = pow(t1, 3),
t12 = pow(t1, 2),
t2 = t * t,
Function status
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
elproto.status = function (anim, value) {
var out = [],
i = 0,
len,
e;
Function addArrow
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var addArrow = function (o, value, isEnd) {
var values = Str(value).toLowerCase().split("-"),
se = isEnd ? "end" : "start",
i = values.length,
type = "classic",
Function getFont
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
paperproto.getFont = function (family, weight, style, stretch) {
stretch = stretch || "normal";
style = style || "normal";
weight = +weight || {normal: 400, bold: 700, lighter: 300, bolder: 800}[weight] || 400;
if (!R.fonts) {
Function render
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render: function(args) {
args = args || {};
var graph = this.graph;
Function off
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
off: function( types, selector, fn ) {
var handleObj, type;
if ( types && types.preventDefault && types.handleObj ) {
// ( event ) dispatched jQuery.Event
handleObj = types.handleObj;
Function *
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
"*": [function( prop, value ) {
var tween = this.createTween( prop, value ),
target = tween.cur(),
parts = rfxnum.exec( value ),
unit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),
Function offset
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.fn.offset = function( options ) {
if ( arguments.length ) {
return options === undefined ?
this :
this.each(function( i ) {
Consider simplifying this complex logical expression. Open
Open
if((this.options.revert === "invalid" && !dropped) || (this.options.revert === "valid" && dropped) || this.options.revert === true || ($.isFunction(this.options.revert) && this.options.revert.call(this.element, dropped))) {
$(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), function() {
if(that._trigger("stop", event) !== false) {
that._clear();
}
Consider simplifying this complex logical expression. Open
Open
if ($.datepicker._datepickerShowing) {
switch (event.keyCode) {
case 9: $.datepicker._hideDatepicker();
handled = false;
break; // hide on tab out
Function _drawPieSlice
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_drawPieSlice: function (shapeid, x, y, radius, startAngle, endAngle, lineColor, fillColor) {
Consider simplifying this complex logical expression. Open
Open
if ( this.options.tolerance === "pointer" ||
this.options.forcePointerForContainers ||
(this.options.tolerance !== "pointer" && this.helperProportions[this.floating ? "width" : "height"] > item[this.floating ? "width" : "height"])
) {
return isOverElement;
Function _generateMonthYearHeader
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
secondary, monthNames, monthNamesShort) {