Opened 8 years ago
Closed 8 years ago
#16220 closed defect (fixed)
loader config map star entry does not work
Reported by: | Rawld Gill | Owned by: | Rawld Gill |
---|---|---|---|
Priority: | blocker | Milestone: | 1.8.2 |
Component: | Loader | Version: | 1.8.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
For example, the loader will not consume the * entry in the following map:
map:{ 'my/Dialog':{'dijit/Dialog':'dijit/Dialog'}, '*':{'dijit/Dialog':'my/Dialog'} },
Change History (6)
comment:1 Changed 8 years ago by
Milestone: | tbd → 1.8.2 |
---|---|
Priority: | undecided → high |
Status: | new → assigned |
comment:2 Changed 8 years ago by
comment:3 Changed 8 years ago by
Priority: | high → blocker |
---|
comment:4 Changed 8 years ago by
If this is indeed a one line fix (and from our internal ticket it looks like it is) then it needs to get into 1.8.2. Your call if you do it or I do. :)
Note: See
TracTickets for help on using
tickets.
This bug was mentioned in a recent dojo-meeting, and it sounded like some background was needed. SitePen? recently did some work for my employer and used a combination of loader config paths and aliases to use patched dijit modules in some cases. This approach worked fine for an unbuilt version, but IIRC, the Dojo build system wasn't able to properly detect all dependencies. SitePen? support suggested we use a loader map instead and said we needed to tweak the 1.8.0 version of
dojo.js
.Changing this:
To this: