Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricSimons/ionic-course
/ stripFile
Function
stripFile
code/songhop/www/lib/angular/angular.js:10523–10525 ·
view source on GitHub ↗
(url)
Source
from the content-addressed store, hash-verified
10521
10522
10523
function
stripFile(url) {
10524
return
url.substr(0, stripHash(url).lastIndexOf(
'/'
) + 1);
10525
}
10526
10527
/*
return
the server only (scheme:
//host:port) */
10528
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