diff options
| author | Igor Minar | 2010-11-17 14:46:49 -0800 |
|---|---|---|
| committer | Igor Minar | 2010-11-18 02:35:28 -0800 |
| commit | a6978b201bbc1756b661dd968b3fb1b0d97f5033 (patch) | |
| tree | f717b9de459dbe2d2402b1da3600c8af6a0f31c2 /src/Browser.js | |
| parent | 28e72cbe6bfb874fa6a7f15769e5c83d66fb617f (diff) | |
| download | angular.js-a6978b201bbc1756b661dd968b3fb1b0d97f5033.tar.bz2 | |
make @param type and description non-optional
Diffstat (limited to 'src/Browser.js')
| -rw-r--r-- | src/Browser.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Browser.js b/src/Browser.js index 2608f160..665f515f 100644 --- a/src/Browser.js +++ b/src/Browser.js @@ -128,7 +128,7 @@ function Browser(location, document, head, XHR, $log) { * @methodOf angular.service.$browser * * @param {number} interval How often should browser call poll functions (ms) - * @param {function} setTimeout + * @param {function} setTimeout Reference to a real or fake `setTimeout` function. * * @description * Configures the poller to run in the specified intervals, using the specified @@ -251,11 +251,12 @@ function Browser(location, document, head, XHR, $log) { * @ngdoc method * @name angular.service.$browser#hover * @methodOf angular.service.$browser - * - * @param {function(Object, boolean)} listener - * + * * @description - * Set hover listener - function that will be called when hover event occurs. + * Set hover listener. + * + * @param {function(Object, boolean)} listener Function that will be called when hover event + * occurs. */ self.hover = function(listener) { hoverListener = listener; }; |
