From 12f23bc31cca233cd628b0cfefa286d6f5c96a68 Mon Sep 17 00:00:00 2001 From: Joe Pea Date: Thu, 26 Sep 2024 21:47:05 -0700 Subject: [PATCH] update comment --- dist/CustomAttributeRegistry.js | 4 ++-- src/CustomAttributeRegistry.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/CustomAttributeRegistry.js b/dist/CustomAttributeRegistry.js index 55c0bdd..af4033d 100644 --- a/dist/CustomAttributeRegistry.js +++ b/dist/CustomAttributeRegistry.js @@ -43,8 +43,8 @@ export class CustomAttributeRegistry { attributes: true, attributeOldValue: true, attributeFilter: Array.from(this.#attrMap.keys()), - // attributeFilter: [...this._attrMap.keys()], // Broken in Oculus - // attributeFilter: this._attrMap.keys(), // This works in Chrome, but TS complains, and not clear if it should work in all browsers yet: https://github.com/whatwg/dom/issues/1092 + // attributeFilter: [...this.#attrMap.keys()], // Broken in Oculus + // attributeFilter: this.#attrMap.keys(), // This works in Chrome, but TS complains, and not clear if it should work in all browsers yet: https://github.com/whatwg/dom/issues/1092 }); } #unobserve() { diff --git a/src/CustomAttributeRegistry.ts b/src/CustomAttributeRegistry.ts index ee3d277..05644c1 100644 --- a/src/CustomAttributeRegistry.ts +++ b/src/CustomAttributeRegistry.ts @@ -48,8 +48,8 @@ export class CustomAttributeRegistry { attributes: true, attributeOldValue: true, attributeFilter: Array.from(this.#attrMap.keys()), - // attributeFilter: [...this._attrMap.keys()], // Broken in Oculus - // attributeFilter: this._attrMap.keys(), // This works in Chrome, but TS complains, and not clear if it should work in all browsers yet: https://github.com/whatwg/dom/issues/1092 + // attributeFilter: [...this.#attrMap.keys()], // Broken in Oculus + // attributeFilter: this.#attrMap.keys(), // This works in Chrome, but TS complains, and not clear if it should work in all browsers yet: https://github.com/whatwg/dom/issues/1092 }) }