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

Function createShortMethodsWithData

lib/test/angular/1.5.0/angular.js:11166–11176  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

11164
11165
11166 function createShortMethodsWithData(name) {
11167 forEach(arguments, function(name) {
11168 $http[name] = function(url, data, config) {
11169 return $http(extend({}, config || {}, {
11170 method: name,
11171 url: url,
11172 data: data
11173 }));
11174 };
11175 });
11176 }
11177
11178
11179 /**

Callers 1

$HttpProviderFunction · 0.70

Calls 3

forEachFunction · 0.70
$httpFunction · 0.70
extendFunction · 0.70

Tested by

no test coverage detected