MCPcopy Index your code
hub / github.com/binux/qiandao / setHashKey

Function setHashKey

web/static/components/angularjs/angular.js:404–411  ·  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

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

Callers 2

extendFunction · 0.85
copyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected