Changes between Initial Version and Version 1 of Ticket #16401, comment 9


Ignore:
Timestamp:
Nov 29, 2012, 1:39:41 AM (7 years ago)
Author:
ben hockey
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16401, comment 9

    initial v1  
    11fwiw `module.id` is actually part of the AMD spec but its specified indirectly by referring to the CJS module spec and I hadn't noticed it. james pointed me to the references and will make it a little clearer next week. all the details are in the google groups thread I linked to in #16400.
    22
    3 I think the usage of it is currently only to support features needed for backwards compatibility (globals and i18n) which should be able to be removed in 2.0. however, it still stands that a module (and package) can not assume it has a certain id and `module.id` is the mechanism that provides that information to a module if it should need it.
     3I think the current usage of `module.id` within dojo is only to support features needed for backwards compatibility (globals and i18n) which should be able to be removed in 2.0. however, it still stands that a module (and package) can not assume it has a certain id and `module.id` is the mechanism that provides that information to a module if it should need it.