tsparticles 2.3.3 → 2.3.4
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.3.
|
|
7
|
+
* v2.3.4
|
|
8
8
|
*/
|
|
9
9
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
10
10
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
@@ -8931,11 +8931,15 @@ class AbsorbersPlugin {
|
|
|
8931
8931
|
}
|
|
8932
8932
|
|
|
8933
8933
|
const optionsCast = options;
|
|
8934
|
-
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
|
|
8938
|
-
|
|
8934
|
+
|
|
8935
|
+
if (source === null || source === void 0 ? void 0 : source.absorbers) {
|
|
8936
|
+
optionsCast.absorbers = executeOnSingleOrMultiple(source.absorbers, absorber => {
|
|
8937
|
+
const tmp = new Absorber();
|
|
8938
|
+
tmp.load(absorber);
|
|
8939
|
+
return tmp;
|
|
8940
|
+
});
|
|
8941
|
+
}
|
|
8942
|
+
|
|
8939
8943
|
optionsCast.interactivity.modes.absorbers = executeOnSingleOrMultiple((_b = (_a = source === null || source === void 0 ? void 0 : source.interactivity) === null || _a === void 0 ? void 0 : _a.modes) === null || _b === void 0 ? void 0 : _b.absorbers, absorber => {
|
|
8940
8944
|
const tmp = new Absorber();
|
|
8941
8945
|
tmp.load(absorber);
|
|
@@ -10049,11 +10053,15 @@ class EmittersPlugin {
|
|
|
10049
10053
|
}
|
|
10050
10054
|
|
|
10051
10055
|
const optionsCast = options;
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
|
|
10055
|
-
|
|
10056
|
-
|
|
10056
|
+
|
|
10057
|
+
if (source === null || source === void 0 ? void 0 : source.emitters) {
|
|
10058
|
+
optionsCast.emitters = executeOnSingleOrMultiple(source.emitters, emitter => {
|
|
10059
|
+
const tmp = new Emitter();
|
|
10060
|
+
tmp.load(emitter);
|
|
10061
|
+
return tmp;
|
|
10062
|
+
});
|
|
10063
|
+
}
|
|
10064
|
+
|
|
10057
10065
|
const interactivityEmitters = (_b = (_a = source === null || source === void 0 ? void 0 : source.interactivity) === null || _a === void 0 ? void 0 : _a.modes) === null || _b === void 0 ? void 0 : _b.emitters;
|
|
10058
10066
|
|
|
10059
10067
|
if (interactivityEmitters) {
|