MCPcopy Create free account
hub / github.com/JacksonTian/fks / parseAbsoluteUrl

Function parseAbsoluteUrl

fks_chart/bower_components/angular/angular.js:9247–9253  ·  view source on GitHub ↗
(absoluteUrl, locationObj, appBase)

Source from the content-addressed store, hash-verified

9245}
9246
9247function parseAbsoluteUrl(absoluteUrl, locationObj, appBase) {
9248 var parsedUrl = urlResolve(absoluteUrl, appBase);
9249
9250 locationObj.$$protocol = parsedUrl.protocol;
9251 locationObj.$$host = parsedUrl.hostname;
9252 locationObj.$$port = int(parsedUrl.port) || DEFAULT_PORTS[parsedUrl.protocol] || null;
9253}
9254
9255
9256function parseAppUrl(relativeUrl, locationObj, appBase) {

Callers 2

LocationHtml5UrlFunction · 0.85
LocationHashbangUrlFunction · 0.85

Calls 2

urlResolveFunction · 0.85
intFunction · 0.85

Tested by

no test coverage detected