keep-out-polyfill
Advanced tools
Comparing version 1.2.12 to 1.2.13
@@ -14,2 +14,3 @@ import 'key-board-hook'; | ||
this.fnQuery = []; | ||
this.status = false; | ||
this.init(); | ||
@@ -82,2 +83,4 @@ }; | ||
var _this = this$1; | ||
this$1.status = true; | ||
if(this$1.fnQuery.length){ | ||
@@ -93,3 +96,9 @@ this$1.fnQuery.forEach(function (fn){ | ||
this$1.onceComput(); | ||
this$1.fnQuery.push(this$1.focusFn); | ||
if(this$1.status){ | ||
this$1.focusFn(); | ||
this$1.status = false; | ||
} | ||
else{ | ||
this$1.fnQuery.push(this$1.focusFn); | ||
} | ||
}); | ||
@@ -96,0 +105,0 @@ }; |
@@ -15,2 +15,3 @@ (function () { | ||
this.fnQuery = []; | ||
this.status = false; | ||
this.init(); | ||
@@ -83,2 +84,4 @@ }; | ||
var _this = this$1; | ||
this$1.status = true; | ||
if(this$1.fnQuery.length){ | ||
@@ -94,3 +97,9 @@ this$1.fnQuery.forEach(function (fn){ | ||
this$1.onceComput(); | ||
this$1.fnQuery.push(this$1.focusFn); | ||
if(this$1.status){ | ||
this$1.focusFn(); | ||
this$1.status = false; | ||
} | ||
else{ | ||
this$1.fnQuery.push(this$1.focusFn); | ||
} | ||
}); | ||
@@ -97,0 +106,0 @@ }; |
@@ -17,2 +17,3 @@ (function (factory) { | ||
this.fnQuery = []; | ||
this.status = false; | ||
this.init(); | ||
@@ -85,2 +86,4 @@ }; | ||
var _this = this$1; | ||
this$1.status = true; | ||
if(this$1.fnQuery.length){ | ||
@@ -96,3 +99,9 @@ this$1.fnQuery.forEach(function (fn){ | ||
this$1.onceComput(); | ||
this$1.fnQuery.push(this$1.focusFn); | ||
if(this$1.status){ | ||
this$1.focusFn(); | ||
this$1.status = false; | ||
} | ||
else{ | ||
this$1.fnQuery.push(this$1.focusFn); | ||
} | ||
}); | ||
@@ -99,0 +108,0 @@ }; |
{ | ||
"name": "keep-out-polyfill", | ||
"version": "1.2.12", | ||
"version": "1.2.13", | ||
"main": "dist/keep-out-polyfill.umd.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/keep-out-polyfill.esm.js", |
@@ -15,2 +15,3 @@ | ||
this.fnQuery = [] | ||
this.status = false | ||
this.init() | ||
@@ -79,2 +80,4 @@ } | ||
let _this = this | ||
this.status = true | ||
if(this.fnQuery.length){ | ||
@@ -90,3 +93,9 @@ this.fnQuery.forEach(fn=>{ | ||
this.onceComput() | ||
this.fnQuery.push(this.focusFn) | ||
if(this.status){ | ||
this.focusFn() | ||
this.status = false | ||
} | ||
else{ | ||
this.fnQuery.push(this.focusFn) | ||
} | ||
}) | ||
@@ -93,0 +102,0 @@ } |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
355699
419
1