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

Function setHashKey

lib/test/angular/1.8.0/angular.js:455–461  ·  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

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

Callers 2

baseExtendFunction · 0.70
copyRecurseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected