Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

Commit

Permalink
Travis spotted a missing piece of docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Gaunt committed Apr 4, 2016
1 parent 3eac24f commit 4fcab9e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/client/push-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@ export default class PushClient extends EventDispatch {
/**
* Will manage requesting permission for push messages, resolving
* with the final permission status.
* @param {Boolean} dispatchStatusChange - Optional parameter with a
* default value of true. If true, a `statuschange` event will be
* dispatched once the permission state has resolved (i.e. use interacted
* with the permission dialog).
* @return {Promise<String>} Permission status of granted, default or denied
*/
requestPermission(dispatchStatusChange = true) {
Expand Down

0 comments on commit 4fcab9e

Please sign in to comment.