Changes between Version 2 and Version 3 of Ticket #15786, comment 7


Ignore:
Timestamp:
Aug 30, 2012, 12:53:04 PM (9 years ago)
Author:
Adrian Vasiliu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15786, comment 7

    v2 v3  
    33The phone/tablet detection is performed by dojox/mobile/common. This module is typically required very early, because often the apps require the dojox/mobile module (which requires it indirectly) and/or modules such as dojox/mobile/View and dojox/mobile/_base (which require dojox/mobile/common). Now, in the test case, none of dojox/mobile modules is required explicitly. Hence, during the auto-require, dojox/mobile/Opener is required before dojox/mobile/common. The later happens to be finally required because the test also contains a dojox/mobile/Heading in mark-up, which requires dojox/mobile/View, which finally requires dojox/mobile/common. But this is too late, since Opener has loaded already.
    44
    5 That said, there's nothing specific to the auto-require case here. It would be the same if the modules used in markup would be required explicitly in the same order as in mark-up. It seems we will need to add more dependencies on the base/common modules...
     5That said, there's nothing specific to the auto-require case here. It would be the same if the modules used in markup would be required explicitly in the same order as in mark-up. It seems we will need to add more dependencies on the base/common modules... (Update: registered as #15910).