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

Commit f2160a4

Browse files
committed
style($rootScope): fix argument name in $postDigest api
1 parent 4998d3e commit f2160a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ng/rootScope.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ function $RootScopeProvider(){
356356
* `oldCollection` object is a copy of the former collection data.
357357
* The `scope` refers to the current scope.
358358
*
359-
* @returns {function()} Returns a de-registration function for this listener. When the de-registration function
359+
* @returns {function()} Returns a de-registration function for this listener. When the de-registration function
360360
* is executed, the internal watch operation is terminated.
361361
*/
362362
$watchCollection: function(obj, listener) {
@@ -707,8 +707,8 @@ function $RootScopeProvider(){
707707
this.$$asyncQueue.push(expr);
708708
},
709709

710-
$$postDigest : function(expr) {
711-
this.$$postDigestQueue.push(expr);
710+
$$postDigest : function(fn) {
711+
this.$$postDigestQueue.push(fn);
712712
},
713713

714714
/**

0 commit comments

Comments
 (0)