Changes between Initial Version and Version 1 of Ticket #13600, comment 4


Ignore:
Timestamp:
Aug 7, 2011, 3:17:51 AM (9 years ago)
Author:
Eugene Lazutkin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13600, comment 4

    initial v1  
    44Who said so?
    55
    6 This function is grandfathered, and was added when people started to complain about "new declare broke our code!!!". You can look at all sordid details in the commit history --- I tried to accurate documenting changes and fixes.
     6This function is grandfathered, and was added when people started to complain about "new declare broke our code!!!". You can look at all sordid details in the commit history --- I tried to document accurately all changes and fixes.
    77
    88And, like Bill said, use `declare()` to define new class:
     
    1010{{{
    1111#!js
    12 var NewClass = dojo.declare([OldClass, NewMixin]);
     12var NewClass = dojo.declare([OldClass, NewMixin], {});
    1313}}}
    1414