MCPcopy
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) */
13118function serverBase(url) {
13119 return url.substring(0, url.indexOf('/', url.indexOf('//') + 2));
13120}
13121
13122
13123/**

Callers 1

$LocationProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected