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

Function createShortMethods

lib/test/angular/1.4.3/angular.js:10252–10261  ·  view source on GitHub ↗
(names)

Source from the content-addressed store, hash-verified

10250
10251
10252 function createShortMethods(names) {
10253 forEach(arguments, function(name) {
10254 $http[name] = function(url, config) {
10255 return $http(extend({}, config || {}, {
10256 method: name,
10257 url: url
10258 }));
10259 };
10260 });
10261 }
10262
10263
10264 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