aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/rootScope.js
diff options
context:
space:
mode:
authorFred Sauer2013-01-28 14:55:49 -0800
committerIgor Minar2013-01-29 15:38:19 -0800
commit250aec71f37ce526aef79e4dd5a56e0feb593484 (patch)
treeb3b45aaa9c2758946eb58ea0bc75b0665207071a /src/ng/rootScope.js
parent3b317c5dcb93e1907fe6fae8f1e9b83c35a7a81f (diff)
downloadangular.js-250aec71f37ce526aef79e4dd5a56e0feb593484.tar.bz2
docs(Scope): fix argument docs for $on
Diffstat (limited to 'src/ng/rootScope.js')
-rw-r--r--src/ng/rootScope.js2
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