Opened 9 years ago

Closed 9 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 9 years ago by Chris Mitchell

Milestone: tbd1.7

comment:2 Changed 9 years ago by Rawld Gill

Status: newassigned

comment:3 Changed 9 years ago by Rawld Gill

Resolution: duplicate
Status: assignedclosed

see #12788

Note: See TracTickets for help on using tickets.