Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bclinkinbeard/angular
/ stripHash
Function
stripHash
test/fixtures/foo.js:9209–9212 ·
view source on GitHub ↗
(url)
Source
from the content-addressed store, hash-verified
9207
9208
9209
function
stripHash(url) {
9210
var
index = url.indexOf(
'#'
);
9211
return
index == -1 ? url : url.substr(0, index);
9212
}
9213
9214
9215
function
stripFile(url) {
Callers
4
stripFile
Function · 0.85
LocationHashbangUrl
Function · 0.85
LocationHashbangInHtml5Url
Function · 0.85
$LocationProvider
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected