ibm-js / delite

HTML Custom Element / Widget infrastructure
http://ibm-js.github.io/delite/
Other
68 stars 28 forks source link

allow repeated calls to attachedCallback() / detachedCallback() #388

Closed wkeese closed 9 years ago

wkeese commented 9 years ago

Make attachedCallback() and detachedCallback() idempotent, so that repeated calls are ignored.

Also, allow CustomElements to be attached and then detached repeated.

Note: attachedCallback() was already made idempotent in 0d4fd79ed92d7a2e92df17333a14102674516613.