src/component/graphic.js
function getCleanedElOption(elOption) {
    elOption = zrUtil.extend({}, elOption);
    zrUtil.each(
        ['id', 'parentId', '$action', 'hv', 'bounding'].concat(layoutUtil.LOCATION_PARAMS),
        function (name) {
            delete elOption[name];
        }
    );
    return elOption;
}
function getCleanedElOption(elOption) {
    elOption = zrUtil.extend({}, elOption);
    zrUtil.each(
        ['id', 'parentId', '$action', 'hv', 'bounding'].concat(layoutUtil.LOCATION_PARAMS),
        function (name) {
            delete elOption[name];
        }
    );
    return elOption;
}
function getCleanedElOption ( elOption ) { elOption = zrUtil . extend ( { } , elOption ) ; zrUtil . each ( [ 'id' , 'parentId' , '$action' , 'hv' , 'bounding' ] . concat ( layoutUtil . LOCATION_PARAMS ) , function ( name ) { delete elOption [ name ] ; } ) ; return elOption ; }
Remove unnecessary props to avoid potential problems.
Remove unnecessary props to avoid potential problems .