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

Function setHashKey

test/angular/1.2/angular.js:404–411  ·  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

402 * @param h the hashkey (!truthy to delete the hashkey)
403 */
404function setHashKey(obj, h) {
405 if (h) {
406 obj.$$hashKey = h;
407 }
408 else {
409 delete obj.$$hashKey;
410 }
411}
412
413/**
414 * @ngdoc function

Callers 2

extendFunction · 0.70
copyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected