mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-27 11:40:27 +00:00
style($rootScope): fix argument name in $postDigest api
This commit is contained in:
parent
4998d3ee79
commit
f2160a4c64
1 changed files with 3 additions and 3 deletions
|
|
@ -356,7 +356,7 @@ function $RootScopeProvider(){
|
|||
* `oldCollection` object is a copy of the former collection data.
|
||||
* The `scope` refers to the current scope.
|
||||
*
|
||||
* @returns {function()} Returns a de-registration function for this listener. When the de-registration function
|
||||
* @returns {function()} Returns a de-registration function for this listener. When the de-registration function
|
||||
* is executed, the internal watch operation is terminated.
|
||||
*/
|
||||
$watchCollection: function(obj, listener) {
|
||||
|
|
@ -707,8 +707,8 @@ function $RootScopeProvider(){
|
|||
this.$$asyncQueue.push(expr);
|
||||
},
|
||||
|
||||
$$postDigest : function(expr) {
|
||||
this.$$postDigestQueue.push(expr);
|
||||
$$postDigest : function(fn) {
|
||||
this.$$postDigestQueue.push(fn);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue