Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JacksonTian/fks
/ serverBase
Function
serverBase
fks_chart/bower_components/angular/angular.js:9299–9301 ·
view source on GitHub ↗
(url)
Source
from the content-addressed store, hash-verified
9297
9298
/*
return
the server only (scheme:
//host:port) */
9299
function
serverBase(url) {
9300
return
url.substring(0, url.indexOf(
'/'
, url.indexOf(
'//'
) + 2));
9301
}
9302
9303
9304
/**
Callers
1
$LocationProvider
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected