Skip to content

Commit

Permalink
jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
sagiegurari committed Mar 8, 2016
1 parent 39c2c74 commit ac76e30
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion angular-web-notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,15 @@
service.allowRequest = true; //true to enable automatic requesting of permissions if needed

Object.defineProperty(service, 'permissionGranted', {
get: function () {
/**
* Returns the permission granted value.
*
* @function
* @memberof! webNotification
* @private
* @returns {boolean} True if permission is granted, else false
*/
get: function getPermission() {
var permission = notifyLib.permissionLevel();

/**
Expand Down

0 comments on commit ac76e30

Please sign in to comment.