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

Function allUrl

src/restangular.js:904–911  ·  view source on GitHub ↗
(parent, route, url)

Source from the content-addressed store, hash-verified

902
903
904 function allUrl(parent, route, url) {
905 if (!route) {
906 throw new Error('Route is mandatory when creating new Restangular objects.');
907 }
908 var elem = {};
909 config.setUrlToElem(elem, url, route);
910 return restangularizeCollection(parent, elem, route, false);
911 }
912 // Promises
913 function restangularizePromise(promise, isCollection, valueToFill) {
914 promise.call = _.bind(promiseCall, promise);

Callers

nothing calls this directly

Calls 1

restangularizeCollectionFunction · 0.85

Tested by

no test coverage detected