Sha256: 082b664d78cb6b5434a3f393f2cbeb381c75ef5bdc0929ed925447e1fba5233b

Contents?: true

Size: 901 Bytes

Versions: 34

Compression:

Stored size: 901 Bytes

Contents

var growl = require('./lib/growl')

growl('You have mail!')
growl('5 new messages', { sticky: true })
growl('5 new emails', { title: 'Email Client', image: 'Safari', sticky: true })
growl('Message with title', { title: 'Title'})
growl('Set priority', { priority: 2 })
growl('Show Safari icon', { image: 'Safari' })
growl('Show icon', { image: 'path/to/icon.icns' })
growl('Show image', { image: 'path/to/my.image.png' })
growl('Show png filesystem icon', { image: 'png' })
growl('Show pdf filesystem icon', { image: 'article.pdf' })
growl('Show pdf filesystem icon', { image: 'article.pdf' }, function(){
  console.log('callback');
})
growl('Show pdf filesystem icon', { title: 'Use show()', image: 'article.pdf' })
growl('here \' are \n some \\ characters that " need escaping', {}, function(error, stdout, stderr) {
  if (error !== null) throw new Error('escaping failed:\n' + stdout + stderr);
})

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/growl/test.js
xcodebuild-helper-1.2.3 externals/ios-sim-master/node_modules/growl/test.js
stylus-source-0.49.3 vendor/node_modules/mocha/node_modules/growl/test.js
stylus-source-0.42.2 vendor/node_modules/mocha/node_modules/growl/test.js
stylus-source-0.42.1 vendor/node_modules/mocha/node_modules/growl/test.js
stylus-source-0.42.0 vendor/node_modules/mocha/node_modules/growl/test.js
stylus-source-0.41.3 vendor/node_modules/mocha/node_modules/growl/test.js
stylus-source-0.41.2 vendor/node_modules/mocha/node_modules/growl/test.js
stylus-source-0.41.1 vendor/node_modules/mocha/node_modules/growl/test.js
stylus-source-0.41.0 vendor/node_modules/mocha/node_modules/growl/test.js
stylus-source-0.40.3 vendor/node_modules/mocha/node_modules/growl/test.js
stylus-source-0.40.2 vendor/node_modules/mocha/node_modules/growl/test.js
stylus-source-0.40.1 vendor/node_modules/mocha/node_modules/growl/test.js
stylus-source-0.40.0 vendor/node_modules/mocha/node_modules/growl/test.js
stylus-source-0.39.4 vendor/node_modules/mocha/node_modules/growl/test.js
stylus-source-0.39.3 vendor/node_modules/mocha/node_modules/growl/test.js
stylus-source-0.39.2 vendor/node_modules/mocha/node_modules/growl/test.js
stylus-source-0.39.1 vendor/node_modules/mocha/node_modules/growl/test.js
stylus-source-0.39.0 vendor/node_modules/mocha/node_modules/growl/test.js
stylus-source-0.38.0 vendor/node_modules/mocha/node_modules/growl/test.js