Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clone() without attributes not working #219

Open
wolframkriesing opened this issue Sep 12, 2013 · 0 comments
Open

clone() without attributes not working #219

wolframkriesing opened this issue Sep 12, 2013 · 0 comments

Comments

@wolframkriesing
Copy link
Member

wolframkriesing commented Sep 12, 2013

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})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant