Showing 235 of 1,765 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
for ( type in data.events ) {
if ( special[ type ] ) {
jQuery.event.remove( elem, type );
// This is a shortcut to avoid jQuery.event.remove's overhead
- 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
for (const rule of validationRule) {
isAndValid = isAndValid && atk.formService.validateField(this.$el, inputName, rule);
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
else if (eventTarget === self.currentYearElement) {
changeYear(self.currentYear - delta);
}
else if (self.config.enableTime) {
if (!isTimeObj && self.hourElement)
- Create a ticketCreate a ticket
Function drawBorder
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function drawBorder(ctx, element, offset, spacing, endAngle, circular) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
else if (!isBackSlash)
regexStr += ".";
- Create a ticketCreate a ticket
Function getNearestItems
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function getNearestItems(chart, position, axis, intersect, useFinalPosition, includeInvisible) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if ( ( elem = matcherOut[ i ] ) ) {
// Restore matcherIn since elem is not yet a final match
temp.push( ( matcherIn[ i ] = elem ) );
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (e.ctrlKey) {
e.stopPropagation();
changeYear(self.currentYear - delta);
focusOnDay(getFirstAvailableDay(1), 0);
}
- 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
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 _applyDecs2305
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function _applyDecs2305(e, t, r, a, n, i) {
- 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 (e.ctrlKey) {
e.stopPropagation();
changeYear(self.currentYear - delta);
focusOnDay(getFirstAvailableDay(1), 0);
}
- 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 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 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
Avoid deeply nested control flow statements. Open
Open
if ( restoreDisplay == null ) {
display = style.display;
restoreDisplay = display === "none" ? "" : display;
}
- Create a ticketCreate a ticket