Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

updated copy to throw an error if attempting to copy an element. if copy... #11006

Closed
wants to merge 1 commit into from
Closed

updated copy to throw an error if attempting to copy an element. if copy... #11006

wants to merge 1 commit into from

Conversation

micah-williamson
Copy link

...ing an object that contains an element, the element isnt copied recursively. watch does not copy an object for the last value if it is an element.

…opying an object that contains an element, the element isnt copied recursively. watch does not copy an object for the last value if it is an element.
@googlebot
Copy link

Thanks for your pull request.

It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at https://cla.developers.google.com/.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check the information on your CLA or see this help article on setting the email on your git commits.

Once you've done that, please reply here to let us know. If you signed the CLA as a corporation, please let us know the company's name.

@micah-williamson
Copy link
Author

Updated CLA.

@googlebot
Copy link

CLAs look good, thanks!

@gkalpak
Copy link
Member

gkalpak commented Jun 1, 2016

This has been fixed on 1.5. copy() now uses .cloneNode(true), so elements are copied correctly.

@gkalpak gkalpak closed this Jun 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants