Opened 10 years ago
Closed 10 years ago
#12870 closed defect (duplicate)
dojo/_base/url.js needs to add require as a dependency to AMD defin
Reported by: | Chris Mitchell | Owned by: | Rawld Gill |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | Core | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
When trying to use dojo with an AMD loader such as requirejs url.js has a dependency on require but it is not declared in the amd definition. There for AMD loading fails. This is the line in url.js causing the failure
return new dojo._Url(require.nameToUrl(module, type));
Is this not returned on purpose?
Change History (3)
comment:1 Changed 10 years ago by
Milestone: | tbd → 1.7 |
---|
comment:2 Changed 10 years ago by
Status: | new → assigned |
---|
comment:3 Changed 10 years ago by
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
see #12788