mol_tree2 1.0.525 → 1.0.526
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 +1 -1
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.test.js +1 -1
- package/web.test.js.map +1 -1
package/node.test.js
CHANGED
|
@@ -1359,7 +1359,7 @@ var $;
|
|
|
1359
1359
|
var $;
|
|
1360
1360
|
(function ($) {
|
|
1361
1361
|
function $mol_promise_like(val) {
|
|
1362
|
-
return val && typeof val.then === 'function';
|
|
1362
|
+
return val && typeof val === 'object' && 'then' in val && typeof val.then === 'function';
|
|
1363
1363
|
}
|
|
1364
1364
|
$.$mol_promise_like = $mol_promise_like;
|
|
1365
1365
|
})($ || ($ = {}));
|