Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #26870, comment 1


Ignore:
Timestamp:
01/18/2014 11:18:16 PM (11 years ago)
Author:
wonderboymusic
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26870, comment 1

    initial v1  
    22
    33Notes:
    4 - THE most important thing is the inheritance chain of each class with a constructor. Many of them inherit from classes 6 levels deep and mix-in `wp.media.controller.StateMachine` just for laughs. This classes are marked with `@constructor` and the classes in the inheritance chain are noted annotated with `@augments`
     4- THE most important thing is the inheritance chain of each class with a constructor. Many of them inherit from classes 6 levels deep and mix-in `wp.media.controller.StateMachine` just for laughs. These classes are marked with `@constructor`, and the classes in the inheritance chain are annotated with `@augments`
    55- The next most important step for a lot of this code is documenting `this` inside of instance methods with the `@this` annotation. This is by far the most confusing aspect of a lot of the code.
    66- `wp.media.controller.State` is basically an abstract class that many of these classes are intertwined with.