Showing 166 of 228 total issues
Function done
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function done( status, nativeStatusText, responses, headers ) {
// Called once
if ( state === 2 ) {
return;
Function filter
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Sizzle.filter = function( expr, set, inplace, not ) {
var match, anyFound,
old = expr,
result = [],
curLoop = set,
Function goToPreviousSlide
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.goToPreviousSlide = function(stopAuto){
// check if stopAuto argument is supplied
if(typeof(stopAuto) == 'undefined'){
var stopAuto = true;
}
Function init
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init: function( selector, context, rootjQuery ) {
var match, elem, ret, doc;
// Handle $(""), $(null), or $(undefined)
if ( !selector ) {
Function _Deferred
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_Deferred: function() {
var // callbacks list
callbacks = [],
// stored [ context , args ]
fired,
Function liveHandler
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function liveHandler( event ) {
var stop, maxLevel, related, match, handleObj, elem, j, i, l, data, close, namespace, ret,
elems = [],
selectors = [],
events = jQuery._data( this, "events" );
Function goToNextSlide
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.goToNextSlide = function(stopAuto){
// check if stopAuto argument is supplied
if(typeof(stopAuto) == 'undefined'){
var stopAuto = true;
}
Function init
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init: function(e) {
e.delimiter = ", ";
function split( val ) {
return val.split( e.delimiter );
}
Function Deferred
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Deferred: function( func ) {
var deferred = jQuery._Deferred(),
failDeferred = jQuery._Deferred(),
promise;
// Add errorDeferred methods, then and promise
Function ajaxConvert
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ajaxConvert( s, response ) {
// Apply the dataFilter if provided
if ( s.dataFilter ) {
response = s.dataFilter( response, s.dataType );
Function setAutoInterval
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setAutoInterval(){
if(options.auto){
// finite loop
if(!options.infiniteLoop){
if(options.autoDirection == 'next'){
Function offset
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.fn.offset = function( options ) {
var elem = this[0];
if ( options ) {
return this.each(function( i ) {
Function data
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
data: function( elem, name, data, pvt /* Internal Use Only */ ) {
if ( !jQuery.acceptData( elem ) ) {
return;
}
Function removeData
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
removeData: function( elem, name, pvt /* Internal Use Only */ ) {
if ( !jQuery.acceptData( elem ) ) {
return;
}
Function initCss
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function initCss(){
// layout the children
setChildrenLayout(options.startingSlide);
// CSS for horizontal mode
if(options.mode == 'horizontal'){
Function Timepicker
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Timepicker() {
this.regional = []; // Available regional settings, indexed by language code
this.regional[''] = { // Default regional settings
currentText: 'Now',
closeText: 'Done',
Function _newInst
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_newInst: function($input, o) {
var tp_inst = new Timepicker(),
inlineSettings = {};
for (var attrName in this._defaults) {
Function name
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.fn[ name ] = function( types, data, fn, origSelector /* Internal Use Only */ ) {
var type, i = 0, match, namespaces, preType,
selector = origSelector || this.selector,
context = origSelector ? this : jQuery( this.context );
Function domManip
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
domManip: function( args, table, callback ) {
var results, first, fragment, parent,
value = args[0],
scripts = [];
Function ajaxHandleResponses
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ajaxHandleResponses( s, jqXHR, responses ) {
var contents = s.contents,
dataTypes = s.dataTypes,
responseFields = s.responseFields,