mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Code cleanup
This commit is contained in:
@@ -32,14 +32,14 @@ exports.load = (appUrl) => {
|
||||
title: 'Hello World',
|
||||
body: 'This is the long and complicated body for this notification that just goes on and on and on and never really seems to stop',
|
||||
silent: true,
|
||||
icon: '/Users/samuel/Downloads/ninja.png',
|
||||
icon: path.resolve('C:\\Users\\Samuel\\Downloads\\icon.png'),
|
||||
hasReply: true,
|
||||
replyPlaceholder: 'Type Here!!'
|
||||
});
|
||||
n.on('show', () => console.log('showed'));
|
||||
n.on('click', () => console.info('clicked!!'));
|
||||
n.on('reply', (e, reply) => console.log('Replied:', reply));
|
||||
})
|
||||
n.on('show', () => console.log('showed'))
|
||||
n.on('click', () => console.info('clicked!!'))
|
||||
n.on('reply', (e, reply) => console.log('Replied:', reply))
|
||||
|
||||
n.show();
|
||||
n.show()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user