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

Function parseAbsoluteUrl

test/angular/1.2/angular.js:9276–9282  ·  view source on GitHub ↗
(absoluteUrl, locationObj, appBase)

Source from the content-addressed store, hash-verified

9274}
9275
9276function parseAbsoluteUrl(absoluteUrl, locationObj, appBase) {
9277 var parsedUrl = urlResolve(absoluteUrl, appBase);
9278
9279 locationObj.$$protocol = parsedUrl.protocol;
9280 locationObj.$$host = parsedUrl.hostname;
9281 locationObj.$$port = int(parsedUrl.port) || DEFAULT_PORTS[parsedUrl.protocol] || null;
9282}
9283
9284
9285function parseAppUrl(relativeUrl, locationObj, appBase) {

Callers 2

LocationHtml5UrlFunction · 0.70
LocationHashbangUrlFunction · 0.70

Calls 2

urlResolveFunction · 0.70
intFunction · 0.70

Tested by

no test coverage detected