mol_time_all 1.1.1575 → 1.1.1577
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 +5 -0
- package/node.test.js.map +1 -1
- package/package.json +1 -1
package/node.test.js
CHANGED
|
@@ -1353,6 +1353,8 @@ var $;
|
|
|
1353
1353
|
"use strict";
|
|
1354
1354
|
var $;
|
|
1355
1355
|
(function ($) {
|
|
1356
|
+
if (!Symbol.dispose)
|
|
1357
|
+
Symbol.dispose = Symbol('Symbol.dispose');
|
|
1356
1358
|
class $mol_object2 {
|
|
1357
1359
|
static $ = $;
|
|
1358
1360
|
[Symbol.toStringTag];
|
|
@@ -1385,6 +1387,9 @@ var $;
|
|
|
1385
1387
|
}
|
|
1386
1388
|
destructor() { }
|
|
1387
1389
|
static destructor() { }
|
|
1390
|
+
[Symbol.dispose]() {
|
|
1391
|
+
this.destructor();
|
|
1392
|
+
}
|
|
1388
1393
|
toString() {
|
|
1389
1394
|
return this[Symbol.toStringTag] || this.constructor.name + '<>';
|
|
1390
1395
|
}
|