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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user