MCPcopy Index your code
hub / github.com/angular-ui/ui-router / parseAbsoluteUrl

Function parseAbsoluteUrl

test/angular/1.4/angular.js:11690–11696  ·  view source on GitHub ↗
(absoluteUrl, locationObj)

Source from the content-addressed store, hash-verified

11688}
11689
11690function parseAbsoluteUrl(absoluteUrl, locationObj) {
11691 var parsedUrl = urlResolve(absoluteUrl);
11692
11693 locationObj.$$protocol = parsedUrl.protocol;
11694 locationObj.$$host = parsedUrl.hostname;
11695 locationObj.$$port = toInt(parsedUrl.port) || DEFAULT_PORTS[parsedUrl.protocol] || null;
11696}
11697
11698
11699function parseAppUrl(relativeUrl, locationObj) {

Callers 2

LocationHtml5UrlFunction · 0.70
LocationHashbangUrlFunction · 0.70

Calls 2

urlResolveFunction · 0.70
toIntFunction · 0.70

Tested by

no test coverage detected