This commit is contained in:
eric sciple 2020-01-24 12:20:19 -05:00
parent beb1329f9f
commit 2b95e76931
7736 changed files with 1874747 additions and 51184 deletions

22
node_modules/growly/example/bakery.js generated vendored Normal file
View file

@ -0,0 +1,22 @@
var growly = require('../lib/growly.js');
var notifications = [
{ label: 'muffin', dispname: 'Muffin' },
{ label: 'cake', dispname: 'Cake' }
],
muffinopts = { label: 'muffin', icon: 'muffin.png' },
cakeopts = { label: 'cake', title: 'Cake is ready!', icon: 'cake.png', sticky: true };
growly.register('Bakery', 'muffin.png', notifications, function(err) {
if (err) {
console.log(err);
return;
}
growly.notify('Looks like it is half past muffin time!', muffinopts);
growly.notify('Click to deliver', cakeopts, function(err, action) {
console.log('You', action, 'the notification, so the cake is on its way!');
});
});

BIN
node_modules/growly/example/cake.png generated vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
node_modules/growly/example/muffin.png generated vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

3
node_modules/growly/example/simple.js generated vendored Normal file
View file

@ -0,0 +1,3 @@
var growly = require('../lib/growly.js');
growly.notify('Hello, world!');