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

Function trimEmptyHash

test/angular/1.4/angular.js:11736–11738  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

11734}
11735
11736function trimEmptyHash(url) {
11737 return url.replace(/(#.+)|#$/, '$1');
11738}
11739
11740
11741function stripFile(url) {

Callers 1

$LocationProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected