Re: [permissions] Version of the API that should be simple, extensible and ready for MVP. (#20)

> @@ -474,7 +495,7 @@
>        </p>
>        <pre class='example highlight'>
>  &lt;script&gt;
> -  navigator.permissions.query('geolocation').then(function(result) {
> +  navigator.permissions.query({name:'geolocation'}).then(function(result) {

Nit... we can modernize the examples later tho:
```
navigator.permissions
  .query({name:'geolocation'})
  .then((result) => {
```


---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/pull/20/files#r27516227

Received on Tuesday, 31 March 2015 19:53:37 UTC