Skip to content

Commit 2b84f43

Browse files
committed
style(ngMocks): remove ws
1 parent d6cfcac commit 2b84f43

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

src/ngMock/angular-mocks.js

+23-23
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) {
11781178
* Creates a new backend definition.
11791179
*
11801180
* @param {string} method HTTP method.
1181-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1181+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
11821182
* and returns true if the url match the current definition.
11831183
* @param {(string|RegExp|function(string))=} data HTTP request body or function that receives
11841184
* data string and returns true if the data is as expected.
@@ -1217,7 +1217,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) {
12171217
* @description
12181218
* Creates a new backend definition for GET requests. For more info see `when()`.
12191219
*
1220-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1220+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
12211221
* and returns true if the url match the current definition.
12221222
* @param {(Object|function(Object))=} headers HTTP headers.
12231223
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
@@ -1230,7 +1230,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) {
12301230
* @description
12311231
* Creates a new backend definition for HEAD requests. For more info see `when()`.
12321232
*
1233-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1233+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
12341234
* and returns true if the url match the current definition.
12351235
* @param {(Object|function(Object))=} headers HTTP headers.
12361236
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
@@ -1243,7 +1243,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) {
12431243
* @description
12441244
* Creates a new backend definition for DELETE requests. For more info see `when()`.
12451245
*
1246-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1246+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
12471247
* and returns true if the url match the current definition.
12481248
* @param {(Object|function(Object))=} headers HTTP headers.
12491249
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
@@ -1256,7 +1256,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) {
12561256
* @description
12571257
* Creates a new backend definition for POST requests. For more info see `when()`.
12581258
*
1259-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1259+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
12601260
* and returns true if the url match the current definition.
12611261
* @param {(string|RegExp|function(string))=} data HTTP request body or function that receives
12621262
* data string and returns true if the data is as expected.
@@ -1271,7 +1271,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) {
12711271
* @description
12721272
* Creates a new backend definition for PUT requests. For more info see `when()`.
12731273
*
1274-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1274+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
12751275
* and returns true if the url match the current definition.
12761276
* @param {(string|RegExp|function(string))=} data HTTP request body or function that receives
12771277
* data string and returns true if the data is as expected.
@@ -1286,7 +1286,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) {
12861286
* @description
12871287
* Creates a new backend definition for JSONP requests. For more info see `when()`.
12881288
*
1289-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1289+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
12901290
* and returns true if the url match the current definition.
12911291
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
12921292
* request is handled.
@@ -1301,7 +1301,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) {
13011301
* Creates a new request expectation.
13021302
*
13031303
* @param {string} method HTTP method.
1304-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1304+
* @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 {(string|RegExp|function(string)|Object)=} data HTTP request body or function that
13071307
* receives data string and returns true if the data is as expected, or Object if request body
@@ -1334,7 +1334,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) {
13341334
* @description
13351335
* Creates a new request expectation for GET requests. For more info see `expect()`.
13361336
*
1337-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1337+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
13381338
* and returns true if the url match the current definition.
13391339
* @param {Object=} headers HTTP headers.
13401340
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
@@ -1347,7 +1347,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) {
13471347
* @description
13481348
* Creates a new request expectation for HEAD requests. For more info see `expect()`.
13491349
*
1350-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1350+
* @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.
13521352
* @param {Object=} headers HTTP headers.
13531353
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
@@ -1360,7 +1360,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) {
13601360
* @description
13611361
* Creates a new request expectation for DELETE requests. For more info see `expect()`.
13621362
*
1363-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1363+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
13641364
* and returns true if the url match the current definition.
13651365
* @param {Object=} headers HTTP headers.
13661366
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
@@ -1373,7 +1373,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) {
13731373
* @description
13741374
* Creates a new request expectation for POST requests. For more info see `expect()`.
13751375
*
1376-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1376+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
13771377
* and returns true if the url match the current definition.
13781378
* @param {(string|RegExp|function(string)|Object)=} data HTTP request body or function that
13791379
* receives data string and returns true if the data is as expected, or Object if request body
@@ -1389,7 +1389,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) {
13891389
* @description
13901390
* Creates a new request expectation for PUT requests. For more info see `expect()`.
13911391
*
1392-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1392+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
13931393
* and returns true if the url match the current definition.
13941394
* @param {(string|RegExp|function(string)|Object)=} data HTTP request body or function that
13951395
* receives data string and returns true if the data is as expected, or Object if request body
@@ -1405,7 +1405,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) {
14051405
* @description
14061406
* Creates a new request expectation for PATCH requests. For more info see `expect()`.
14071407
*
1408-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1408+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
14091409
* and returns true if the url match the current definition.
14101410
* @param {(string|RegExp|function(string)|Object)=} data HTTP request body or function that
14111411
* receives data string and returns true if the data is as expected, or Object if request body
@@ -1421,7 +1421,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) {
14211421
* @description
14221422
* Creates a new request expectation for JSONP requests. For more info see `expect()`.
14231423
*
1424-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1424+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
14251425
* and returns true if the url match the current definition.
14261426
* @returns {requestHandler} Returns an object with `respond` method that control how a matched
14271427
* request is handled.
@@ -1824,7 +1824,7 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
18241824
* Creates a new backend definition.
18251825
*
18261826
* @param {string} method HTTP method.
1827-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1827+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
18281828
* and returns true if the url match the current definition.
18291829
* @param {(string|RegExp)=} data HTTP request body.
18301830
* @param {(Object|function(Object))=} headers HTTP headers or function that receives http header
@@ -1849,7 +1849,7 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
18491849
* @description
18501850
* Creates a new backend definition for GET requests. For more info see `when()`.
18511851
*
1852-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1852+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
18531853
* and returns true if the url match the current definition.
18541854
* @param {(Object|function(Object))=} headers HTTP headers.
18551855
* @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that
@@ -1863,7 +1863,7 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
18631863
* @description
18641864
* Creates a new backend definition for HEAD requests. For more info see `when()`.
18651865
*
1866-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1866+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
18671867
* and returns true if the url match the current definition.
18681868
* @param {(Object|function(Object))=} headers HTTP headers.
18691869
* @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that
@@ -1877,7 +1877,7 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
18771877
* @description
18781878
* Creates a new backend definition for DELETE requests. For more info see `when()`.
18791879
*
1880-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1880+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
18811881
* and returns true if the url match the current definition.
18821882
* @param {(Object|function(Object))=} headers HTTP headers.
18831883
* @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that
@@ -1891,7 +1891,7 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
18911891
* @description
18921892
* Creates a new backend definition for POST requests. For more info see `when()`.
18931893
*
1894-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1894+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
18951895
* and returns true if the url match the current definition.
18961896
* @param {(string|RegExp)=} data HTTP request body.
18971897
* @param {(Object|function(Object))=} headers HTTP headers.
@@ -1906,7 +1906,7 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
19061906
* @description
19071907
* Creates a new backend definition for PUT requests. For more info see `when()`.
19081908
*
1909-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1909+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
19101910
* and returns true if the url match the current definition.
19111911
* @param {(string|RegExp)=} data HTTP request body.
19121912
* @param {(Object|function(Object))=} headers HTTP headers.
@@ -1921,7 +1921,7 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
19211921
* @description
19221922
* Creates a new backend definition for PATCH requests. For more info see `when()`.
19231923
*
1924-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1924+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
19251925
* and returns true if the url match the current definition.
19261926
* @param {(string|RegExp)=} data HTTP request body.
19271927
* @param {(Object|function(Object))=} headers HTTP headers.
@@ -1936,7 +1936,7 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
19361936
* @description
19371937
* Creates a new backend definition for JSONP requests. For more info see `when()`.
19381938
*
1939-
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
1939+
* @param {string|RegExp|function(string)} url HTTP url or function that receives the url
19401940
* and returns true if the url match the current definition.
19411941
* @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that
19421942
* control how a matched request is handled.

0 commit comments

Comments
 (0)