Skip to content

Commit

Permalink
Fix mixin regression, see #865
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Dec 20, 2023
1 parent 5f8fd54 commit f26d156
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/accessibility/AccessibleNumberSpinner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ const AccessibleNumberSpinner = <SuperType extends Constructor<Node>>( Type: Sup
* NOTE: See Node's _mutatorKeys documentation for more information on how this operates, and potential special
* cases that may apply.
*/
AccessibleNumberSpinnerClass.prototype._mutatorKeys = ACCESSIBLE_NUMBER_SPINNER_OPTIONS.concat( Type.prototype._mutatorKeys );
AccessibleNumberSpinnerClass.prototype._mutatorKeys = ACCESSIBLE_NUMBER_SPINNER_OPTIONS.concat( AccessibleNumberSpinnerClass.prototype._mutatorKeys );

assert && assert( AccessibleNumberSpinnerClass.prototype._mutatorKeys.length === _.uniq( AccessibleNumberSpinnerClass.prototype._mutatorKeys ).length, 'duplicate mutator keys in AccessibleNumberSpinner' );

Expand Down
2 changes: 1 addition & 1 deletion js/accessibility/AccessibleSlider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const AccessibleSlider = <SuperType extends Constructor<Node>>( Type: SuperType,
* NOTE: See Node's _mutatorKeys documentation for more information on how this operates, and potential special
* cases that may apply.
*/
AccessibleSliderClass.prototype._mutatorKeys = ACCESSIBLE_SLIDER_OPTIONS.concat( Type.prototype._mutatorKeys );
AccessibleSliderClass.prototype._mutatorKeys = ACCESSIBLE_SLIDER_OPTIONS.concat( AccessibleSliderClass.prototype._mutatorKeys );

assert && assert( AccessibleSliderClass.prototype._mutatorKeys.length === _.uniq( AccessibleSliderClass.prototype._mutatorKeys ).length, 'duplicate mutator keys in AccessibleSlider' );

Expand Down
2 changes: 1 addition & 1 deletion js/accessibility/AccessibleValueHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ const AccessibleValueHandler = <SuperType extends Constructor<Node>>( Type: Supe
* NOTE: See Node's _mutatorKeys documentation for more information on how this operates, and potential special
* cases that may apply.
*/
AccessibleValueHandlerClass.prototype._mutatorKeys = ACCESSIBLE_VALUE_HANDLER_OPTIONS.concat( Type.prototype._mutatorKeys );
AccessibleValueHandlerClass.prototype._mutatorKeys = ACCESSIBLE_VALUE_HANDLER_OPTIONS.concat( AccessibleValueHandlerClass.prototype._mutatorKeys );

assert && assert( AccessibleValueHandlerClass.prototype._mutatorKeys.length === _.uniq( AccessibleValueHandlerClass.prototype._mutatorKeys ).length, 'duplicate mutator keys in AccessibleValueHandler' );

Expand Down

0 comments on commit f26d156

Please sign in to comment.