From caed2dfe4feeac5d19ecea2dbb1456b7fde21e6d Mon Sep 17 00:00:00 2001 From: Brad Williams Date: Wed, 29 Jan 2014 10:16:54 -0800 Subject: fix(docs): clarify doc for "args" in $broadcast and $emit Closes #6047. --- src/ng/rootScope.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ng/rootScope.js') diff --git a/src/ng/rootScope.js b/src/ng/rootScope.js index bbf290b2..c90d28a6 100644 --- a/src/ng/rootScope.js +++ b/src/ng/rootScope.js @@ -926,7 +926,7 @@ function $RootScopeProvider(){ * onto the {@link ng.$exceptionHandler $exceptionHandler} service. * * @param {string} name Event name to emit. - * @param {...*} args Optional set of arguments which will be passed onto the event listeners. + * @param {...*} args Optional one or more arguments which will be passed onto the event listeners. * @return {Object} Event object (see {@link ng.$rootScope.Scope#methods_$on}). */ $emit: function(name, args) { @@ -994,7 +994,7 @@ function $RootScopeProvider(){ * onto the {@link ng.$exceptionHandler $exceptionHandler} service. * * @param {string} name Event name to broadcast. - * @param {...*} args Optional set of arguments which will be passed onto the event listeners. + * @param {...*} args Optional one or more arguments which will be passed onto the event listeners. * @return {Object} Event object, see {@link ng.$rootScope.Scope#methods_$on} */ $broadcast: function(name, args) { -- cgit v1.2.3