prevent-unload
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "prevent-unload", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Prevent page unloading in simple way", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -18,4 +18,3 @@ # prevent-unload | ||
```javascript | ||
import preventUnload from 'prevent-unload'; | ||
// const preventUnload = require('prevent-unload'); | ||
const preventUnload = require('prevent-unload'); | ||
@@ -22,0 +21,0 @@ preventUnload(); // When user close the page, the browser shows 'Are you sure?' dialog box. |
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
8881
32