MCPcopy
hub / github.com/angular-ui/ui-router / serverBase

Function serverBase

test/angular/1.6/angular.js:13857–13859  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

13855
13856/* return the server only (scheme://host:port) */
13857function serverBase(url) {
13858 return url.substring(0, url.indexOf('/', url.indexOf('//') + 2));
13859}
13860
13861
13862/**

Callers 1

$LocationProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected