aboutsummaryrefslogtreecommitdiffstats
path: root/src/bootstrap/bootstrap-prettify.js
diff options
context:
space:
mode:
authorShyam Seshadri2012-07-06 15:23:40 +0530
committerMisko Hevery2012-09-11 16:39:46 -0700
commit2c6aa4c300073ef27fcce4c112646985d81a4fe4 (patch)
tree7f481ff84b5b46ea8c3e0058ba710a61ac22effe /src/bootstrap/bootstrap-prettify.js
parentf7a8f17fc72f603de11ca89170bc8d1cad4dae6a (diff)
downloadangular.js-2c6aa4c300073ef27fcce4c112646985d81a4fe4.tar.bz2
fix(*): name all anonymous watch functions in Angular
This will allow us to see function names in Batarang and debugger. Closes #1119
Diffstat (limited to 'src/bootstrap/bootstrap-prettify.js')
-rw-r--r--src/bootstrap/bootstrap-prettify.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/bootstrap-prettify.js b/src/bootstrap/bootstrap-prettify.js
index b458c832..821d690f 100644
--- a/src/bootstrap/bootstrap-prettify.js
+++ b/src/bootstrap/bootstrap-prettify.js
@@ -210,7 +210,7 @@ directive.ngEmbedApp = ['$templateCache', '$browser', '$rootScope', '$location',
}, $delegate);
}]);
$provide.decorator('$rootScope', ['$delegate', function(embedRootScope) {
- docsRootScope.$watch(function() {
+ docsRootScope.$watch(function embedRootScopeDigestWatch() {
embedRootScope.$digest();
});
return embedRootScope;