#12902 closed defect (fixed)
nameToUrl incorrectly assumes getModuleInfo always returns URLs with a .js extension
Reported by: | Colin Snover | Owned by: | Rawld Gill |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | Core | Version: | 1.6.1 |
Keywords: | loader | Cc: | |
Blocked By: | Blocking: |
Description
In r24793 dojo.js:750
, nameToUrl
incorrectly truncates URLs returned from getModuleInfo
if the first return is followed (dojo.js:666
), because that return does *not* always return a URL with a .js
extension. nameToUrl
should probably url.replace(/\.js$/, '')
instead of url.substring(0, url.length - 3)
.
Change History (3)
comment:1 Changed 10 years ago by
Component: | General → Core |
---|---|
Milestone: | tbd → 1.7 |
Owner: | set to Rawld Gill |
Note: See
TracTickets for help on using
tickets.
Looks like the line in question is now dojo.js:747 (as of 24823)