#16664 closed defect (fixed)
dojo/text! uses deprecated API, and not AMD-portable
Reported by: | bill | Owned by: | bill |
---|---|---|---|
Priority: | undecided | Milestone: | 1.9 |
Component: | Core | Version: | 1.8.3 |
Keywords: | Cc: | Rawld Gill | |
Blocked By: | Blocking: |
Description
dojo/text! should use dojo/request rather than dojo/_base/xhr. dojo/_base/xhr is deprecated, and dojo/request will work on node in addition to the browser.
Also, the code accesses require.cache, which does not exist on other AMD loaders, at least not on RequireJS.
Change History (4)
comment:1 Changed 8 years ago by
Cc: | Rawld Gill added |
---|---|
Milestone: | tbd → 1.9 |
Owner: | set to bill |
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
I'm not referring to the definition of dojo.cache(), which is going away in 2.0, but to the code that is staying.
I'm going to check in a fix. Rawld, please review.