tsparticles 2.10.0 → 2.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/tsparticles.bundle.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Demo / Generator : https://particles.js.org/
|
|
5
5
|
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
6
|
* How to use? : Check the GitHub README
|
|
7
|
-
* v2.10.
|
|
7
|
+
* v2.10.1
|
|
8
8
|
*/
|
|
9
9
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
10
10
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
@@ -5435,7 +5435,7 @@ class Engine {
|
|
|
5435
5435
|
return res;
|
|
5436
5436
|
}
|
|
5437
5437
|
get version() {
|
|
5438
|
-
return "2.10.
|
|
5438
|
+
return "2.10.1";
|
|
5439
5439
|
}
|
|
5440
5440
|
addConfig(nameOrConfig, config) {
|
|
5441
5441
|
if (typeof nameOrConfig === "string") {
|
|
@@ -5729,13 +5729,16 @@ class ParticlesInteractorBase {
|
|
|
5729
5729
|
|
|
5730
5730
|
|
|
5731
5731
|
|
|
5732
|
+
|
|
5732
5733
|
const rgbColorManager = new RgbColorManager(),
|
|
5733
5734
|
hslColorManager = new HslColorManager();
|
|
5734
5735
|
addColorManager(rgbColorManager);
|
|
5735
5736
|
addColorManager(hslColorManager);
|
|
5736
5737
|
const tsParticles = new Engine();
|
|
5737
5738
|
tsParticles.init();
|
|
5738
|
-
|
|
5739
|
+
if (!isSsr()) {
|
|
5740
|
+
window.tsParticles = tsParticles;
|
|
5741
|
+
}
|
|
5739
5742
|
|
|
5740
5743
|
|
|
5741
5744
|
|