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

Function trimEmptyHash

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

Source from the content-addressed store, hash-verified

10516}
10517
10518function trimEmptyHash(url) {
10519 return url.replace(/(#.+)|#$/, '$1');
10520}
10521
10522
10523function stripFile(url) {

Callers 1

$LocationProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected