Add node modules and new code for release (#39)

Co-authored-by: tbarnes94 <tbarnes94@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2022-01-05 11:26:06 -05:00 committed by GitHub
parent a10d84bc2e
commit 7ad2aa66bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7655 changed files with 1763577 additions and 14 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!');