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

Function setHashKey

test/angular/1.6/angular.js:485–491  ·  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

483 * @param h the hashkey (!truthy to delete the hashkey)
484 */
485function setHashKey(obj, h) {
486 if (h) {
487 obj.$$hashKey = h;
488 } else {
489 delete obj.$$hashKey;
490 }
491}
492
493
494function baseExtend(dst, objs, deep) {

Callers 2

baseExtendFunction · 0.70
copyRecurseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected