MCPcopy Create free account
hub / github.com/apache/cloudstack / createShortMethodsWithData

Function createShortMethodsWithData

tools/ngui/static/js/lib/angular.js:9089–9099  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

9087
9088
9089 function createShortMethodsWithData(name) {
9090 forEach(arguments, function(name) {
9091 $http[name] = function(url, data, config) {
9092 return $http(extend(config || {}, {
9093 method: name,
9094 url: url,
9095 data: data
9096 }));
9097 };
9098 });
9099 }
9100
9101
9102 /**

Callers 1

$HttpProviderFunction · 0.85

Calls 3

forEachFunction · 0.85
$httpFunction · 0.85
extendFunction · 0.85

Tested by

no test coverage detected