(name)
| 8355 | |
| 8356 | |
| 8357 | function createShortMethodsWithData(name) { |
| 8358 | forEach(arguments, function(name) { |
| 8359 | $http[name] = function(url, data, config) { |
| 8360 | return $http(extend(config || {}, { |
| 8361 | method: name, |
| 8362 | url: url, |
| 8363 | data: data |
| 8364 | })); |
| 8365 | }; |
| 8366 | }); |
| 8367 | } |
| 8368 | |
| 8369 | |
| 8370 | /** |
no test coverage detected