mol_jsx_lib 0.0.691 → 0.0.692
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.d.ts +2 -1
- package/node.deps.json +1 -1
- package/node.js +3 -2
- package/node.js.map +1 -1
- package/node.mjs +3 -2
- package/node.test.js +3 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +2 -1
- package/web.deps.json +1 -1
- package/web.js +3 -2
- package/web.js.map +1 -1
- package/web.mjs +3 -2
package/web.mjs
CHANGED
|
@@ -335,7 +335,7 @@ var $;
|
|
|
335
335
|
try {
|
|
336
336
|
if (!having)
|
|
337
337
|
return false;
|
|
338
|
-
if (typeof having !== 'object')
|
|
338
|
+
if (typeof having !== 'object' && typeof having !== 'function')
|
|
339
339
|
return false;
|
|
340
340
|
if (having instanceof $mol_delegate)
|
|
341
341
|
return false;
|
|
@@ -429,11 +429,12 @@ var $;
|
|
|
429
429
|
return this.name;
|
|
430
430
|
}
|
|
431
431
|
destructor() { }
|
|
432
|
+
static destructor() { }
|
|
432
433
|
toString() {
|
|
433
434
|
return this[Symbol.toStringTag] || this.constructor.name + '()';
|
|
434
435
|
}
|
|
435
436
|
static toJSON() {
|
|
436
|
-
return this.$.$mol_func_name(this);
|
|
437
|
+
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|
|
437
438
|
}
|
|
438
439
|
toJSON() {
|
|
439
440
|
return this.toString();
|