mol_data_all 1.1.1684 → 1.1.1686

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.test.js CHANGED
@@ -931,6 +931,8 @@ var $;
931
931
  "use strict";
932
932
  var $;
933
933
  (function ($) {
934
+ if (!Symbol.dispose)
935
+ Symbol.dispose = Symbol('Symbol.dispose');
934
936
  class $mol_object2 {
935
937
  static $ = $;
936
938
  [Symbol.toStringTag];
@@ -963,6 +965,9 @@ var $;
963
965
  }
964
966
  destructor() { }
965
967
  static destructor() { }
968
+ [Symbol.dispose]() {
969
+ this.destructor();
970
+ }
966
971
  toString() {
967
972
  return this[Symbol.toStringTag] || this.constructor.name + '<>';
968
973
  }