Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
keptSprites.forEach(sprite => {
parallel(move(sprite), scale(sprite));
});
keptSprites.forEach(sprite => {
parallel(move(sprite), scale(sprite));
});
insertedSprites.forEach(sprite => {
sprite.startAtSprite(beacons.one);
parallel(move(sprite, scale(sprite)));
});
sentSprites.forEach(sprite => {
parallel(move(sprite), scale(sprite));
});
insertedSprites.forEach(sprite => {
sprite.startAtSprite(beacons.beacontest);
parallel(move(sprite, scale(sprite)));
});
sentSprites.forEach(sprite => {
parallel(move(sprite), scale(sprite));
});
receivedSprites.forEach(sprite => {
sprite.applyStyles({
zIndex: 1
});
move(sprite);
scale(sprite);
});
}
sentSprites.forEach(sprite => {
sprite.applyStyles({ 'z-index': 1 });
move(sprite);
if (sprite.element.tagName === 'svg') {
scale(sprite);
} else {
adjustCSS.property('font-size')(sprite);
adjustCSS.property('letter-spacing')(sprite);
adjustCSS.property('line-height')(sprite);
}
});
},
sentSprites.concat(receivedSprites).forEach(sprite => {
sprite.applyStyles({
zIndex: 1
});
move(sprite);
scale(sprite);
});
keptSprites.forEach(sprite => {
move(sprite, scale(sprite));
});