Skip to content

clone() without attributes not working #219

@wolframkriesing

Description

@wolframkriesing

The docs say clone() takes optional attributes, from the source https://github.com/uxebu/bonsai/blob/master/src/runner/group.js#L45 it looks like it has to get an object, and it also fails if i call clone().
And if it only has one option, it feels better to have cloneWithAttributes() and clone() ... my 2 cents

current workaround is to use clone({attributes: true})

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions