vue-offline
Advanced tools
Comparing version 1.0.203 to 1.0.204
@@ -80,3 +80,3 @@ module.exports = { | ||
this.$once('hook:desktroyed', () => { | ||
this.$once('hook:beforeDestroy', () => { | ||
window.removeEventListener('online', onlineHandler) | ||
@@ -88,3 +88,3 @@ window.removeEventListener('offline', offlineHandler) | ||
} | ||
Vue.directive('online', onlineOnlyDirective) | ||
@@ -91,0 +91,0 @@ Vue.directive('offline', offlineOnlyDirective) |
@@ -31,3 +31,3 @@ export default { | ||
this.$once('hook:desktroyed', () => { | ||
this.$once('hook:beforeDestroy', () => { | ||
window.removeEventListener('online', onlineHandler) | ||
@@ -38,2 +38,2 @@ window.removeEventListener('offline', offlineHandler) | ||
} | ||
} | ||
} |
{ | ||
"name": "vue-offline", | ||
"version": "1.0.203", | ||
"version": "1.0.204", | ||
"description": "Online/Offline events and directives for vue application", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
110
6381