Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 79941d2

Browse files
mernenmhevery
authored andcommitted
docs($rootScope): fix iteration limit described by $watch, it's actually 10 as of now
1 parent 03ebecd commit 79941d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/rootScope.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ function $RootScopeProvider(){
228228
* have adverse memory and performance implications.
229229
* - The watch `listener` may change the model, which may trigger other `listener`s to fire. This
230230
* is achieved by rerunning the watchers until no changes are detected. The rerun iteration
231-
* limit is 100 to prevent an infinite loop deadlock.
231+
* limit is 10 to prevent an infinite loop deadlock.
232232
*
233233
*
234234
* If you want to be notified whenever {@link ng.$rootScope.Scope#$digest $digest} is called,

0 commit comments

Comments
 (0)