mol_text_distance 0.0.1391 → 0.0.1392

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
@@ -493,6 +493,8 @@ var $;
493
493
  "use strict";
494
494
  var $;
495
495
  (function ($) {
496
+ if (!Symbol.dispose)
497
+ Symbol.dispose = Symbol('Symbol.dispose');
496
498
  class $mol_object2 {
497
499
  static $ = $;
498
500
  [Symbol.toStringTag];
@@ -525,6 +527,9 @@ var $;
525
527
  }
526
528
  destructor() { }
527
529
  static destructor() { }
530
+ [Symbol.dispose]() {
531
+ this.destructor();
532
+ }
528
533
  toString() {
529
534
  return this[Symbol.toStringTag] || this.constructor.name + '<>';
530
535
  }