Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/angular-ui/ui-router
/ stripFile
Function
stripFile
test/angular/1.5/angular.js:13113–13115 ·
view source on GitHub ↗
(url)
Source
from the content-addressed store, hash-verified
13111
13112
13113
function
stripFile(url) {
13114
return
url.substr(0, stripHash(url).lastIndexOf(
'/'
) + 1);
13115
}
13116
13117
/*
return
the server only (scheme:
//host:port) */
13118
function
serverBase(url) {
Callers
1
$LocationProvider
Function · 0.70
Calls
1
stripHash
Function · 0.70
Tested by
no test coverage detected