dojo / i18n

:rocket: Dojo 2 - internationalization library.
http://dojo.io
Other
6 stars 19 forks source link

Should use @dojo/core/load/util's useDefault #98

Closed matt-gadd closed 7 years ago

matt-gadd commented 7 years ago

We should use the useDefault to correctly sniff a modules defaults because in the case of a legacy AMD module there will be no default available.

https://github.com/dojo/i18n/blob/master/src/i18n.ts#L134.