MCPcopy
hub / github.com/angular-ui/ui-grid / createShortMethodsWithData

Function createShortMethodsWithData

lib/test/angular/1.8.0/angular.js:13270–13280  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

13268
13269
13270 function createShortMethodsWithData(name) {
13271 forEach(arguments, function(name) {
13272 $http[name] = function(url, data, config) {
13273 return $http(extend({}, config || {}, {
13274 method: name,
13275 url: url,
13276 data: data
13277 }));
13278 };
13279 });
13280 }
13281
13282
13283 /**

Callers 1

$HttpProviderFunction · 0.70

Calls 3

forEachFunction · 0.70
$httpFunction · 0.70
extendFunction · 0.70

Tested by

no test coverage detected