Re: [dom] Added an example showing feature detection with supports() (#144)

I think we should leave this out. The spec already has this

> tokenlist . supports(token)
> Returns true if token is in the associated attribute’s supported tokens. Returns false otherwise.
>
> Throws a TypeError exception if the associated attribute has no supported tokens defined.

which has the same information as the example without legacy consideration.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/144#issuecomment-174949146

Received on Tuesday, 26 January 2016 10:36:15 UTC