MCPcopy
hub / github.com/angular-ui/ui-router / getHash

Function getHash

test/angular/1.4/angular.js:5779–5782  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

5777 }
5778
5779 function getHash(url) {
5780 var index = url.indexOf('#');
5781 return index === -1 ? '' : url.substr(index);
5782 }
5783
5784 /**
5785 * @private

Callers 1

BrowserFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected