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

Function setHashKey

lib/test/angular/1.4.3/angular.js:403–409  ·  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

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

Callers 2

baseExtendFunction · 0.70
copyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected