MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / setHashKey

Function setHashKey

web/static/bower_components/angular/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.85
copyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected