MCPcopy Index your code
hub / github.com/angular-ui/ui-router / setHashKey

Function setHashKey

test/angular/1.3/angular.js:384–390  ·  view source on GitHub ↗

* Set or clear the hashkey for an object. * @param obj object * @param h the hashkey (!truthy to delete the hashkey)

(obj, h)

Source from the content-addressed store, hash-verified

382 * @param h the hashkey (!truthy to delete the hashkey)
383 */
384function setHashKey(obj, h) {
385 if (h) {
386 obj.$$hashKey = h;
387 } else {
388 delete obj.$$hashKey;
389 }
390}
391
392/**
393 * @ngdoc function

Callers 2

extendFunction · 0.70
copyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected