diff options
| author | Shyam Seshadri | 2012-07-06 15:23:40 +0530 |
|---|---|---|
| committer | Misko Hevery | 2012-09-11 16:39:46 -0700 |
| commit | 2c6aa4c300073ef27fcce4c112646985d81a4fe4 (patch) | |
| tree | 7f481ff84b5b46ea8c3e0058ba710a61ac22effe /docs | |
| parent | f7a8f17fc72f603de11ca89170bc8d1cad4dae6a (diff) | |
| download | angular.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 'docs')
| -rw-r--r-- | docs/src/templates/js/docs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/templates/js/docs.js b/docs/src/templates/js/docs.js index 436651e7..9813c241 100644 --- a/docs/src/templates/js/docs.js +++ b/docs/src/templates/js/docs.js @@ -297,7 +297,7 @@ docsApp.controller.DocsController = function($scope, $location, $window, $cookie tutorial: 'Tutorial', cookbook: 'Examples' }; - $scope.$watch(function() {return $location.path(); }, function(path) { + $scope.$watch(function docsPathWatch() {return $location.path(); }, function docsPathWatchAction(path) { // ignore non-doc links which are used in examples if (DOCS_PATH.test(path)) { var parts = path.split('/'), |
