lib/es6_global/src/core/atom_component/dragTree/component/treeNode/AssetTreeNode.js
Function make
has 16 arguments (exceeds 4 allowed). Consider refactoring. Wontfix
Wontfix
function make(id, name, isSelected, isActive, dragImg, widget, icon, onSelect, onDrop, isWidget, isShowChildren, isHasChildren, checkNodeRelation, handleToggleShowTreeChildren, treeChildren, _children) {
Function _renderDragableText
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
function _renderDragableText(param, param$1, param$2) {
var checkNodeRelationFunc = param$2[2];
var isWidgetFunc = param$2[1];
var onSelectFunc = param$2[0];
var dragImg = param$1[2];
Function reducer
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
function reducer(isShowChildren, param, action) {
var handleToggleShowTreeChildren = param[1];
var onDropFunc = param[0];
if (typeof action === "number") {
switch (action) {