JavaScript animation engine
Remove unused default params argument
Julian Garnier012eb645c63e
diff --git a/anime.js b/anime.jsindex 5b7d739b..43bf6d6d 100644--- a/anime.js+++ b/anime.js@@ -614,7 +614,7 @@return arrayLength(animations) ? math.apply(Math, animations.map(anim => anim[type])) : tweenSettings[type];}- function createNewInstance(params = {}) {+ function createNewInstance(params) {const instanceSettings = replaceObjectProps(defaultInstanceSettings, params);const tweenSettings = replaceObjectProps(defaultTweenSettings, params);const animatables = getAnimatables(params.targets);