Showing 257 of 576 total issues
Function _enter
has 136 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_enter: function( callback ) {
fullscreen.active = true;
if ( IFRAME ) {
Function _create
has 134 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
var n, i, handle, axis, hname,
that = this,
o = this.options;
Function _create
has 128 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
// for handling static scoping inside callbacks
var that = this;
// There are 2 kinds of DOM nodes this widget can be instantiated on:
Function _transitions
has 128 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_transitions = (function() {
var _slide = function(params, complete, fade, door) {
var easing = this.getOptions('easing'),
Function animate
has 118 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
animate : (function() {
// detect transition
var transition = (function( style ) {
var props = 'transition WebkitTransition MozTransition OTransition'.split(' '),
Function _create
has 115 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
this.element.closest( "form" )
.unbind( "reset" + this.eventNamespace )
.bind( "reset" + this.eventNamespace, formResetHandler );
Function load
has 110 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
load: function(src, size, callback) {
if ( typeof size == 'function' ) {
callback = size;
size = null;
Function _run
has 98 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_run : function() {
var self = this;
self._createThumbnails();
Consider simplifying this complex logical expression. Open
Open
if (((key >= KEY0 && key <= KEY9) || (key >= _KEY0 && key <= _KEY9)) || (key === BACKSPACE || key === DEL)) {
pos = getCaretPos(this);
digit = (key !== BACKSPACE && key !== DEL) ? String.fromCharCode((_KEY0 <= key && key <= _KEY9) ? key - KEY0 : key) : '_';
if ((key === BACKSPACE || key === DEL) && pos) {
Function init
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init : function() {
if ( lightbox.initialized ) {
return;
}
Function complete
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var complete = (function( data, next, active, queue, thumb ) {
return function() {
var win;
File tag-it.js
has 308 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* jQuery UI Tag-it!
*
* @version v2.0 (06/2011)
*
Function _doKeyDown
has 84 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_doKeyDown: function(event) {
var onSelect, dateStr, sel,
inst = $.datepicker._getInst(event.target),
handled = true,
isRTL = inst.dpDiv.is(".ui-datepicker-rtl");
Function show
has 83 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
show: function(index) {
lightbox.active = index = typeof index === 'number' ? index : self.getIndex() || 0;
if ( !lightbox.initialized ) {
Function success
has 83 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
success: function() {
// calculate some cropping
var newWidth = ( width - options.margin * 2 ) / self.original.width,
newHeight = ( height - options.margin * 2 ) / self.original.height,
Function success
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
success: function() {
// save the instance
_galleries.push( self );
Function formatDate
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
formatDate: function (format, date, settings) {
if (!date) {
return "";
}
Function _refresh
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_refresh: function() {
var maxHeight,
options = this.options,
heightStyle = options.heightStyle,
parent = this.element.parent();
Function show
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
show : function( index, rewind, _history ) {
var swipe = this._options.swipe;
// do nothing queue is long || index is false || queue is false and transition is in progress
Function Datepicker
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Datepicker() {
this._curInst = null; // The current instance in use
this._keyEvent = false; // If the last event was a key event
this._disabledInputs = []; // List of date picker inputs that have been disabled
this._datepickerShowing = false; // True if the popup picker is showing , false if not