Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
10637
function
trimEmptyHash(url) {
10638
return
url.replace(/(#.+)|#$/,
'$1'
);
10639
}
10640
10641
10642
function
stripFile(url) {
Callers
1
$LocationProvider
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected