From 8cf2c74c224376f46d72468a17a9f0981c4a8d09 Mon Sep 17 00:00:00 2001 From: Chris Lorenzo Date: Mon, 2 Dec 2024 07:47:02 -0500 Subject: [PATCH 1/2] fix: data attr in inspector not reactive --- src/main-api/Inspector.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main-api/Inspector.ts b/src/main-api/Inspector.ts index 3120f02f..5a5591a8 100644 --- a/src/main-api/Inspector.ts +++ b/src/main-api/Inspector.ts @@ -147,6 +147,7 @@ const knownProperties = new Set([ ...Object.keys(domPropertyMap), // ...gradientColorPropertyMap, 'src', + 'data', 'parent', ]); @@ -312,7 +313,6 @@ export class Inspector { }, }); - // eslint-disable-next-line @typescript-eslint/unbound-method const originalAnimate = node.animate; Object.defineProperty(node, 'animate', { value: ( From e794196e2cb3742d1c34309c529190b2d5ed9371 Mon Sep 17 00:00:00 2001 From: Chris Lorenzo Date: Tue, 3 Dec 2024 13:10:51 -0500 Subject: [PATCH 2/2] rekick the build step --- src/main-api/Inspector.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main-api/Inspector.ts b/src/main-api/Inspector.ts index 5a5591a8..78412fb5 100644 --- a/src/main-api/Inspector.ts +++ b/src/main-api/Inspector.ts @@ -147,8 +147,8 @@ const knownProperties = new Set([ ...Object.keys(domPropertyMap), // ...gradientColorPropertyMap, 'src', - 'data', 'parent', + 'data', ]); export class Inspector {