VincentGarreau / particles.js

A lightweight JavaScript library for creating particles
https://vincentgarreau.com/particles.js/
MIT License
28.66k stars 4.81k forks source link

FIX: deepExtend recursion on strict mode #525

Open krushndayshmookh opened 9 months ago

krushndayshmookh commented 9 months ago

Strict mode does not allow usage of arguments.callee. This causes an issue with Vite and newer frameworks which compile typescript/javascript in strict mode. Using a named function solves the problem and allows particlesJS with these new frameworks.