Opened 8 years ago

Closed 5 years ago

#9032 closed defect (invalid)

Consider allowing setting local variables via Loader trickery

Reported by: jburke Owned by: jburke
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)

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

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by jburke

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

comment:1 Changed 8 years ago by jburke

  • Version changed from 1.3.0rc2 to 1.3.0

comment:2 Changed 5 years ago by bill

  • Status changed from new to pending

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

comment:3 Changed 5 years ago by bill

  • Component changed from Core to Loader

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

  • Resolution set to invalid
  • Status changed from pending to 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!

Note: See TracTickets for help on using tickets.