From a01cf6d39e30598bb0145e619515c69b6aac09e9 Mon Sep 17 00:00:00 2001 From: dandoyon Date: Fri, 29 Jul 2011 18:42:16 -0700 Subject: 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. --- src/service/xhr.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/service/xhr.js') 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}. * -- cgit v1.2.3