This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 8363023f67debca639a90d3fe834b6aed44f4a2c
tree 2c20a757c4a34c8f2280ba21c839073b86d781c8
parent 86ac0eab1c710cd592e1656932a749ef8faea181
tree 2c20a757c4a34c8f2280ba21c839073b86d781c8
parent 86ac0eab1c710cd592e1656932a749ef8faea181
| name | age | message | |
|---|---|---|---|
| |
README.markdown | ||
| |
notifyLibJS.js | Mon Aug 24 23:54:21 -0700 2009 |
README.markdown
Unified notifications library to handle Growl notifications across all available platforms — Safari (with Growler), Firefox (with Yip), Fluid and Prism. The library is cross platform and takes care of any errors in posting notifications. If there is no notification API present, the call will silently fail (unless debug lines are un-commented).
Exposes a "notifications" namespace (new in 1.1) which contains the following properties and methods:
Properties
prism(boolean) : whether Prism notifications are supportedfluid(boolean) : whether Fluid notifications are supportedgrowler` (boolean) : whether Growler (for Safari) notifications are supportednotifications_support(boolean) : whether a notification API is present (check this value to decide if you need to continue with notification specific code e.g. requesting additional data)
Methods
notify ({ title,
description,
icon,
priority,
sticky,
identifier })
— Post a notification with given information. All keys are optional
To post a default notification, simply call:
notifications.notify();








