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

Function createShortMethods

lib/test/angular/1.5.0/angular.js:11154–11163  ·  view source on GitHub ↗
(names)

Source from the content-addressed store, hash-verified

11152
11153
11154 function createShortMethods(names) {
11155 forEach(arguments, function(name) {
11156 $http[name] = function(url, config) {
11157 return $http(extend({}, config || {}, {
11158 method: name,
11159 url: url
11160 }));
11161 };
11162 });
11163 }
11164
11165
11166 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