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

Function createShortMethods

lib/test/angular/1.6.7/angular.js:12466–12475  ·  view source on GitHub ↗
(names)

Source from the content-addressed store, hash-verified

12464
12465
12466 function createShortMethods(names) {
12467 forEach(arguments, function(name) {
12468 $http[name] = function(url, config) {
12469 return $http(extend({}, config || {}, {
12470 method: name,
12471 url: url
12472 }));
12473 };
12474 });
12475 }
12476
12477
12478 function createShortMethodsWithData(name) {

Callers 1

$HttpProviderFunction · 0.70

Calls 3

forEachFunction · 0.70
$httpFunction · 0.70
extendFunction · 0.70

Tested by

no test coverage detected