MCPcopy
hub / github.com/angular-ui/ui-router / trimEmptyHash

Function trimEmptyHash

test/angular/1.3/angular.js:10637–10639  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

10635}
10636
10637function trimEmptyHash(url) {
10638 return url.replace(/(#.+)|#$/, '$1');
10639}
10640
10641
10642function stripFile(url) {

Callers 1

$LocationProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected