| 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) |