#1658 closed defect (wontfix)
Make sure auto-requiring of widgets works with xd loading
Reported by: | James Burke | Owned by: | James Burke |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Loader | Version: | 0.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Need to be sure that the auto-discovery of widgets in the page will work with xd loading. In particular, make sure that when the auto-discovery code does a dojo.require(), it uses a dojo.addOnLoad() to delay continuing work for that widget until the resource is loaded.
Change History (3)
comment:1 Changed 14 years ago by
Milestone: | 0.4.1 → 0.5 |
---|
comment:2 Changed 14 years ago by
Milestone: | 0.9 → 0.4.2 |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Can't fix this without massive changes to auto loading. It assumes too much of a synchronous behavior, both for loading the manifest file and for loading auto-discovered widgets. Got OK from dojo-contributors to not support this feature, since auto loading of widgets may go away for 0.9 anyway.
To use widgets in xdomain loading, do an explicit dojo.require() statement for them.
Note: See
TracTickets for help on using
tickets.
Pushing to 0.5. Worst case for 0.4.1, the developer will have to explicitly dojo.require() the modules they want to use when using an xdomain build.