Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/angular-ui/ui-router
/ stripFile
Function
stripFile
test/angular/1.6/angular.js:13852–13854 ·
view source on GitHub ↗
(url)
Source
from the content-addressed store, hash-verified
13850
13851
13852
function
stripFile(url) {
13853
return
url.substr(0, stripHash(url).lastIndexOf(
'/'
) + 1);
13854
}
13855
13856
/*
return
the server only (scheme:
//host:port) */
13857
function
serverBase(url) {
Callers
1
$LocationProvider
Function · 0.70
Calls
1
stripHash
Function · 0.70
Tested by
no test coverage detected