MCPcopy
hub / github.com/angular-ui/ui-router / parseAbsoluteUrl

Function parseAbsoluteUrl

test/angular/1.3/angular.js:10591–10597  ·  view source on GitHub ↗
(absoluteUrl, locationObj)

Source from the content-addressed store, hash-verified

10589}
10590
10591function parseAbsoluteUrl(absoluteUrl, locationObj) {
10592 var parsedUrl = urlResolve(absoluteUrl);
10593
10594 locationObj.$$protocol = parsedUrl.protocol;
10595 locationObj.$$host = parsedUrl.hostname;
10596 locationObj.$$port = int(parsedUrl.port) || DEFAULT_PORTS[parsedUrl.protocol] || null;
10597}
10598
10599
10600function parseAppUrl(relativeUrl, locationObj) {

Callers 2

LocationHtml5UrlFunction · 0.70
LocationHashbangUrlFunction · 0.70

Calls 2

urlResolveFunction · 0.70
intFunction · 0.70

Tested by

no test coverage detected