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

Function gcsHashFn

lib/test/angular/1.7.0/angular-animate.js:873–878  ·  view source on GitHub ↗
(node, extraClasses)

Source from the content-addressed store, hash-verified

871
872 var parentCounter = 0;
873 function gcsHashFn(node, extraClasses) {
874 var KEY = '$$ngAnimateParentKey';
875 var parentNode = node.parentNode;
876 var parentID = parentNode[KEY] || (parentNode[KEY] = ++parentCounter);
877 return parentID + '-' + node.getAttribute('class') + '-' + extraClasses;
878 }
879
880 function computeCachedCssStyles(node, className, cacheKey, properties) {
881 var timings = gcsLookup.get(cacheKey);

Callers 2

angular-animate.jsFile · 0.70
triggerAnimationStartFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected