(names)
| 8343 | |
| 8344 | |
| 8345 | function createShortMethods(names) { |
| 8346 | forEach(arguments, function(name) { |
| 8347 | $http[name] = function(url, config) { |
| 8348 | return $http(extend(config || {}, { |
| 8349 | method: name, |
| 8350 | url: url |
| 8351 | })); |
| 8352 | }; |
| 8353 | }); |
| 8354 | } |
| 8355 | |
| 8356 | |
| 8357 | function createShortMethodsWithData(name) { |
no test coverage detected