Opened 11 years ago

Closed 11 years ago

#13019 closed defect (worksforme)

mapping dojo/text and dojo/i18n to text and i18n

Reported by: ben hockey Owned by: Rawld Gill
Priority: high Milestone: 1.7
Component: Loader Version: 1.6.1
Keywords: Cc:
Blocked By: Blocking:


transferred from

dojo/text and dojo/i18n can't be mapped to top-level module ids - eg text and i18n respectively. given that there will be pre-existing usage of text and i18n is there a way to support this mapping for the sake of compatibility with existing use cases?

Change History (3)

comment:1 Changed 11 years ago by Rawld Gill

Will this work?

define("text", ["dojo/text"], function(result){
  return result;

Also, I think RequireJS is changing to require/text and require/i18n so the top-level modules won't be an issue.

comment:2 Changed 11 years ago by Rawld Gill

Status: newassigned

comment:3 Changed 11 years ago by Rawld Gill

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.