MCPcopy
hub / github.com/jquery/esprima / setHashKey

Function setHashKey

test/3rdparty/angular-1.2.5.js:379–386  ·  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

377 * @param h the hashkey (!truthy to delete the hashkey)
378 */
379function setHashKey(obj, h) {
380 if (h) {
381 obj.$$hashKey = h;
382 }
383 else {
384 delete obj.$$hashKey;
385 }
386}
387
388/**
389 * @ngdoc function

Callers 2

extendFunction · 0.85
copyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…