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

Function stripFile

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

Source from the content-addressed store, hash-verified

9325
9326
9327function stripFile(url) {
9328 return url.substr(0, stripHash(url).lastIndexOf('/') + 1);
9329}
9330
9331/* return the server only (scheme://host:port) */
9332function serverBase(url) {

Callers 3

LocationHtml5UrlFunction · 0.70
LocationHashbangUrlFunction · 0.70

Calls 1

stripHashFunction · 0.70

Tested by

no test coverage detected