Opened 17 months ago

#19102 new defect

change dojo/promise/all array verification

Reported by: Nik Owned by:
Priority: major Milestone:
Component: Core Version: 1.13.0
Keywords: Cc:
Blocked By: Blocking:

Description

Currently dojo/promise/all uses 'instanceOf' operator for array verification: https://github.com/dojo/dojo/blob/master/promise/all.js#L30

This leads to situations where simple array declaration (ex. [1,2,3]) doesn't work as expected ("object" is returned).

Possible solution - replace 'instanceOf' with dojo/_base/lang.isArray

Change History (0)

Note: See TracTickets for help on using tickets.