Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
10518
function
trimEmptyHash(url) {
10519
return
url.replace(/(#.+)|#$/,
'$1'
);
10520
}
10521
10522
10523
function
stripFile(url) {
Callers
1
$LocationProvider
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected