MCPcopy Index your code
hub / github.com/angular-ui/ui-router / serverBase

Function serverBase

test/angular/1.2/angular.js:9332–9334  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

9330
9331/* return the server only (scheme://host:port) */
9332function serverBase(url) {
9333 return url.substring(0, url.indexOf('/', url.indexOf('//') + 2));
9334}
9335
9336
9337/**

Callers 1

$LocationProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected