#12854 closed defect (fixed)
dojox.mobile.common.js does not support anonymous AMD modules
Reported by: | ykami | Owned by: | ykami |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | DojoX Mobile | Version: | 1.6.0 |
Keywords: | 1.7-mobile | Cc: | Douglas Hays |
Blocked By: | Blocking: |
Description
(from Doug)Opener.js prereqs dojox/mobile/common, but since common.js returns dojox.mobile.common, and since none of the functions inside common.js use the dojox.mobile.common namespace, then none of the functions can be referenced anonymously. I suspect common.js should return dojox.mobile. Then Opener.js could call mobile.hasTouch instead of dojox.mobile.hasTouch.
Change History (2)
comment:1 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
Opener no longer uses hasTouch, but I fixed the return object from dojox.mobile.common to dojox.mobile.
Note: See
TracTickets for help on using
tickets.
(In [24655]) Fixes #12854 !strict. (AMD support) Return dojox.mobile instead of dojox.mobile.common since there are no dojox.mobile.common.* functions.