MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / setHashKey

Function setHashKey

code/songhop/www/lib/angular/angular.js:380–387  ·  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

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

Callers 2

extendFunction · 0.70
copyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected