Comparing version 0.3.7 to 0.3.8
export declare function happensIn(e: { | ||
currentTarget: EventTarget | null; | ||
target: EventTarget | null; | ||
}, dataSetPropName: string): boolean; |
export function happensIn(e, dataSetPropName) { | ||
let target = e.currentTarget || e.target; | ||
let { target } = e; | ||
while (target) { | ||
@@ -4,0 +4,0 @@ if (target.dataset) { |
export declare function happensIn(e: { | ||
currentTarget: EventTarget | null; | ||
target: EventTarget | null; | ||
}, dataSetPropName: string): boolean; |
@@ -5,3 +5,3 @@ "use strict"; | ||
function happensIn(e, dataSetPropName) { | ||
let target = e.currentTarget || e.target; | ||
let { target } = e; | ||
while (target) { | ||
@@ -8,0 +8,0 @@ if (target.dataset) { |
{ | ||
"name": "seemly", | ||
"version": "0.3.7", | ||
"version": "0.3.8", | ||
"description": "Utils for user interface.", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
70694
1783