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

Function parseAbsoluteUrl

lib/test/angular/1.7.0/angular.js:13830–13836  ·  view source on GitHub ↗
(absoluteUrl, locationObj)

Source from the content-addressed store, hash-verified

13828}
13829
13830function parseAbsoluteUrl(absoluteUrl, locationObj) {
13831 var parsedUrl = urlResolve(absoluteUrl);
13832
13833 locationObj.$$protocol = parsedUrl.protocol;
13834 locationObj.$$host = parsedUrl.hostname;
13835 locationObj.$$port = toInt(parsedUrl.port) || DEFAULT_PORTS[parsedUrl.protocol] || null;
13836}
13837
13838var DOUBLE_SLASH_REGEX = /^\s*[\\/]{2,}/;
13839function parseAppUrl(url, locationObj, html5Mode) {

Callers 2

LocationHtml5UrlFunction · 0.70
LocationHashbangUrlFunction · 0.70

Calls 2

urlResolveFunction · 0.70
toIntFunction · 0.70

Tested by

no test coverage detected