aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/rootScope.js
diff options
context:
space:
mode:
authorPeter Bacon Darwin2014-02-27 21:54:26 +0000
committerPeter Bacon Darwin2014-03-02 15:02:29 +0000
commite89139dc9dd4a9c104d71167bea4987b766767df (patch)
treea408120c247e7c4658f905453f2cb9c268a69114 /src/ng/rootScope.js
parent26169075c84d89c13b22d225f415841e85ed1036 (diff)
downloadangular.js-e89139dc9dd4a9c104d71167bea4987b766767df.tar.bz2
docs(*): ensure jsdoc type expressions are valid
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 4878c3ec..9c75534c 100644
--- a/src/ng/rootScope.js
+++ b/src/ng/rootScope.js
@@ -870,7 +870,7 @@ function $RootScopeProvider(){
* - `defaultPrevented` - `{boolean}`: true if `preventDefault` was called.
*
* @param {string} name Event name to listen on.
- * @param {function(event, args...)} 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.
*/
$on: function(name, listener) {