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

Function parseAbsoluteUrl

lib/test/angular/1.5.0/angular.js:12118–12124  ·  view source on GitHub ↗
(absoluteUrl, locationObj)

Source from the content-addressed store, hash-verified

12116}
12117
12118function parseAbsoluteUrl(absoluteUrl, locationObj) {
12119 var parsedUrl = urlResolve(absoluteUrl);
12120
12121 locationObj.$$protocol = parsedUrl.protocol;
12122 locationObj.$$host = parsedUrl.hostname;
12123 locationObj.$$port = toInt(parsedUrl.port) || DEFAULT_PORTS[parsedUrl.protocol] || null;
12124}
12125
12126
12127function 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