Showing 67 of 86 total issues
Avoid deeply nested control flow statements. Open
Open
for ( var handle in events[type] )
// Handle the removal of namespaced events
if ( namespace.test(events[type][handle].type) )
delete events[type][handle];
Function ATTR
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ATTR: function(match, curLoop, inplace, result, not, isXML){
Avoid deeply nested control flow statements. Open
Open
if ( !isXML ) {
elem.sizcache = doneName;
elem.sizset = i;
}
Avoid deeply nested control flow statements. Open
Open
if ( !match ) {
anyFound = found = true;
} else if ( match === true ) {
continue;
}
Avoid deeply nested control flow statements. Open
Open
for ( var i = 0; (item = curLoop[i]) != null; i++ ) {
if ( item ) {
found = filter( item, match, i, curLoop );
var pass = not ^ !!found;
Avoid deeply nested control flow statements. Open
Open
if ( display === "none" )
display = "block";
Function CLASS
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
CLASS: function(match, curLoop, inplace, result, not, isXML){
Function dirCheck
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
Avoid deeply nested control flow statements. Open
Open
if ( typeof cur !== "string" ) {
if ( elem === cur ) {
match = true;
break;
}
Consider simplifying this complex logical expression. Open
Open
if ( s.dataType == "script" && type == "GET" && parts
&& ( parts[1] && parts[1] != location.protocol || parts[2] != location.host )){
var head = document.getElementsByTagName("head")[0];
var script = document.createElement("script");
Function prop
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
prop: function( elem, value, type, i, name ) {
Function PSEUDO
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
PSEUDO: function(match, curLoop, inplace, result, not){
Method send_message_with_safe_check_with_rack_bug
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def send_message_with_safe_check_with_rack_bug(operation, message, db_name, log_message=nil, last_error_params=false)
Avoid too many return
statements within this function. Open
Open
return this.each(function(){
if ( this.nodeType != 1 )
return;
if ( jQuery.isArray(value) && /radio|checkbox/.test( this.type ) )
Avoid too many return
statements within this function. Open
Open
return this.setArray(jQuery.isArray( selector ) ?
selector :
jQuery.makeArray(selector));
Avoid too many return
statements within this function. Open
Open
return diff == 0;
Avoid too many return
statements within this function. Open
Open
return jQuery.attr( elem.style, "cssText", value );
Avoid too many return
statements within this function. Open
Open
return elem.filter && elem.filter.indexOf("opacity=") >= 0 ?
(parseFloat( elem.filter.match(/opacity=([^)]*)/)[1] ) / 100) + '':
"";
Avoid too many return
statements within this function. Open
Open
return elem[ name ];
Avoid too many return
statements within this function. Open
Open
return jQuery( document ).ready( selector );