dojo / core

:rocket: Dojo 2 - language helpers and utilities.
http://dojo.io
Other
213 stars 58 forks source link

load is incorrectly dynamically loading Promise #224

Closed kitsonk closed 8 years ago

kitsonk commented 8 years ago

In 'src/load', Promise is being mis-loaded under NodeJS. It isn't affecting anything because there is a native Promise in the versions of NodeJS we are using, but still it is a defect.

mwistrand commented 8 years ago

It's actually incorrectly loading dojo-shim/Promise in AMD environments as well. Since nearly all Dojo 2-supported environments have native Promise support, this is really only noticeable in IE, where the shim module is resolved asynchronously.

kitsonk commented 8 years ago

Actually this is a different issue (#228).