Re: [a11yapi] Patterns (#28)

> +        <h3>
> +          <code>taxonOf</code> method
> +        </h3>
> +        <p>
> +          Returns a taxon object of <code>Taxon</code> interface for the given
> +          taxonomy and taxon name. Depending on the taxonomy the object may
> +          implement other interfaces derived from <code>Taxon</code> interface.
> +          For example, the returned object for the <code>role</code> taxonomy
> +          implements <code>RoleTaxon</code> interface.
> +        </p>
> +        <p>
> +          The example logs out all parents of the <code>bibliography</code>
> +          role.
> +        </p>
> +        <pre class="example highlight">
> +function logParents(taxon) {

Nit: we should probably find a more realistic example... or at least improve what the output is here.
 


---
Reply to this email directly or view it on GitHub:
https://github.com/WICG/a11yapi/pull/28/files#r45431730

Received on Friday, 20 November 2015 03:04:26 UTC