Skip to content

Commit

Permalink
fix(observable): do not track dom element object
Browse files Browse the repository at this point in the history
  • Loading branch information
BroKun committed Nov 30, 2023
1 parent 812c769 commit 83fe12f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/mana-observable/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ export namespace Observability {
if (obj instanceof RegExp) {
return false;
}
if (obj instanceof Element) {
return false;
}
return true;
}
export function marked(obj: any, property?: string | symbol): boolean {
Expand Down

0 comments on commit 83fe12f

Please sign in to comment.