Opened 13 years ago
Closed 10 years ago
#9032 closed defect (invalid)
Consider allowing setting local variables via Loader trickery
Reported by: | James Burke | Owned by: | James Burke |
---|---|---|---|
Priority: | high | Milestone: | future |
Component: | Loader | Version: | 1.3.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
We can leverage the function scope used by the loader to allow creating local variables that may make it easier to use Dojo.
A patch is attached to the ticket, but it is incomplete:
1) Needs a build system patch to allow injecting the locals for layers that need the locals.
2) Also need a build system patch for generating proper xdomain modules.
3) The module prefix registry probably needs to add a dot on the end of the name if none exists, so that registering "dojo" does not also match "dojox".
Attachments (1)
Change History (5)
Changed 13 years ago by
Attachment: | 9032.patch added |
---|
comment:1 Changed 13 years ago by
Version: | 1.3.0rc2 → 1.3.0 |
---|
See this blog entry for more info: http://tagneto.blogspot.com/2009/04/custom-local-variables-using-dojo.html
comment:2 Changed 10 years ago by
Status: | new → pending |
---|
I guess we should close this now that everything has been converted to AMD?
comment:3 Changed 10 years ago by
Component: | Core → Loader |
---|
comment:4 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Basic loader patch, patches dojo/_base/loader.js