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