Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular-ui/ui-grid
/ stripFile
Function
stripFile
lib/test/angular/1.4.3/angular.js:11271–11273 ·
view source on GitHub ↗
(url)
Source
from the content-addressed store, hash-verified
11269
11270
11271
function
stripFile(url) {
11272
return
url.substr(0, stripHash(url).lastIndexOf(
'/'
) + 1);
11273
}
11274
11275
/*
return
the server only (scheme:
//host:port) */
11276
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