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

Function parseAbsoluteUrl

lib/test/angular/1.4.3/angular.js:11220–11226  ·  view source on GitHub ↗
(absoluteUrl, locationObj)

Source from the content-addressed store, hash-verified

11218}
11219
11220function parseAbsoluteUrl(absoluteUrl, locationObj) {
11221 var parsedUrl = urlResolve(absoluteUrl);
11222
11223 locationObj.$$protocol = parsedUrl.protocol;
11224 locationObj.$$host = parsedUrl.hostname;
11225 locationObj.$$port = toInt(parsedUrl.port) || DEFAULT_PORTS[parsedUrl.protocol] || null;
11226}
11227
11228
11229function 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