Comparing version 1.1.0 to 1.2.0
1.2.0 / 2011-10-06 | ||
================== | ||
* Add support for priority. | ||
1.1.0 / 2011-03-15 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -15,3 +15,3 @@ | ||
exports.version = '1.1.0' | ||
exports.version = '1.2.0' | ||
@@ -40,2 +40,3 @@ /** | ||
* - sticky Make the notification stick (defaults to false) | ||
* - priority Specify an int or named key (default is 0) | ||
* - name Application name (defaults to growlnotify) | ||
@@ -80,2 +81,3 @@ * - image | ||
if (options.sticky) args.push('--sticky'); | ||
if (options.priority) args.push('--priority', options.priority); | ||
if (options.name) args.push('--name', options.name); | ||
@@ -82,0 +84,0 @@ if (options.title) args.push(options.title); |
{ "name": "growl", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Growl unobtrusive notifications", | ||
@@ -4,0 +4,0 @@ "author": "TJ Holowaychuk <tj@vision-media.ca>", |
@@ -1,2 +0,1 @@ | ||
# Growl for nodejs | ||
@@ -8,6 +7,5 @@ | ||
Install the [Kiwi package manager for nodejs](http://github.com/visionmedia/kiwi) | ||
and run: | ||
Install [npm](http://npmjs.org/) and run: | ||
$ kiwi -v install growl | ||
$ npm -g install growl | ||
@@ -22,2 +20,3 @@ ## Examples | ||
growl.notify('5 new emails', { title: 'Email Client', image: 'Safari', sticky: true }) | ||
growl.notify('Set priority', { priority: 2 }) | ||
growl.notify('Show Safari icon', { image: 'Safari' }) | ||
@@ -38,2 +37,4 @@ growl.notify('Show icon', { image: 'path/to/icon.icns' }) | ||
- application name | ||
- priority | ||
- priority for the notification (default is 0) | ||
- sticky | ||
@@ -40,0 +41,0 @@ - weither or not the notification should remainin until closed |
@@ -10,2 +10,3 @@ | ||
growl.notify('5 new emails', { title: 'Email Client', image: 'Safari', sticky: true }) | ||
growl.notify('Set priority', { priority: 2 }) | ||
growl.notify('Show Safari icon', { image: 'Safari' }) | ||
@@ -12,0 +13,0 @@ growl.notify('Show icon', { image: 'path/to/icon.icns' }) |
6111
90
75