(options, and)
| 1884 | } |
| 1885 | |
| 1886 | function hasAnimationClasses(options, and) { |
| 1887 | options = options || {}; |
| 1888 | var a = (options.addClass || '').length > 0; |
| 1889 | var b = (options.removeClass || '').length > 0; |
| 1890 | return and ? a && b : a || b; |
| 1891 | } |
| 1892 | |
| 1893 | rules.join.push(function(element, newAnimation, currentAnimation) { |
| 1894 | // if the new animation is class-based then we can just tack that on |
no outgoing calls
no test coverage detected