Opened 9 years ago

Last modified 9 years ago

#13784 closed defect

lazy loading of dojo/dnd/Source via require results in uncaught exception — at Version 3

Reported by: Adam Peller Owned by: bill
Priority: high Milestone: 1.7
Component: Loader Version: 1.6.1
Keywords: Cc: ykami
Blocked By: Blocking:

Description (last modified by Adam Peller)

Uncaught TypeError: Cannot read property 'Source' of undefined from AutoSource.js, line 3

the shim in Source.js loads compatibility code in a dojo.ready. If Source.js is loaded after page load, this executes immediately, resulting in a circular dependency. AutoSource extends Source, and Source hasn't finished loading yet. Is it as simple as putting the shim after the declare?

Change History (3)

comment:1 Changed 9 years ago by Adam Peller

Description: modified (diff)

comment:2 Changed 9 years ago by Adam Peller

Description: modified (diff)

comment:3 Changed 9 years ago by Adam Peller

Description: modified (diff)
Note: See TracTickets for help on using tickets.