src/index.js
function removeTargetsFromAnimations(targetsArray, animations) {
  for (let a = animations.length; a--;) {
    if (arrayContains(targetsArray, animations[a].animatable.target)) {
      animations.splice(a, 1);
    }
  }
}
function removeTargetsFromAnimations(targetsArray, animations) {
  for (let a = animations.length; a--;) {
    if (arrayContains(targetsArray, animations[a].animatable.target)) {
      animations.splice(a, 1);
    }
  }
}
function removeTargetsFromAnimations ( targetsArray , animations ) { for ( let a = animations . length ; a -- ; ) { if ( arrayContains ( targetsArray , animations [ a ] . animatable . target ) ) { animations . splice ( a , 1 ) ; } } }
Remove targets from animation
Remove targets from animation