[push-api] Rename hasPermission to permissionState (#139)

Also change default to prompt in the PermissionState enum so that it matches the Permissions API.

As per 
https://github.com/w3c/push-api/issues/136
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/push-api/pull/139

-- Commit Summary --

  * Rename hasPermission to permissionState.
  * change default to prompt

-- File Changes --

    M index.html (8)

-- Patch Links --

https://github.com/w3c/push-api/pull/139.patch
https://github.com/w3c/push-api/pull/139.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/pull/139

Received on Wednesday, 22 April 2015 12:18:03 UTC