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

Function cssClassesIntersection

lib/test/angular/1.7.0/angular-animate.js:3185–3203  ·  view source on GitHub ↗
(a,b)

Source from the content-addressed store, hash-verified

3183 }
3184
3185 function cssClassesIntersection(a,b) {
3186 a = a.split(' ');
3187 b = b.split(' ');
3188 var matches = [];
3189
3190 for (var i = 0; i < a.length; i++) {
3191 var aa = a[i];
3192 if (aa.substring(0,3) === 'ng-') continue;
3193
3194 for (var j = 0; j < b.length; j++) {
3195 if (aa === b[j]) {
3196 matches.push(aa);
3197 break;
3198 }
3199 }
3200 }
3201
3202 return matches.join(' ');
3203 }
3204
3205 function invokeFirstDriver(animationDetails) {
3206 // 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