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

Function parseAbsoluteUrl

lib/test/angular/1.6.7/angular.js:13626–13632  ·  view source on GitHub ↗
(absoluteUrl, locationObj)

Source from the content-addressed store, hash-verified

13624}
13625
13626function parseAbsoluteUrl(absoluteUrl, locationObj) {
13627 var parsedUrl = urlResolve(absoluteUrl);
13628
13629 locationObj.$$protocol = parsedUrl.protocol;
13630 locationObj.$$host = parsedUrl.hostname;
13631 locationObj.$$port = toInt(parsedUrl.port) || DEFAULT_PORTS[parsedUrl.protocol] || null;
13632}
13633
13634var DOUBLE_SLASH_REGEX = /^\s*[\\/]{2,}/;
13635function 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