| 3144 | } |
| 3145 | |
| 3146 | function cssClassesIntersection(a,b) { |
| 3147 | a = a.split(' '); |
| 3148 | b = b.split(' '); |
| 3149 | var matches = []; |
| 3150 | |
| 3151 | for (var i = 0; i < a.length; i++) { |
| 3152 | var aa = a[i]; |
| 3153 | if (aa.substring(0,3) === 'ng-') continue; |
| 3154 | |
| 3155 | for (var j = 0; j < b.length; j++) { |
| 3156 | if (aa === b[j]) { |
| 3157 | matches.push(aa); |
| 3158 | break; |
| 3159 | } |
| 3160 | } |
| 3161 | } |
| 3162 | |
| 3163 | return matches.join(' '); |
| 3164 | } |
| 3165 | |
| 3166 | function invokeFirstDriver(animationDetails) { |
| 3167 | // we loop in reverse order since the more general drivers (like CSS and JS) |