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