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