forked from tj/node-growl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
|
||
var growl = require('./lib/growl') | ||
|
||
growl.binVersion(function(err, version){ | ||
console.log(version); | ||
}) | ||
growl.notify('You have mail!') | ||
// growl.notify('5 new messages', { sticky: true }) | ||
// growl.notify('5 new emails', { title: 'Email Client', image: 'Safari', sticky: true }) | ||
// growl.notify('Message with title', { title: 'Title'}) | ||
// growl.notify('Set priority', { priority: 2 }) | ||
// growl.notify('Show Safari icon', { image: 'Safari' }) | ||
// growl.notify('Show icon', { image: 'path/to/icon.icns' }) | ||
// growl.notify('Show image', { image: 'path/to/my.image.png' }) | ||
// growl.notify('Show png filesystem icon', { image: 'png' }) | ||
// growl.notify('Show pdf filesystem icon', { image: 'article.pdf' }) | ||
// growl.notify('Show pdf filesystem icon', { image: 'article.pdf' }, function(){ | ||
// require('sys').p('callback') | ||
// }) | ||
growl.notify('5 new messages', { sticky: true }) | ||
growl.notify('5 new emails', { title: 'Email Client', image: 'Safari', sticky: true }) | ||
growl.notify('Message with title', { title: 'Title'}) | ||
growl.notify('Set priority', { priority: 2 }) | ||
growl.notify('Show Safari icon', { image: 'Safari' }) | ||
growl.notify('Show icon', { image: 'path/to/icon.icns' }) | ||
growl.notify('Show image', { image: 'path/to/my.image.png' }) | ||
growl.notify('Show png filesystem icon', { image: 'png' }) | ||
growl.notify('Show pdf filesystem icon', { image: 'article.pdf' }) | ||
growl.notify('Show pdf filesystem icon', { image: 'article.pdf' }, function(){ | ||
console.log('callback'); | ||
}) |