Opened 14 years ago

Closed 12 years ago

#86 closed enhancement (wontfix)

Add import options to require

Reported by: david Owned by: alex
Priority: high Milestone: 1.0
Component: Core Version: 0.0
Keywords: Cc:
Blocked By: Blocking:

Description

Allow users to do something like:

var t = {};
dojo.require("dojo.xml.htmlUtil", t);

Which would give you:

t.setClass(...);
t.getClass(...);
// etc

Change History (4)

comment:1 Changed 13 years ago by dylan

Milestone: 0.8

comment:2 Changed 12 years ago by dylan

Milestone: 0.80.6

Milestone 0.8 deleted

comment:3 Changed 12 years ago by Adam Peller

Milestone: 1.0

comment:4 Changed 12 years ago by James Burke

Milestone: 1.0
Resolution: wontfix
Status: newclosed

Closing this as a wontfix. Not sure the use case for this. With ticket #4573, it will be possible to change the entire namespace from "dojo" to "t". Perhaps that gives most of what this ticket was hoping to get. Also, with dojo 1.0, hopefully most module hierarchies have been flattened, reducing the need for a shorter alias.

Note: See TracTickets for help on using tickets.