Add better support for customization of BaseView, and add unit tests.
Review Request #12912 — Created March 23, 2023 and submitted
This change adds a missing
updates several static attributes to let them work as functions (as
allowed by Backbone).
The static functions have access to
this, since they're copied to the
prototype at class construction time and executed on the instance.
Unnecessary declarations for some instance-level types have been
EventsHashtypes have been added and
exported. These allow easier reference without using
Unit tests have been added to test all the static attribute/function
behavior during class construction and usage, render/visibility-related
methods, and all event management functions.
Unit tests pass.