W3C home > Mailing lists > Public > public-html@w3.org > May 2015

Deprecated Attr methods

From: Matthew Phillips <matthew@bitovi.com>
Date: Thu, 21 May 2015 14:01:33 -0400
Message-ID: <CAHm1x+YYKevB6eNEPZTRRH-B7V50xHHUg4QiEAXewat8F6GgDQ@mail.gmail.com>
To: public-html@w3.org
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

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:13 UTC