diff options
| author | Fred Sauer | 2013-01-28 14:55:49 -0800 |
|---|---|---|
| committer | Igor Minar | 2013-01-29 15:38:19 -0800 |
| commit | 250aec71f37ce526aef79e4dd5a56e0feb593484 (patch) | |
| tree | b3b45aaa9c2758946eb58ea0bc75b0665207071a /src | |
| parent | 3b317c5dcb93e1907fe6fae8f1e9b83c35a7a81f (diff) | |
| download | angular.js-250aec71f37ce526aef79e4dd5a56e0feb593484.tar.bz2 | |
docs(Scope): fix argument docs for $on
Diffstat (limited to 'src')
| -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 a299bb88..9be37b9f 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 |
