mol_plot_all 1.2.831 → 1.2.832

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/node.mjs CHANGED
@@ -84,7 +84,7 @@ var $;
84
84
  try {
85
85
  if (!having)
86
86
  return false;
87
- if (typeof having !== 'object')
87
+ if (typeof having !== 'object' && typeof having !== 'function')
88
88
  return false;
89
89
  if (having instanceof $mol_delegate)
90
90
  return false;
@@ -220,11 +220,12 @@ var $;
220
220
  return this.name;
221
221
  }
222
222
  destructor() { }
223
+ static destructor() { }
223
224
  toString() {
224
225
  return this[Symbol.toStringTag] || this.constructor.name + '()';
225
226
  }
226
227
  static toJSON() {
227
- return this.$.$mol_func_name(this);
228
+ return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
228
229
  }
229
230
  toJSON() {
230
231
  return this.toString();
package/node.test.js CHANGED
@@ -76,7 +76,7 @@ var $;
76
76
  try {
77
77
  if (!having)
78
78
  return false;
79
- if (typeof having !== 'object')
79
+ if (typeof having !== 'object' && typeof having !== 'function')
80
80
  return false;
81
81
  if (having instanceof $mol_delegate)
82
82
  return false;
@@ -212,11 +212,12 @@ var $;
212
212
  return this.name;
213
213
  }
214
214
  destructor() { }
215
+ static destructor() { }
215
216
  toString() {
216
217
  return this[Symbol.toStringTag] || this.constructor.name + '()';
217
218
  }
218
219
  static toJSON() {
219
- return this.$.$mol_func_name(this);
220
+ return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
220
221
  }
221
222
  toJSON() {
222
223
  return this.toString();