mol_plot_all 1.2.831 → 1.2.833

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.js 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();