MCPcopy Create free account
hub / github.com/OpenReservation/OpenReservation / stripFile

Function stripFile

OpenReservation/wwwroot/Scripts/angular.js:12483–12485  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

12481 }
12482
12483 function stripFile(url) {
12484 return url.substr(0, stripHash(url).lastIndexOf('/') + 1);
12485 }
12486
12487 /* return the server only (scheme://host:port) */
12488 function serverBase(url) {

Callers 1

$LocationProviderFunction · 0.85

Calls 1

stripHashFunction · 0.85

Tested by

no test coverage detected