File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ export function createReactiveSystem({
250250 * @returns `true` if the subscriber is marked as Dirty; otherwise `false`.
251251 */
252252 updateDirtyFlag ( sub : Subscriber , flags : SubscriberFlags ) : boolean {
253- if ( checkPendingComputeds ( sub . deps ! ) ) {
253+ if ( checkDirty ( sub . deps ! ) ) {
254254 sub . flags = flags | SubscriberFlags . Dirty ;
255255 return true ;
256256 } else {
@@ -277,7 +277,7 @@ export function createReactiveSystem({
277277 }
278278 }
279279 } else if ( flags & SubscriberFlags . PendingComputed ) {
280- if ( checkPendingComputeds ( computed . deps ! ) ) {
280+ if ( checkDirty ( computed . deps ! ) ) {
281281 if ( updateComputed ( computed ) ) {
282282 const subs = computed . subs ;
283283 if ( subs !== undefined ) {
@@ -404,7 +404,7 @@ export function createReactiveSystem({
404404 * @param link - The starting link representing a sequence of pending computeds.
405405 * @returns `true` if a computed was updated, otherwise `false`.
406406 */
407- function checkPendingComputeds ( link : Link ) : boolean {
407+ function checkDirty ( link : Link ) : boolean {
408408 let stack = 0 ;
409409 let dirty : boolean ;
410410
You can’t perform that action at this time.
0 commit comments