Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#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:


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 15 years ago by James Burke


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.

comment:2 Changed 15 years ago by James Burke

Resolution: wontfix
Status: newclosed

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.

comment:3 Changed 15 years ago by (none)

Milestone: 0.4.2

Milestone 0.4.2 deleted

Note: See TracTickets for help on using tickets.