JavaScript animation engine
No need to check for activeInstance since everything is removed on the next frame
Julian Garnier22f858f99cba
diff --git a/anime.js b/anime.jsindex 0961700a..e4c05bdb 100644--- a/anime.js+++ b/anime.js@@ -687,7 +687,7 @@if (activeLength) {let i = 0;while (i < activeLength) {- if (activeInstances[i]) activeInstances[i].tick(t);+ activeInstances[i].tick(t);i++;}play();