MCPcopy Index your code
hub / github.com/angular-ui/ui-router / gcsHashFn

Function gcsHashFn

test/angular/1.4/angular-animate.js:892–897  ·  view source on GitHub ↗
(node, extraClasses)

Source from the content-addressed store, hash-verified

890
891 var parentCounter = 0;
892 function gcsHashFn(node, extraClasses) {
893 var KEY = "$$ngAnimateParentKey";
894 var parentNode = node.parentNode;
895 var parentID = parentNode[KEY] || (parentNode[KEY] = ++parentCounter);
896 return parentID + '-' + node.getAttribute('class') + '-' + extraClasses;
897 }
898
899 function computeCachedCssStyles(node, className, cacheKey, properties) {
900 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