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

Function serverBase

test/angular/1.7/angular.js:14479–14481  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

14477
14478/* return the server only (scheme://host:port) */
14479function serverBase(url) {
14480 return url.substring(0, url.indexOf('/', url.indexOf('//') + 2));
14481}
14482
14483
14484/**

Callers 1

$LocationProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected