Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8d6c594

Browse files
docs($httpBackend): correct grammar
Closes angular#10496
1 parent b79f583 commit 8d6c594

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/ngMock/angular-mocks.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1838,7 +1838,7 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
18381838
* @param {(Object|function(Object))=} headers HTTP headers or function that receives http header
18391839
* object and returns true if the headers match the current definition.
18401840
* @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that
1841-
* control how a matched request is handled.
1841+
* controls how a matched request is handled.
18421842
*
18431843
* - respond –
18441844
* `{function([status,] data[, headers, statusText])
@@ -1861,7 +1861,7 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
18611861
* @param {string|RegExp} url HTTP url.
18621862
* @param {(Object|function(Object))=} headers HTTP headers.
18631863
* @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that
1864-
* control how a matched request is handled.
1864+
* controls how a matched request is handled.
18651865
*/
18661866

18671867
/**
@@ -1874,7 +1874,7 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
18741874
* @param {string|RegExp} url HTTP url.
18751875
* @param {(Object|function(Object))=} headers HTTP headers.
18761876
* @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that
1877-
* control how a matched request is handled.
1877+
* controls how a matched request is handled.
18781878
*/
18791879

18801880
/**
@@ -1887,7 +1887,7 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
18871887
* @param {string|RegExp} url HTTP url.
18881888
* @param {(Object|function(Object))=} headers HTTP headers.
18891889
* @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that
1890-
* control how a matched request is handled.
1890+
* controls how a matched request is handled.
18911891
*/
18921892

18931893
/**
@@ -1901,7 +1901,7 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
19011901
* @param {(string|RegExp)=} data HTTP request body.
19021902
* @param {(Object|function(Object))=} headers HTTP headers.
19031903
* @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that
1904-
* control how a matched request is handled.
1904+
* controls how a matched request is handled.
19051905
*/
19061906

19071907
/**
@@ -1915,7 +1915,7 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
19151915
* @param {(string|RegExp)=} data HTTP request body.
19161916
* @param {(Object|function(Object))=} headers HTTP headers.
19171917
* @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that
1918-
* control how a matched request is handled.
1918+
* controls how a matched request is handled.
19191919
*/
19201920

19211921
/**
@@ -1929,7 +1929,7 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
19291929
* @param {(string|RegExp)=} data HTTP request body.
19301930
* @param {(Object|function(Object))=} headers HTTP headers.
19311931
* @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that
1932-
* control how a matched request is handled.
1932+
* controls how a matched request is handled.
19331933
*/
19341934

19351935
/**
@@ -1941,7 +1941,7 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
19411941
*
19421942
* @param {string|RegExp} url HTTP url.
19431943
* @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that
1944-
* control how a matched request is handled.
1944+
* controls how a matched request is handled.
19451945
*/
19461946
angular.mock.e2e = {};
19471947
angular.mock.e2e.$httpBackendDecorator =

0 commit comments

Comments
 (0)