Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19cb2e3

Browse files
gitMbarcaitp
authored andcommitted
docs($rootScope): remove duplicate $digest()
Closes angular#8840
1 parent c92ce45 commit 19cb2e3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/ng/rootScope.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,8 @@ function $RootScopeProvider(){
154154
* @description
155155
* Creates a new child {@link ng.$rootScope.Scope scope}.
156156
*
157-
* The parent scope will propagate the {@link ng.$rootScope.Scope#$digest $digest()} and
158-
* {@link ng.$rootScope.Scope#$digest $digest()} events. The scope can be removed from the
159-
* scope hierarchy using {@link ng.$rootScope.Scope#$destroy $destroy()}.
157+
* The parent scope will propagate the {@link ng.$rootScope.Scope#$digest $digest()} event.
158+
* The scope can be removed from the scope hierarchy using {@link ng.$rootScope.Scope#$destroy $destroy()}.
160159
*
161160
* {@link ng.$rootScope.Scope#$destroy $destroy()} must be called on a scope when it is
162161
* desired for the scope and its child scopes to be permanently detached from the parent and

0 commit comments

Comments
 (0)