Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/angular-ui/ui-router
/ serverBase
Function
serverBase
test/angular/1.4/angular.js:11746–11748 ·
view source on GitHub ↗
(url)
Source
from the content-addressed store, hash-verified
11744
11745
/*
return
the server only (scheme:
//host:port) */
11746
function
serverBase(url) {
11747
return
url.substring(0, url.indexOf(
'/'
, url.indexOf(
'//'
) + 2));
11748
}
11749
11750
11751
/**
Callers
1
$LocationProvider
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected