- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 07 Jan 2016 09:22:27 -0800
- To: whatwg/dom <dom@noreply.github.com>
Received on Thursday, 7 January 2016 17:22:58 UTC
> @@ -8705,6 +8705,20 @@ associated <a for="/">element</a>'s
> <p>Throws a <code>TypeError</code> exception if the associated attribute has no supported tokens defined.
> </dl>
>
> +<p>The <a method for=DOMTokenList lt="supports()">supports()</a> method can be used to detect support for {{DOMTokenList}} tokens:
> +
> +<pre class=lang-javascript>
> +function DOMTokenListSupports(tokenList, token) {
lowercase function names that are not classes, so `domTokenListSupports`
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/144/files#r49099109
Received on Thursday, 7 January 2016 17:22:58 UTC