MCPcopy Index your code
hub / github.com/angular-ui/ui-router / trimEmptyHash

Function trimEmptyHash

test/angular/1.2/angular.js:9322–9324  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

9320}
9321
9322function trimEmptyHash(url) {
9323 return url.replace(/(#.+)|#$/, '$1');
9324}
9325
9326
9327function stripFile(url) {

Callers 1

$LocationProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected