diff options
| author | Brad Williams | 2014-01-29 10:16:54 -0800 | 
|---|---|---|
| committer | Tobias Bosch | 2014-01-30 16:50:08 -0800 | 
| commit | caed2dfe4feeac5d19ecea2dbb1456b7fde21e6d (patch) | |
| tree | c49f550cbee5b362b21f4f39cf63a7cc99f555e4 | |
| parent | 7f4edaff6e50bdfc524e7dc70ed96663fd7dcea2 (diff) | |
| download | angular.js-caed2dfe4feeac5d19ecea2dbb1456b7fde21e6d.tar.bz2 | |
fix(docs): clarify doc for "args" in $broadcast and $emit
Closes #6047.
| -rw-r--r-- | src/ng/rootScope.js | 4 | 
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) { | 
