From e0ace15cd325b28f5c9a2a6f8e040dfd2701b1f4 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 5 Mar 2012 14:52:34 -0800 Subject: docs($rootScope): rename ttl to digestTtl + docs --- src/service/scope.js | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'src/service') diff --git a/src/service/scope.js b/src/service/scope.js index a2de67e9..d5646008 100644 --- a/src/service/scope.js +++ b/src/service/scope.js @@ -25,6 +25,30 @@ * are expensive to construct. */ + +/** + * @ngdoc object + * @name angular.module.ng.$rootScopeProvider + * @description + * + * Provider for the $rootScope service. + */ + +/** + * @ngdoc function + * @name angular.module.ng.$rootScopeProvider#digestTtl + * @methodOf angular.module.ng.$rootScopeProvider + * @description + * + * Sets the number of digest iteration the scope should attempt to execute before giving up and + * assuming that the model is unstable. + * + * The current default is 10 iterations. + * + * @param {number} limit The number of digest iterations. + */ + + /** * @ngdoc object * @name angular.module.ng.$rootScope @@ -37,7 +61,7 @@ function $RootScopeProvider(){ var TTL = 10; - this.ttl = function(value) { + this.digestTtl = function(value) { if (arguments.length) { TTL = value; } -- cgit v1.2.3