MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / parseAbsoluteUrl

Function parseAbsoluteUrl

code/songhop/www/lib/angular/angular.js:10472–10478  ·  view source on GitHub ↗
(absoluteUrl, locationObj)

Source from the content-addressed store, hash-verified

10470}
10471
10472function parseAbsoluteUrl(absoluteUrl, locationObj) {
10473 var parsedUrl = urlResolve(absoluteUrl);
10474
10475 locationObj.$$protocol = parsedUrl.protocol;
10476 locationObj.$$host = parsedUrl.hostname;
10477 locationObj.$$port = int(parsedUrl.port) || DEFAULT_PORTS[parsedUrl.protocol] || null;
10478}
10479
10480
10481function 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