diff options
| author | Vojta Jina | 2011-11-11 17:15:22 -0800 | 
|---|---|---|
| committer | Misko Hevery | 2011-11-14 20:31:19 -0800 | 
| commit | acbd7cdf320f0570fcc1952c8680d4c78bc8fa2c (patch) | |
| tree | 2483609ada03b9e6ff477596f0402dc24fdd7518 /src/service/xhr.js | |
| parent | 035c7510763a9742294d51ba55aea0b6dd08ea58 (diff) | |
| download | angular.js-acbd7cdf320f0570fcc1952c8680d4c78bc8fa2c.tar.bz2 | |
style(docs): make jslint happy - fix some warnings
Diffstat (limited to 'src/service/xhr.js')
| -rw-r--r-- | src/service/xhr.js | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/src/service/xhr.js b/src/service/xhr.js index d34a37f2..d9c78fd6 100644 --- a/src/service/xhr.js +++ b/src/service/xhr.js @@ -2,7 +2,7 @@  /**   * @ngdoc object - * @name angular.module.NG.$xhr + * @name angular.module.ng.$xhr   * @function   * @requires $browser $xhr delegates all XHR requests to the `$browser.xhr()`. A mock version   *                    of the $browser exists which allows setting expectations on XHR requests @@ -12,14 +12,14 @@   *   * @description   * Generates an XHR request. The $xhr service delegates all requests to - * {@link angular.module.NG.$browser $browser.xhr()} and adds error handling and security features. + * {@link angular.module.ng.$browser $browser.xhr()} and adds error handling and security features.   * While $xhr service provides nicer api than raw XmlHttpRequest, it is still considered a lower   * level api in angular. For a higher level abstraction that utilizes `$xhr`, please check out the - * {@link angular.module.NG.$resource $resource} service. + * {@link angular.module.ng.$resource $resource} service.   *   * # Error handling   * If no `error callback` is specified, XHR response with response code other then `2xx` will be - * delegated to {@link angular.module.NG.$xhr.error $xhr.error}. The `$xhr.error` can intercept the + * delegated to {@link angular.module.ng.$xhr.error $xhr.error}. The `$xhr.error` can intercept the   * request and process it in application specific way, or resume normal execution by calling the   * request `success` method.   * @@ -98,7 +98,7 @@   *   *   - {number} code [HTTP status code](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes) of   *     the response. This will currently always be 200, since all non-200 responses are routed to - *     {@link angular.module.NG.$xhr.error} service (or custom error callback). + *     {@link angular.module.ng.$xhr.error} service (or custom error callback).   *   - {string|Object} response Response object as string or an Object if the response was in JSON   *     format.   * @param {function(number, (string|Object))} error A function to be called if the response code is | 
