function (zr) {
        this.__zr = null;
        // 移除动画
        var animators = this.animators;
        if (animators) {
            for (var i = 0; i < animators.length; i++) {
                zr.animation.removeAnimator(animators[i]);
            }
        }

        if (this.clipPath) {
            this.clipPath.removeSelfFromZr(zr);
        }
    }
function (zr) {
        this.__zr = null;
        // 移除动画
        var animators = this.animators;
        if (animators) {
            for (var i = 0; i < animators.length; i++) {
                zr.animation.removeAnimator(animators[i]);
            }
        }

        if (this.clipPath) {
            this.clipPath.removeSelfFromZr(zr);
        }
    }
function ( zr ) { this . __zr = null ; // 移除动画 var animators = this . animators ; if ( animators ) { for ( var i = 0 ; i < animators . length ; i ++ ) { zr . animation . removeAnimator ( animators [ i ] ) ; } } if ( this . clipPath ) { this . clipPath . removeSelfFromZr ( zr ) ; } }
Remove self from zrender instance.
Not recursively because it will be invoked when element added to storage.
@param {module:zrender/ZRender} zr
Remove self from zrender instance . Not recursively because it will be invoked when element added to storage .
remove self from zr