Auto-format files using 'npm run format'

This commit is contained in:
Peter deHaan 2017-06-21 14:31:21 -07:00
parent 74c41897ad
commit c532ea4770
6 changed files with 14 additions and 12 deletions

View file

@ -24,12 +24,11 @@ function notify(str) {
if (!('Notification' in window)) {
return;
} else if (Notification.permission === 'granted') {
new Notification(str)
new Notification(str);
} else if (Notification.permission !== 'denied') {
Notification.requestPermission(function(permission) {
if (permission === 'granted')
new Notification(str);
})
if (permission === 'granted') new Notification(str);
});
}
}