#262 closed defect (fixed)
make sure dojo.hostenv.* methods are deprecated
Reported by: | Owned by: | James Burke | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Core | Version: | 0.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
background:
dojo.hostenv.conditionalLoadModule() has been superceded by dojo.kwCompoundRequire(), but there doesn't seem to be a new replacement for dojo.hostenv.moduleLoaded()
possible tasks:
- create a dojo.moduleLoaded() (or something like it) to replace dojo.hostenv.moduleLoaded()
- mark dojo.hostenv.moduleLoaded() as dojo.deprecated()
- mark dojo.hostenv.conditionalLoadModule() as dojo.deprecated()
- make sure there aren't other dojo.hostenv.* that still need to be deprecated
Change History (4)
comment:1 Changed 15 years ago by
Owner: | changed from anonymous to James Burke |
---|
comment:2 Changed 15 years ago by
comment:3 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed now.
s/dojo.hostenv.moduleLoaded/dojo.provide/ s/dojo.hostenv.conditionalLoadModule/dojo.kwCompoundRequire/ s/dojo.hostenv.setModulePrefix/dojo.setModulePrefix/ s/dojo.hostenv.modulesLoadedListeners.push/dojo.addOnLoad/
Moved these functions to compat/0.2.2.js:
- dojo.hostenv.moduleLoaded
- /dojo.hostenv.conditionalLoadModule
Note: See
TracTickets for help on using
tickets.
For the 0.3 build, I will only fix the following (If you have a problem with this, please speak now, otherwise I'm doing it within the next 24 hours):