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:


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)

9032.patch (2.0 KB) - added by James Burke 13 years ago.
Basic loader patch, patches dojo/_base/loader.js

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by James Burke

Attachment: 9032.patch added

Basic loader patch, patches dojo/_base/loader.js

comment:1 Changed 13 years ago by James Burke

Version: 1.3.0rc21.3.0

comment:2 Changed 10 years ago by bill

Status: newpending

I guess we should close this now that everything has been converted to AMD?

comment:3 Changed 10 years ago by bill

Component: CoreLoader

comment:4 Changed 10 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

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!

Note: See TracTickets for help on using tickets.