- From: Marcos Caceres <notifications@github.com>
- Date: Tue, 31 Mar 2015 12:52:50 -0700
- To: w3c/permissions <permissions@noreply.github.com>
Received on Tuesday, 31 March 2015 19:53:37 UTC
> @@ -474,7 +495,7 @@
> </p>
> <pre class='example highlight'>
> <script>
> - 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