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

Function setHashKey

test/angular/1.7/angular.js:454–460  ·  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

452 * @param h the hashkey (!truthy to delete the hashkey)
453 */
454function setHashKey(obj, h) {
455 if (h) {
456 obj.$$hashKey = h;
457 } else {
458 delete obj.$$hashKey;
459 }
460}
461
462
463function baseExtend(dst, objs, deep) {

Callers 2

baseExtendFunction · 0.70
copyRecurseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected