MCPcopy
hub / github.com/angular-ui/ui-grid / normalizePath

Function normalizePath

lib/test/angular/1.8.0/angular.js:14478–14484  ·  view source on GitHub ↗
(pathValue, searchValue, hashValue)

Source from the content-addressed store, hash-verified

14476}
14477
14478function normalizePath(pathValue, searchValue, hashValue) {
14479 var search = toKeyValue(searchValue),
14480 hash = hashValue ? '#' + encodeUriSegment(hashValue) : '',
14481 path = encodePath(pathValue);
14482
14483 return path + (search ? '?' + search : '') + hash;
14484}
14485
14486function parseAbsoluteUrl(absoluteUrl, locationObj) {
14487 var parsedUrl = urlResolve(absoluteUrl);

Callers 1

angular.jsFile · 0.85

Calls 3

toKeyValueFunction · 0.70
encodeUriSegmentFunction · 0.70
encodePathFunction · 0.70

Tested by

no test coverage detected