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

Function setHashKey

test/angular/1.4/angular.js:408–414  ·  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

406 * @param h the hashkey (!truthy to delete the hashkey)
407 */
408function setHashKey(obj, h) {
409 if (h) {
410 obj.$$hashKey = h;
411 } else {
412 delete obj.$$hashKey;
413 }
414}
415
416
417function baseExtend(dst, objs, deep) {

Callers 2

baseExtendFunction · 0.70
copyRecurseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected