Opened 14 years ago
Closed 14 years ago
#3430 closed defect (wontfix)
Patch for dojo.parser to automatically dojo.require dojoType(s)
Reported by: | guest | Owned by: | anonymous |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | General | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
from [email protected]… :
Here is a simple patch that calls dojo.require for any dojoType attribute values that the parser processes.
I don't know the reason that this isn't in 0.9.. It seems like a simple change, which should still perform pretty fast, since a dojo.require call will be called at most once per class.
Attachments (1)
Change History (2)
Changed 14 years ago by
Attachment: | dojo.parser-automatically-require-dojoTypes.patch added |
---|
comment:1 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Hi Cameron.
Yes, we get this question about once a month, but decided an auto-require feature is "too much magic" to have in dojo. Keep in mind that dojo.require() is sometimes asynchronous so your patch won't work all the time.