Commit b01ae33f authored by Mike Conley's avatar Mike Conley
Browse files

Bug 1797156 - Refactor OverflowableToolbar and add documentation. r=sclements,cmkm

This patch does not aim to change the behaviour of OverflowableToolbar
at all. Instead, it:

1. Migrates off of old-school prototype class to a modern ES6 class
2. Uses actual private members and methods rather than underscore
   pseudo-private members and methods.
3. Tries to group the methods of OverflowableToolbar into groups like
   public methods, private methods, private event handlers, CUI widget
   listener methods and finally XPCOM interface implementations.
4. Tries to add JSDoc-style documentation where possible.

Differential Revision: https://phabricator.services.mozilla.com/D160106
parent 1a06860e
Loading
Loading
Loading
Loading
+628 −360

File changed.

Preview size limit exceeded, changes collapsed.