aboutsummaryrefslogtreecommitdiffstats
path: root/src/service/xhr.js
diff options
context:
space:
mode:
authordandoyon2011-07-29 18:42:16 -0700
committerIgor Minar2011-08-18 23:24:08 -0700
commita01cf6d39e30598bb0145e619515c69b6aac09e9 (patch)
tree3098ed2ada9a4be843a2e2a12e8c257e7f7fc32f /src/service/xhr.js
parentf93e9bfa81333654b915ca83294a2d3d357c73a2 (diff)
downloadangular.js-a01cf6d39e30598bb0145e619515c69b6aac09e9.tar.bz2
doc(typos): fix couple of typos in the docs
Minor documentation fixes. Should not be any code changes. One test changed due to dependency on text in documentation.
Diffstat (limited to 'src/service/xhr.js')
-rw-r--r--src/service/xhr.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service/xhr.js b/src/service/xhr.js
index dc18419d..40be270e 100644
--- a/src/service/xhr.js
+++ b/src/service/xhr.js
@@ -6,7 +6,7 @@
* @name angular.service.$xhr
* @function
* @requires $browser $xhr delegates all XHR requests to the `$browser.xhr()`. A mock version
- * of the $browser exists which allows setting expectaitions on XHR requests
+ * of the $browser exists which allows setting expectations on XHR requests
* in your tests
* @requires $xhr.error $xhr delegates all non `2xx` response code to this service.
* @requires $log $xhr delegates all exceptions to `$log.error()`.
@@ -83,7 +83,7 @@
* cookie called `XSRF-TOKEN` on first HTTP GET request. On subsequent non-GET requests the server
* can verify that the cookie matches `X-XSRF-TOKEN` HTTP header, and therefore be sure that only
* JavaScript running on your domain could have read the token. The token must be unique for each
- * user and must be verifiable by the server (to prevent the JavaScript making up its own tokens).
+ * user and must be verifiable by the server (to prevent the JavaScript making up its own tokens).
* We recommend that the token is a digest of your site's authentication cookie with
* {@link http://en.wikipedia.org/wiki/Rainbow_table salt for added security}.
*