Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular-ui/ui-grid
/ trimEmptyHash
Function
trimEmptyHash
lib/test/angular/1.4.3/angular.js:11266–11268 ·
view source on GitHub ↗
(url)
Source
from the content-addressed store, hash-verified
11264
}
11265
11266
function
trimEmptyHash(url) {
11267
return
url.replace(/(#.+)|#$/,
'$1'
);
11268
}
11269
11270
11271
function
stripFile(url) {
Callers
1
$LocationProvider
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected