Opened 14 years ago

Closed 13 years ago

Last modified 10 years ago

#453 closed defect (wontfix)

Building profile with dojo.provide(<variable>);

Reported by: Michael Schall Owned by: alex
Priority: high Milestone: 0.9
Component: BuildTools Version: 0.2
Keywords: Cc:
Blocked By: Blocking:

Description

I'm using the dojo.provide to create some of my own namespaces(works great). If I use the build tool with the following in one of my scripts it fails with error '"objNm" does not exist'.

	var objNm = "my.namespace";
	var obj = dojo.provide(objNm);

Change History (2)

comment:1 Changed 13 years ago by dylan

Component: GeneralBuildTools
Milestone: 0.5
Owner: changed from anonymous to alex

A lot has changed for the better recently with external namespaces. Is this still an issue?

comment:2 Changed 13 years ago by Adam Peller

Resolution: wontfix
Status: newclosed

We can't chase down dynamic references to packages. The build tool will only work with hard-coded string args for dojo.provide.

Note: See TracTickets for help on using tickets.