[Mac] Add app.dock.getBadge() API.

This commit is contained in:
Cheng Zhao 2013-08-06 16:39:31 +08:00
parent b1f88d680b
commit ea1f81aa52
5 changed files with 16 additions and 1 deletions

View file

@ -18,6 +18,7 @@ if process.platform is 'darwin'
bounce: (type = 'informational') -> bindings.dockBounce type
cancelBounce: bindings.dockCancelBounce
setBadge: bindings.dockSetBadgeText
getBadge: bindings.dockGetBadgeText
# Only one App object pemitted.
module.exports = app