Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bclinkinbeard/angular
/ stripFile
Function
stripFile
test/fixtures/foo.js:9215–9217 ·
view source on GitHub ↗
(url)
Source
from the content-addressed store, hash-verified
9213
9214
9215
function
stripFile(url) {
9216
return
url.substr(0, stripHash(url).lastIndexOf(
'/'
) + 1);
9217
}
9218
9219
/*
return
the server only (scheme:
//host:port) */
9220
function
serverBase(url) {
Callers
3
LocationHtml5Url
Function · 0.85
LocationHashbangUrl
Function · 0.85
LocationHashbangInHtml5Url
Function · 0.85
Calls
1
stripHash
Function · 0.85
Tested by
no test coverage detected