Code cleanup

This commit is contained in:
Samuel Attard
2017-04-24 13:07:42 +10:00
parent 03688b9415
commit c6196810a6
11 changed files with 758 additions and 614 deletions

View File

@@ -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()
})
}