2
0
mirror of https://github.com/tenrok/vue-native-notification.git synced 2026-05-17 03:09:37 +03:00

Fix linting errors

This commit is contained in:
Dennis Bruner
2020-06-24 02:17:52 +02:00
parent 820cf15f6e
commit 0deafffc9e
+2 -2
View File
@@ -64,7 +64,6 @@ const VueNativeNotification = {
return new Error('No permission to show notification')
}
const bindOnError = function (event) {
'use strict'
defaultEvents.onerror(event)
@@ -100,8 +99,9 @@ const VueNativeNotification = {
return notification
} catch (e) {
if (e.name !== 'TypeError')
if (e.name !== 'TypeError') {
return e
}
return navigator.serviceWorker.ready.then(
function (reg) {