prevent-unload
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -10,2 +10,3 @@ 'use strict'; | ||
window.addEventListener('beforeunload', handler); | ||
return handler; | ||
@@ -29,2 +30,3 @@ } | ||
event.returnValue = message; // eslint-disable-line no-param-reassign | ||
return message; | ||
@@ -31,0 +33,0 @@ }; |
{ | ||
"name": "prevent-unload", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Prevent page unloading from the user's action", | ||
@@ -39,3 +39,3 @@ "author": "Plusb Preco <plusb21@gmail.com>", | ||
"eslint": "^3.0.1", | ||
"eslint-config-prev": "0.2.1", | ||
"eslint-config-prev": "0.3.0", | ||
"eslint-plugin-babel": "^3.3.0", | ||
@@ -42,0 +42,0 @@ "eslint-plugin-import": "^1.10.2", |
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
3622