MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / stripFile

Function stripFile

code/songhop/www/lib/angular/angular.js:10523–10525  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

10521
10522
10523function stripFile(url) {
10524 return url.substr(0, stripHash(url).lastIndexOf('/') + 1);
10525}
10526
10527/* return the server only (scheme://host:port) */
10528function serverBase(url) {

Callers 3

LocationHtml5UrlFunction · 0.70
LocationHashbangUrlFunction · 0.70

Calls 1

stripHashFunction · 0.70

Tested by

no test coverage detected