diff options
| author | Igor Minar | 2013-09-27 15:12:19 -0700 | 
|---|---|---|
| committer | Igor Minar | 2013-09-27 15:12:39 -0700 | 
| commit | f2160a4c647a543802f4ac7e5470e6a9e0b74235 (patch) | |
| tree | 3b2e133ff366e2a03cc08c3453e2c7927e7d0a96 | |
| parent | 4998d3ee79195eab779482e0a51fee9f5f90b216 (diff) | |
| download | angular.js-f2160a4c647a543802f4ac7e5470e6a9e0b74235.tar.bz2 | |
style($rootScope): fix argument name in $postDigest api
| -rw-r--r-- | src/ng/rootScope.js | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/ng/rootScope.js b/src/ng/rootScope.js index fd892733..8f9be5e6 100644 --- a/src/ng/rootScope.js +++ b/src/ng/rootScope.js @@ -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);        },        /** | 
