Ticket #9032 (new defect)

Opened 10 months ago

Last modified 10 months ago

Consider allowing setting local variables via Loader trickery

Reported by: jburke Owned by: jburke
Priority: normal Milestone: future
Component: Core Version: 1.3.0
Severity: normal Keywords:
Cc:

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

9032.patch (2.0 kB) - added by jburke 10 months ago.
Basic loader patch, patches dojo/_base/loader.js

Change History

Changed 10 months ago by jburke

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

Changed 10 months ago by jburke

  • version changed from 1.3.0rc2 to 1.3.0
Note: See TracTickets for help on using tickets.