@schukai/monster 3.58.2 → 3.58.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -335,7 +335,7 @@ function toggleClassOff() {
335
335
  /**
336
336
  * @private
337
337
  */
338
- function toggleClass() {;
338
+ function toggleClass() {
339
339
  if (this.getOption("value") === this.getOption("values.on")) {
340
340
  toggleClassOn.call(this);
341
341
  } else {
@@ -346,7 +346,7 @@ function toggleClass() {;
346
346
  /**
347
347
  * @private
348
348
  */
349
- function toggleValues() {;
349
+ function toggleValues() {
350
350
 
351
351
  if (this.getOption("disabled") === true) {
352
352
  return;
@@ -366,7 +366,7 @@ function toggleValues() {;
366
366
  /**
367
367
  * @private
368
368
  */
369
- function validateAndSetValue() {;
369
+ function validateAndSetValue() {
370
370
  const value = this.getOption("value");
371
371
 
372
372
  const validatedValues = [];
@@ -67,7 +67,6 @@ function fireEvent(element, type) {
67
67
  * @summary Construct and send and event
68
68
  */
69
69
  function fireCustomEvent(element, type, detail) {
70
-
71
70
  if (element instanceof HTMLElement) {
72
71
  if (!isObject(detail)) {
73
72
  detail = { detail };
@@ -1,4 +1,3 @@
1
-
2
1
  /**
3
2
  * Copyright schukai GmbH and contributors 2023. All Rights Reserved.
4
3
  * Node module: @schukai/monster
@@ -152,7 +152,7 @@ function getMonsterVersion() {
152
152
  }
153
153
 
154
154
  /** don't touch, replaced by make with package.json version */
155
- monsterVersion = new Version("3.58.2");
155
+ monsterVersion = new Version("3.58.4");
156
156
 
157
157
  return monsterVersion;
158
158
  }
@@ -24,7 +24,7 @@ function deepFreeze(object) {
24
24
  validateObject(object);
25
25
 
26
26
  // Retrieve the defined property names of the object
27
- var propNames = Object.getOwnPropertyNames(object);
27
+ let propNames = Object.getOwnPropertyNames(object);
28
28
 
29
29
  // Freeze properties before freezing yourself
30
30
  for (const name of propNames) {
@@ -7,7 +7,7 @@ describe('Monster', function () {
7
7
  let monsterVersion
8
8
 
9
9
  /** don´t touch, replaced by make with package.json version */
10
- monsterVersion = new Version("3.58.2")
10
+ monsterVersion = new Version("3.58.4")
11
11
 
12
12
  let m = getMonsterVersion();
13
13