From 250aec71f37ce526aef79e4dd5a56e0feb593484 Mon Sep 17 00:00:00 2001 From: Fred Sauer Date: Mon, 28 Jan 2013 14:55:49 -0800 Subject: docs(Scope): fix argument docs for $on --- src/ng/rootScope.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3