MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / gcsHashFn

Function gcsHashFn

lib/test/angular/1.4.3/angular-animate.js:731–736  ·  view source on GitHub ↗
(node, extraClasses)

Source from the content-addressed store, hash-verified

729
730 var parentCounter = 0;
731 function gcsHashFn(node, extraClasses) {
732 var KEY = "$$ngAnimateParentKey";
733 var parentNode = node.parentNode;
734 var parentID = parentNode[KEY] || (parentNode[KEY] = ++parentCounter);
735 return parentID + '-' + node.getAttribute('class') + '-' + extraClasses;
736 }
737
738 function computeCachedCssStyles(node, className, cacheKey, properties) {
739 var timings = gcsLookup.get(cacheKey);

Callers 2

initFunction · 0.70
triggerAnimationStartFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected