MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / stripFile

Function stripFile

lib/test/angular/1.4.3/angular.js:11271–11273  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

11269
11270
11271function stripFile(url) {
11272 return url.substr(0, stripHash(url).lastIndexOf('/') + 1);
11273}
11274
11275/* return the server only (scheme://host:port) */
11276function serverBase(url) {

Callers 3

LocationHtml5UrlFunction · 0.70
LocationHashbangUrlFunction · 0.70

Calls 1

stripHashFunction · 0.70

Tested by

no test coverage detected