MCPcopy Index your code
hub / github.com/binux/qiandao / stripHash

Function stripHash

web/static/components/angularjs/angular.js:9177–9180  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

9175
9176
9177function stripHash(url) {
9178 var index = url.indexOf('#');
9179 return index == -1 ? url : url.substr(0, index);
9180}
9181
9182
9183function stripFile(url) {

Callers 4

stripFileFunction · 0.85
LocationHashbangUrlFunction · 0.85
$LocationProviderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected