Вход Регистрация
Файл: error-kitty/node_modules/mocha/node_modules/growl/test.js
Строк: 27
<?php
var growl = require('./lib/growl')

growl('You have mail!')
growl('5 new messages', { stickytrue })
growl('5 new emails', { title'Email Client'image'Safari'stickytrue })
growl('Message with title', { title'Title'})
growl('Set priority', { priority})
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);
})
?>
Онлайн: 0
Реклама