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

Function cssClassesIntersection

test/angular/1.7/angular-animate.js:3277–3295  ·  view source on GitHub ↗
(a,b)

Source from the content-addressed store, hash-verified

3275 }
3276
3277 function cssClassesIntersection(a,b) {
3278 a = a.split(' ');
3279 b = b.split(' ');
3280 var matches = [];
3281
3282 for (var i = 0; i < a.length; i++) {
3283 var aa = a[i];
3284 if (aa.substring(0,3) === 'ng-') continue;
3285
3286 for (var j = 0; j < b.length; j++) {
3287 if (aa === b[j]) {
3288 matches.push(aa);
3289 break;
3290 }
3291 }
3292 }
3293
3294 return matches.join(' ');
3295 }
3296
3297 function invokeFirstDriver(animationDetails) {
3298 // we loop in reverse order since the more general drivers (like CSS and JS)

Callers 1

groupAnimationsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected