Deprecated Attr methods

I just came across a warning for using a deprecated Attr method:

https://developer.mozilla.org/en-US/docs/Web/API/Attr#Deprecated_properties_and_methods

I'm using cloneNode() which is on the list. What is the workaround? Will I
be able to do Node.prototype.cloneNode.call(attr) instead?

Received on Friday, 22 May 2015 11:19:09 UTC