Opened 8 years ago
Closed 5 years ago
#16184 closed feature (patchwelcome)
Allow using deviceTheme as an AMD plugin
Reported by: | Eric Durocher | Owned by: | Patrick Ruzand |
---|---|---|---|
Priority: | undecided | Milestone: | 1.13 |
Component: | DojoX Mobile | Version: | 1.8.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Currently the recommended way to use dojox/mobile/deviceTheme is to load it in a <script> tag. It would be more consistent to be able to use it as a regular AMD module. A solution for this is to make deviceTheme an AMD plugin, so adding "dojox/mobile/deviceTheme!" in the require list would wait for all CSS of the theme to be loaded.
Change History (5)
comment:1 Changed 8 years ago by
Milestone: | tbd → 1.9 |
---|
comment:2 Changed 8 years ago by
Milestone: | 1.9 → 2.0 |
---|
comment:3 Changed 8 years ago by
comment:4 Changed 8 years ago by
Owner: | changed from Eric Durocher to Patrick Ruzand |
---|---|
Status: | new → assigned |
comment:5 Changed 5 years ago by
Milestone: | 2.0 → 1.12 |
---|---|
Resolution: | → patchwelcome |
Status: | assigned → closed |
Given that no one has shown interest in creating a patch in the past 2+ years, I'm closing this as patchwelcome.
Note: See
TracTickets for help on using
tickets.
Since we support browsers that do not implement onload/onerror on <link> tags (Android 2/3), implementing this would require a reliable cross-browser css! plugin first, see #5402. So, moving this to 2.0 seems more realistic.