Changes between Initial Version and Version 1 of Ticket #26870, comment 1
- Timestamp:
- 01/18/2014 11:18:16 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26870, comment 1
initial v1 2 2 3 3 Notes: 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. Th is classes are marked with `@constructor` and the classes in the inheritance chain are notedannotated 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` 5 5 - 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. 6 6 - `wp.media.controller.State` is basically an abstract class that many of these classes are intertwined with.