Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 9e6161e

Browse files
toddskinnerpetebacondarwin
authored andcommitted
docs($httpBackend): correct grammar
Closes #10496
1 parent bd28c74 commit 9e6161e

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/ngMock/angular-mocks.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@ function createHttpBackendMock($rootScope, $timeout, $delegate, $browser) {
12761276
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
12771277
* and returns true if the url match the current definition.
12781278
* @param {(Object|function(Object))=} headers HTTP headers.
1279-
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
1279+
* @returns {requestHandler} Returns an object with `respond` method that controls how a matched
12801280
* request is handled. You can save this object for later use and invoke `respond` again in
12811281
* order to change how a matched request is handled.
12821282
*/
@@ -1290,7 +1290,7 @@ function createHttpBackendMock($rootScope, $timeout, $delegate, $browser) {
12901290
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
12911291
* and returns true if the url match the current definition.
12921292
* @param {(Object|function(Object))=} headers HTTP headers.
1293-
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
1293+
* @returns {requestHandler} Returns an object with `respond` method that controls how a matched
12941294
* request is handled. You can save this object for later use and invoke `respond` again in
12951295
* order to change how a matched request is handled.
12961296
*/
@@ -1304,7 +1304,7 @@ function createHttpBackendMock($rootScope, $timeout, $delegate, $browser) {
13041304
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
13051305
* and returns true if the url match the current definition.
13061306
* @param {(Object|function(Object))=} headers HTTP headers.
1307-
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
1307+
* @returns {requestHandler} Returns an object with `respond` method that controls how a matched
13081308
* request is handled. You can save this object for later use and invoke `respond` again in
13091309
* order to change how a matched request is handled.
13101310
*/
@@ -1320,7 +1320,7 @@ function createHttpBackendMock($rootScope, $timeout, $delegate, $browser) {
13201320
* @param {(string|RegExp|function(string))=} data HTTP request body or function that receives
13211321
* data string and returns true if the data is as expected.
13221322
* @param {(Object|function(Object))=} headers HTTP headers.
1323-
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
1323+
* @returns {requestHandler} Returns an object with `respond` method that controls how a matched
13241324
* request is handled. You can save this object for later use and invoke `respond` again in
13251325
* order to change how a matched request is handled.
13261326
*/
@@ -1336,7 +1336,7 @@ function createHttpBackendMock($rootScope, $timeout, $delegate, $browser) {
13361336
* @param {(string|RegExp|function(string))=} data HTTP request body or function that receives
13371337
* data string and returns true if the data is as expected.
13381338
* @param {(Object|function(Object))=} headers HTTP headers.
1339-
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
1339+
* @returns {requestHandler} Returns an object with `respond` method that controls how a matched
13401340
* request is handled. You can save this object for later use and invoke `respond` again in
13411341
* order to change how a matched request is handled.
13421342
*/
@@ -1349,7 +1349,7 @@ function createHttpBackendMock($rootScope, $timeout, $delegate, $browser) {
13491349
*
13501350
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
13511351
* and returns true if the url match the current definition.
1352-
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
1352+
* @returns {requestHandler} Returns an object with `respond` method that controls how a matched
13531353
* request is handled. You can save this object for later use and invoke `respond` again in
13541354
* order to change how a matched request is handled.
13551355
*/
@@ -1370,7 +1370,7 @@ function createHttpBackendMock($rootScope, $timeout, $delegate, $browser) {
13701370
* is in JSON format.
13711371
* @param {(Object|function(Object))=} headers HTTP headers or function that receives http header
13721372
* object and returns true if the headers match the current expectation.
1373-
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
1373+
* @returns {requestHandler} Returns an object with `respond` method that controls how a matched
13741374
* request is handled. You can save this object for later use and invoke `respond` again in
13751375
* order to change how a matched request is handled.
13761376
*
@@ -1405,7 +1405,7 @@ function createHttpBackendMock($rootScope, $timeout, $delegate, $browser) {
14051405
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
14061406
* and returns true if the url match the current definition.
14071407
* @param {Object=} headers HTTP headers.
1408-
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
1408+
* @returns {requestHandler} Returns an object with `respond` method that controls how a matched
14091409
* request is handled. You can save this object for later use and invoke `respond` again in
14101410
* order to change how a matched request is handled. See #expect for more info.
14111411
*/
@@ -1419,7 +1419,7 @@ function createHttpBackendMock($rootScope, $timeout, $delegate, $browser) {
14191419
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
14201420
* and returns true if the url match the current definition.
14211421
* @param {Object=} headers HTTP headers.
1422-
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
1422+
* @returns {requestHandler} Returns an object with `respond` method that controls how a matched
14231423
* request is handled. You can save this object for later use and invoke `respond` again in
14241424
* order to change how a matched request is handled.
14251425
*/
@@ -1433,7 +1433,7 @@ function createHttpBackendMock($rootScope, $timeout, $delegate, $browser) {
14331433
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
14341434
* and returns true if the url match the current definition.
14351435
* @param {Object=} headers HTTP headers.
1436-
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
1436+
* @returns {requestHandler} Returns an object with `respond` method that controls how a matched
14371437
* request is handled. You can save this object for later use and invoke `respond` again in
14381438
* order to change how a matched request is handled.
14391439
*/
@@ -1450,7 +1450,7 @@ function createHttpBackendMock($rootScope, $timeout, $delegate, $browser) {
14501450
* receives data string and returns true if the data is as expected, or Object if request body
14511451
* is in JSON format.
14521452
* @param {Object=} headers HTTP headers.
1453-
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
1453+
* @returns {requestHandler} Returns an object with `respond` method that controls how a matched
14541454
* request is handled. You can save this object for later use and invoke `respond` again in
14551455
* order to change how a matched request is handled.
14561456
*/
@@ -1467,7 +1467,7 @@ function createHttpBackendMock($rootScope, $timeout, $delegate, $browser) {
14671467
* receives data string and returns true if the data is as expected, or Object if request body
14681468
* is in JSON format.
14691469
* @param {Object=} headers HTTP headers.
1470-
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
1470+
* @returns {requestHandler} Returns an object with `respond` method that controls how a matched
14711471
* request is handled. You can save this object for later use and invoke `respond` again in
14721472
* order to change how a matched request is handled.
14731473
*/
@@ -1484,7 +1484,7 @@ function createHttpBackendMock($rootScope, $timeout, $delegate, $browser) {
14841484
* receives data string and returns true if the data is as expected, or Object if request body
14851485
* is in JSON format.
14861486
* @param {Object=} headers HTTP headers.
1487-
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
1487+
* @returns {requestHandler} Returns an object with `respond` method that controls how a matched
14881488
* request is handled. You can save this object for later use and invoke `respond` again in
14891489
* order to change how a matched request is handled.
14901490
*/
@@ -1497,7 +1497,7 @@ function createHttpBackendMock($rootScope, $timeout, $delegate, $browser) {
14971497
*
14981498
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
14991499
* and returns true if the url match the current definition.
1500-
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
1500+
* @returns {requestHandler} Returns an object with `respond` method that controls how a matched
15011501
* request is handled. You can save this object for later use and invoke `respond` again in
15021502
* order to change how a matched request is handled.
15031503
*/

0 commit comments

Comments
 (0)