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

Function getHash

lib/test/angular/1.8.0/angular.js:6573–6576  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

6571/* global getHash: true, stripHash: false */
6572
6573function getHash(url) {
6574 var index = url.indexOf('#');
6575 return index === -1 ? '' : url.substr(index);
6576}
6577
6578function trimEmptyHash(url) {
6579 return url.replace(/#$/, '');

Callers 1

BrowserFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected