mirror of
https://github.com/flynx/types.js.git
synced 2025-10-28 10:00:08 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a02a5bf09b
commit
0b8a9d98ab
@ -1330,8 +1330,8 @@ object.Mixin('PromiseMixin', 'soft', {
|
||||
// XXX should we just check for .then(..) ???
|
||||
// XXX update README if this changes...
|
||||
: (data.length == 1
|
||||
&& Symbol.asyncIterator in data[0]
|
||||
&& 'then' in data[0]) ?
|
||||
&& data[0][Symbol.asyncIterator]
|
||||
&& data[0].then) ?
|
||||
data[0].then(func, ...error)
|
||||
: error.length > 0 ?
|
||||
function(){
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-types",
|
||||
"version": "6.24.23",
|
||||
"version": "6.24.24",
|
||||
"description": "Generic JavaScript types and type extensions...",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user