MCPcopy
hub / github.com/mgonto/restangular / restangularizeCollectionAndElements

Function restangularizeCollectionAndElements

src/restangular.js:1076–1084  ·  view source on GitHub ↗
(parent, element, route, fromServer)

Source from the content-addressed store, hash-verified

1074 }
1075
1076 function restangularizeCollectionAndElements(parent, element, route, fromServer) {
1077 var collection = restangularizeCollection(parent, element, route, fromServer);
1078 _.each(collection, function(elem) {
1079 if (elem) {
1080 restangularizeElem(parent, elem, route, fromServer);
1081 }
1082 });
1083 return collection;
1084 }
1085
1086 function getById(id, reqParams, headers) {
1087 return this.customGET(id.toString(), reqParams, headers);

Callers

nothing calls this directly

Calls 2

restangularizeCollectionFunction · 0.85
restangularizeElemFunction · 0.85

Tested by

no test coverage detected