MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / createShortMethodsWithData

Function createShortMethodsWithData

lib/test/angular/1.6.7/angular.js:12478–12488  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

12476
12477
12478 function createShortMethodsWithData(name) {
12479 forEach(arguments, function(name) {
12480 $http[name] = function(url, data, config) {
12481 return $http(extend({}, config || {}, {
12482 method: name,
12483 url: url,
12484 data: data
12485 }));
12486 };
12487 });
12488 }
12489
12490
12491 /**

Callers 1

$HttpProviderFunction · 0.70

Calls 3

forEachFunction · 0.70
$httpFunction · 0.70
extendFunction · 0.70

Tested by

no test coverage detected