hyoo_sync_client 0.0.255 → 0.0.256
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
|
@@ -91,7 +91,7 @@ var $;
|
|
|
91
91
|
try {
|
|
92
92
|
if (!having)
|
|
93
93
|
return false;
|
|
94
|
-
if (typeof having !== 'object')
|
|
94
|
+
if (typeof having !== 'object' && typeof having !== 'function')
|
|
95
95
|
return false;
|
|
96
96
|
if (having instanceof $mol_delegate)
|
|
97
97
|
return false;
|
|
@@ -227,11 +227,12 @@ var $;
|
|
|
227
227
|
return this.name;
|
|
228
228
|
}
|
|
229
229
|
destructor() { }
|
|
230
|
+
static destructor() { }
|
|
230
231
|
toString() {
|
|
231
232
|
return this[Symbol.toStringTag] || this.constructor.name + '()';
|
|
232
233
|
}
|
|
233
234
|
static toJSON() {
|
|
234
|
-
return this.$.$mol_func_name(this);
|
|
235
|
+
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|
|
235
236
|
}
|
|
236
237
|
toJSON() {
|
|
237
238
|
return this.toString();
|