mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-23 14:24:46 +00:00
.
This commit is contained in:
parent
a004f0ae58
commit
fc725ba36b
7280 changed files with 19 additions and 1796407 deletions
22
node_modules/growly/example/bakery.js
generated
vendored
22
node_modules/growly/example/bakery.js
generated
vendored
|
@ -1,22 +0,0 @@
|
|||
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
BIN
node_modules/growly/example/cake.png
generated
vendored
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
BIN
node_modules/growly/example/muffin.png
generated
vendored
BIN
node_modules/growly/example/muffin.png
generated
vendored
Binary file not shown.
Before Width: | Height: | Size: 17 KiB |
3
node_modules/growly/example/simple.js
generated
vendored
3
node_modules/growly/example/simple.js
generated
vendored
|
@ -1,3 +0,0 @@
|
|||
var growly = require('../lib/growly.js');
|
||||
|
||||
growly.notify('Hello, world!');
|
Loading…
Add table
Add a link
Reference in a new issue