Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/angular-ui/ui-router
/ stripFile
Function
stripFile
test/angular/1.2/angular.js:9327–9329 ·
view source on GitHub ↗
(url)
Source
from the content-addressed store, hash-verified
9325
9326
9327
function
stripFile(url) {
9328
return
url.substr(0, stripHash(url).lastIndexOf(
'/'
) + 1);
9329
}
9330
9331
/*
return
the server only (scheme:
//host:port) */
9332
function
serverBase(url) {
Callers
3
LocationHtml5Url
Function · 0.70
LocationHashbangUrl
Function · 0.70
LocationHashbangInHtml5Url
Function · 0.70
Calls
1
stripHash
Function · 0.70
Tested by
no test coverage detected