Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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 9 years ago by ykami

Resolution: fixed
Status: newclosed

(In [24655]) Fixes #12854 !strict. (AMD support) Return dojox.mobile instead of dojox.mobile.common since there are no dojox.mobile.common.* functions.

comment:2 Changed 9 years ago by ykami

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.