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

Function serverBase

lib/test/angular/1.8.0/angular.js:14544–14546  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

14542
14543/* return the server only (scheme://host:port) */
14544function serverBase(url) {
14545 return url.substring(0, url.indexOf('/', url.indexOf('//') + 2));
14546}
14547
14548
14549/**

Callers 1

$LocationProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected