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

Function stripFile

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

Source from the content-addressed store, hash-verified

14537}
14538
14539function stripFile(url) {
14540 return url.substr(0, stripHash(url).lastIndexOf('/') + 1);
14541}
14542
14543/* return the server only (scheme://host:port) */
14544function serverBase(url) {

Callers 1

$LocationProviderFunction · 0.70

Calls 1

stripHashFunction · 0.70

Tested by

no test coverage detected