Skip to content

Commit 4f9ac07

Browse files
gitMbarcaitp
authored andcommitted
docs($rootScope): remove duplicate $digest()
Closes angular#8840
1 parent 9057ed2 commit 4f9ac07

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/ng/rootScope.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,8 @@ function $RootScopeProvider(){
156156
* @description
157157
* Creates a new child {@link ng.$rootScope.Scope scope}.
158158
*
159-
* The parent scope will propagate the {@link ng.$rootScope.Scope#$digest $digest()} and
160-
* {@link ng.$rootScope.Scope#$digest $digest()} events. The scope can be removed from the
161-
* scope hierarchy using {@link ng.$rootScope.Scope#$destroy $destroy()}.
159+
* The parent scope will propagate the {@link ng.$rootScope.Scope#$digest $digest()} event.
160+
* The scope can be removed from the scope hierarchy using {@link ng.$rootScope.Scope#$destroy $destroy()}.
162161
*
163162
* {@link ng.$rootScope.Scope#$destroy $destroy()} must be called on a scope when it is
164163
* desired for the scope and its child scopes to be permanently detached from the parent and

0 commit comments

Comments
 (0)