| 3153 | } |
| 3154 | |
| 3155 | function cssClassesIntersection(a,b) { |
| 3156 | a = a.split(' '); |
| 3157 | b = b.split(' '); |
| 3158 | var matches = []; |
| 3159 | |
| 3160 | for (var i = 0; i < a.length; i++) { |
| 3161 | var aa = a[i]; |
| 3162 | if (aa.substring(0,3) === 'ng-') continue; |
| 3163 | |
| 3164 | for (var j = 0; j < b.length; j++) { |
| 3165 | if (aa === b[j]) { |
| 3166 | matches.push(aa); |
| 3167 | break; |
| 3168 | } |
| 3169 | } |
| 3170 | } |
| 3171 | |
| 3172 | return matches.join(' '); |
| 3173 | } |
| 3174 | |
| 3175 | function invokeFirstDriver(animationDetails) { |
| 3176 | // we loop in reverse order since the more general drivers (like CSS and JS) |