aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/rootScope.js
diff options
context:
space:
mode:
authorBrad Williams2014-01-29 10:16:54 -0800
committerTobias Bosch2014-01-30 16:50:08 -0800
commitcaed2dfe4feeac5d19ecea2dbb1456b7fde21e6d (patch)
treec49f550cbee5b362b21f4f39cf63a7cc99f555e4 /src/ng/rootScope.js
parent7f4edaff6e50bdfc524e7dc70ed96663fd7dcea2 (diff)
downloadangular.js-caed2dfe4feeac5d19ecea2dbb1456b7fde21e6d.tar.bz2
fix(docs): clarify doc for "args" in $broadcast and $emit
Closes #6047.
Diffstat (limited to 'src/ng/rootScope.js')
-rw-r--r--src/ng/rootScope.js4
1 files changed, 2 insertions, 2 deletions
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) {