diff options
| author | Fred Sauer | 2013-01-28 14:55:49 -0800 |
|---|---|---|
| committer | Igor Minar | 2013-01-29 15:39:10 -0800 |
| commit | 24a2eec815f7bed7adb07f72727aaf14ee54d89f (patch) | |
| tree | 2dbfa9ed7c921dd990b144a5fa61151084563ac4 | |
| parent | d987a79ab198bff150bf47b41d98e5dea5b06a4b (diff) | |
| download | angular.js-24a2eec815f7bed7adb07f72727aaf14ee54d89f.tar.bz2 | |
docs(Scope): fix argument docs for $on
| -rw-r--r-- | src/ng/rootScope.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/rootScope.js b/src/ng/rootScope.js index c61a577f..79a8fcf5 100644 --- a/src/ng/rootScope.js +++ b/src/ng/rootScope.js @@ -619,7 +619,7 @@ function $RootScopeProvider(){ * event life cycle. * * @param {string} name Event name to listen on. - * @param {function(event)} listener Function to call when the event is emitted. + * @param {function(event, args...)} listener Function to call when the event is emitted. * @returns {function()} Returns a deregistration function for this listener. * * The event listener function format is: `function(event, args...)`. The `event` object |
