(name)
| 8384 | |
| 8385 | |
| 8386 | function createShortMethodsWithData(name) { |
| 8387 | forEach(arguments, function(name) { |
| 8388 | $http[name] = function(url, data, config) { |
| 8389 | return $http(extend(config || {}, { |
| 8390 | method: name, |
| 8391 | url: url, |
| 8392 | data: data |
| 8393 | })); |
| 8394 | }; |
| 8395 | }); |
| 8396 | } |
| 8397 | |
| 8398 | |
| 8399 | /** |
no test coverage detected