Showing 1,783 of 1,785 total issues
Avoid deeply nested control flow statements. Open
Open
if ( attrs[ i ] ) {
name = attrs[ i ].name;
if ( name.indexOf( "data-" ) === 0 ) {
name = camelCase( name.slice( 5 ) );
dataAttr( elem, name, data[ name ] );
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if ( rscriptType.test( node.type || "" ) &&
!dataPriv.access( node, "globalEval" ) &&
jQuery.contains( doc, node ) ) {
if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
else if (!isBackSlash)
regexStr += "."; // don't really care
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
else if (self.hourElement)
self.hourElement.focus();
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (i !== -1) {
var target = elems[i + (e.shiftKey ? -1 : 1)];
e.preventDefault();
(target || self._input).focus();
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
else if (!self.config.noCalendar &&
self.daysContainer &&
self.daysContainer.contains(eventTarget) &&
e.shiftKey) {
e.preventDefault();
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
for ( match in context ) {
// Properties of context are called as methods if possible
if ( isFunction( this[ match ] ) ) {
this[ match ]( context[ match ] );
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if ( matchedSelectors[ sel ] ) {
matchedHandlers.push( handleObj );
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
else if (!self.config.noCalendar &&
self.daysContainer &&
self.daysContainer.contains(eventTarget) &&
e.shiftKey) {
e.preventDefault();
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if ( matchedSelectors[ sel ] === undefined ) {
matchedSelectors[ sel ] = handleObj.needsContext ?
jQuery( sel, this ).index( cur ) > -1 :
jQuery.find( sel, this, null, [ cur ] ).length;
}
- Create a ticketCreate a ticket
Function render
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function render(_ctx, _cache, $props, $setup, $data, $options) {
- Create a ticketCreate a ticket
Function renderText
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function renderText(ctx, text, x, y, font, opts = {}) {
- Create a ticketCreate a ticket
Function getNearestCartesianItems
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function getNearestCartesianItems(chart, position, axis, intersect, useFinalPosition, includeInvisible) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if ( ( ofType ?
nodeName( node, name ) :
node.nodeType === 1 ) &&
++diff ) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if ( ( event.result = ret ) === false ) {
event.preventDefault();
event.stopPropagation();
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
while (wrapper.firstChild)
wrapper.parentNode.insertBefore(wrapper.firstChild, wrapper);
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if ( match[ 2 ] ) {
push.apply( results, context.getElementsByTagName( selector ) );
return results;
// Class selector
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if ( Expr.relative[ tokens[ j ].type ] ) {
break;
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
for (const rule of validationRule) {
isAndValid = isAndValid && atk.formService.validateField(this.$el, inputName, rule);
}
- Create a ticketCreate a ticket
Function render
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function render(_ctx, _cache, $props, $setup, $data, $options) {
- Create a ticketCreate a ticket