@tsparticles/interaction-external-push 3.0.0-beta.2 → 3.0.0-beta.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.
@@ -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
- * v3.0.0-beta.2
7
+ * v3.0.0-beta.4
8
8
  */
9
9
  (function webpackUniversalModuleDefinition(root, factory) {
10
10
  if(typeof exports === 'object' && typeof module === 'object')
@@ -133,11 +133,12 @@ class Push {
133
133
  ;// CONCATENATED MODULE: ./dist/browser/Pusher.js
134
134
 
135
135
 
136
+ const pushMode = "push";
136
137
  class Pusher extends engine_root_window_.ExternalInteractorBase {
137
138
  constructor(container) {
138
139
  super(container);
139
140
  this.handleClickMode = mode => {
140
- if (mode !== "push") {
141
+ if (mode !== pushMode) {
141
142
  return;
142
143
  }
143
144
  const container = this.container,
@@ -1 +1 @@
1
- /*! tsParticles Push External Interaction v3.0.0-beta.2 by Matteo Bruni */
1
+ /*! tsParticles Push External Interaction v3.0.0-beta.4 by Matteo Bruni */
package/umd/Pusher.js CHANGED
@@ -12,11 +12,12 @@
12
12
  exports.Pusher = void 0;
13
13
  const engine_1 = require("@tsparticles/engine");
14
14
  const Push_js_1 = require("./Options/Classes/Push.js");
15
+ const pushMode = "push";
15
16
  class Pusher extends engine_1.ExternalInteractorBase {
16
17
  constructor(container) {
17
18
  super(container);
18
19
  this.handleClickMode = (mode) => {
19
- if (mode !== "push") {
20
+ if (mode !== pushMode) {
20
21
  return;
21
22
  }
22
23
  const container = this.container, options = container.actualOptions, pushOptions = options.interactivity.modes.push;