style($rootScope): fix argument name in $postDigest api

This commit is contained in:
Igor Minar 2013-09-27 15:12:19 -07:00
parent 4998d3ee79
commit f2160a4c64

View file

@ -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);
},
/**