Fix jshint 2

This commit is contained in:
riking 2015-04-21 21:23:05 -07:00
parent f5630b9791
commit a616d9ed1c
2 changed files with 6 additions and 6 deletions
app/assets/javascripts/discourse

@ -1,5 +1,5 @@
// Subscribes to user events on the message bus
import { init as initDesktopNotifications, onNotification } from 'discourse/lib/desktop-notifications'
import { init as initDesktopNotifications, onNotification } from 'discourse/lib/desktop-notifications';
export default {
name: 'subscribe-user-notifications',

@ -31,9 +31,9 @@ function init(container) {
Em.Logger.error(e);
}
}
}).catch(function(e) {
}).catch(function() {
liveEnabled = false;
Em.Logger.info('Discourse desktop notifications are disabled - permission denied.');
//Em.Logger.debug('Discourse desktop notifications are disabled - permission denied.');
});
}