dist/ng-tree-dnd.debug.js
function _fnAfter(options, node, isNodePassed, isChildPassed, isParentPassed) {
                if (isNodePassed === true) {
                    node.__filtered__         = true;
                    node.__filtered_visible__ = true;
                    node.__filtered_index__   = options.filter_index++;
                    return; //jmp
                } else if (isChildPassed === true && options.showParent === true
                    || isParentPassed === true && options.showChild === true) {
                    node.__filtered__         = false;
                    node.__filtered_visible__ = true;
                    node.__filtered_index__   = options.filter_index++;
                    return; //jmp
                }

                // remove attr __filtered__
                delete node.__filtered__;
                delete node.__filtered_visible__;
                delete node.__filtered_index__;
            }
function _fnAfter(options, node, isNodePassed, isChildPassed, isParentPassed) {
                if (isNodePassed === true) {
                    node.__filtered__         = true;
                    node.__filtered_visible__ = true;
                    node.__filtered_index__   = options.filter_index++;
                    return; //jmp
                } else if (isChildPassed === true && options.showParent === true
                    || isParentPassed === true && options.showChild === true) {
                    node.__filtered__         = false;
                    node.__filtered_visible__ = true;
                    node.__filtered_index__   = options.filter_index++;
                    return; //jmp
                }

                // remove attr __filtered__
                delete node.__filtered__;
                delete node.__filtered_visible__;
                delete node.__filtered_index__;
            }
function _fnAfter ( options , node , isNodePassed , isChildPassed , isParentPassed ) { if ( isNodePassed === true ) { node . __filtered__ = true ; node . __filtered_visible__ = true ; node . __filtered_index__ = options . filter_index ++ ; return ; //jmp } else if ( isChildPassed === true && options . showParent === true || isParentPassed === true && options . showChild === true ) { node . __filtered__ = false ; node . __filtered_visible__ = true ; node . __filtered_index__ = options . filter_index ++ ; return ; //jmp } // remove attr __filtered__ delete node . __filtered__ ; delete node . __filtered_visible__ ; delete node . __filtered_index__ ; }
Will call _fnAfter to clear data no need
@param {object} options
@param {object} node
@param {boolean} isNodePassed
@param {boolean} isChildPassed
@param {boolean} isParentPassed
@private
Will call _fnAfter to clear data no need