mol_plot_all 1.2.874 → 1.2.875

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/web.mjs CHANGED
@@ -215,18 +215,16 @@ var $;
215
215
  return this.toString();
216
216
  }
217
217
  static toString() {
218
- if (Symbol.toStringTag in this)
219
- return this[Symbol.toStringTag];
220
- return this.name;
218
+ return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
219
+ }
220
+ static toJSON() {
221
+ return this.toString();
221
222
  }
222
223
  destructor() { }
223
224
  static destructor() { }
224
225
  toString() {
225
226
  return this[Symbol.toStringTag] || this.constructor.name + '<>';
226
227
  }
227
- static toJSON() {
228
- return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
229
- }
230
228
  toJSON() {
231
229
  return this.toString();
232
230
  }