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

Function stripFile

test/angular/1.4/angular.js:11741–11743  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

11739
11740
11741function stripFile(url) {
11742 return url.substr(0, stripHash(url).lastIndexOf('/') + 1);
11743}
11744
11745/* return the server only (scheme://host:port) */
11746function serverBase(url) {

Callers 1

$LocationProviderFunction · 0.70

Calls 1

stripHashFunction · 0.70

Tested by

no test coverage detected