Showing 70 of 70 total issues
Avoid deeply nested control flow statements. Open
Open
if (linkContextId === 'additional') {
var mainToggler = activeMenu.querySelector(
'.chapter.' + linkContextId + ' div.menu-toggler'
);
if (mainToggler) {
Avoid deeply nested control flow statements. Open
Open
if (COMPONENTS[j].name === newNodes[i].name) {
document.location.href = currentLocation.origin + currentLocation.pathname.replace(ACTUAL_COMPONENT.name, newNodes[i].name);
}
Avoid deeply nested control flow statements. Open
Open
if (s1.charAt(i - 1) !== s2.charAt(j - 1)) {
newValue = Math.min(Math.min(newValue, lastValue), costs[j]) + 1
}
Avoid deeply nested control flow statements. Open
Open
if (toggler) {
toggler.click();
}
Avoid deeply nested control flow statements. Open
Open
if (toggler) {
toggler.click();
}
Avoid deeply nested control flow statements. Open
Open
for(attr in value.attributes) {
if (DIRECTIVES[i].selector.indexOf(attr) !== -1) {
newNode.font = {
multi: 'html'
};
Avoid deeply nested control flow statements. Open
Open
if (parentUl) {
parentChapterMenu = parentUl.parentNode;
if (parentChapterMenu) {
var toggler = parentChapterMenu.querySelector('.menu-toggler'),
elementIconChild =
Avoid deeply nested control flow statements. Open
Open
if (toggler) {
toggler.click();
}
Avoid deeply nested control flow statements. Open
Open
if (parentUl) {
parentChapterMenu = parentUl.parentNode;
if (parentChapterMenu) {
var toggler = parentChapterMenu.querySelector('.menu-toggler'),
elementIconChild =
Avoid deeply nested control flow statements. Open
Open
if (linkContextId === 'additional') {
var mainToggler = activeMenu.querySelector(
'.chapter.' + linkContextId + ' div.menu-toggler'
);
if (mainToggler) {