diff options
| author | Igor Minar | 2010-11-18 17:03:43 -0800 | 
|---|---|---|
| committer | Igor Minar | 2010-11-18 17:03:43 -0800 | 
| commit | 1719b0aca5f02a9d70482c10ecb7643a9422b2f5 (patch) | |
| tree | a7cc89936d2e8162e517dac276ac0f4ec8d114aa /src/Browser.js | |
| parent | 7ee102eecf927c5a481c6d16b5ff08bfe9563bdc (diff) | |
| download | angular.js-1719b0aca5f02a9d70482c10ecb7643a9422b2f5.tar.bz2 | |
fix all closure compilation warnings due to invalid function types
Diffstat (limited to 'src/Browser.js')
| -rw-r--r-- | src/Browser.js | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Browser.js b/src/Browser.js index b7f0d3f3..197cf1f4 100644 --- a/src/Browser.js +++ b/src/Browser.js @@ -83,7 +83,7 @@ function Browser(location, document, head, XHR, $log) {     * @name angular.service.$browser#notifyWhenNoOutstandingRequests     * @methodOf angular.service.$browser     *  -   * @param {function} callback Function that will be called when no outstanding request +   * @param {function()} callback Function that will be called when no outstanding request     */    self.notifyWhenNoOutstandingRequests = function(callback) {      if (outstandingRequestCount === 0) { @@ -114,12 +114,12 @@ function Browser(location, document, head, XHR, $log) {     * @name angular.service.$browser#addPollFn     * @methodOf angular.service.$browser     *  -   * @param {function} fn Poll function to add +   * @param {function()} fn Poll function to add     *      * @description     * Adds a function to the list of functions that poller periodically executes     *  -   * @returns {function} the added function +   * @returns {function()} the added function     */    self.addPollFn = function(fn) {      pollFns.push(fn); @@ -133,7 +133,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 Reference to a real or fake `setTimeout` function. +   * @param {function()} setTimeout Reference to a real or fake `setTimeout` function.     *      * @description     * Configures the poller to run in the specified intervals, using the specified  | 
