Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/angular-ui/ui-router
/ getHash
Function
getHash
test/angular/1.5/angular.js:6060–6063 ·
view source on GitHub ↗
(url)
Source
from the content-addressed store, hash-verified
6058
}
6059
6060
function
getHash(url) {
6061
var
index = url.indexOf(
'#'
);
6062
return
index === -1 ?
''
: url.substr(index);
6063
}
6064
6065
/**
6066
* @private
Callers
1
Browser
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected