From 9120e717006216887fefa69452d13f9f94d4f352 Mon Sep 17 00:00:00 2001 From: Xc Date: Fri, 20 Dec 2024 12:29:27 +0800 Subject: [PATCH] =?UTF-8?q?isStale=E7=9A=84=E5=88=A4=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- es/features/runningTree.js | 2 +- lib/features/runningTree.js | 2 +- src/features/runningTree.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/es/features/runningTree.js b/es/features/runningTree.js index 57f1d271..02290eff 100644 --- a/es/features/runningTree.js +++ b/es/features/runningTree.js @@ -251,7 +251,7 @@ class Node extends Feature { return this.extraData[key]; } isStale() { - return !!this.isStale; + return !!this.stale; } } class EntityNode extends Node { diff --git a/lib/features/runningTree.js b/lib/features/runningTree.js index 56793192..f9afa6b9 100644 --- a/lib/features/runningTree.js +++ b/lib/features/runningTree.js @@ -254,7 +254,7 @@ class Node extends Feature_1.Feature { return this.extraData[key]; } isStale() { - return !!this.isStale; + return !!this.stale; } } class EntityNode extends Node { diff --git a/src/features/runningTree.ts b/src/features/runningTree.ts index e4f8ae22..ec82812a 100644 --- a/src/features/runningTree.ts +++ b/src/features/runningTree.ts @@ -325,7 +325,7 @@ abstract class Node extends Feature { } isStale() { - return !!this.isStale; + return !!this.stale; } abstract getParent(): Node | undefined;