From 8bbbc164b2854e5bbc6a7bb1e53123a2e8facbfd Mon Sep 17 00:00:00 2001 From: zepumph Date: Thu, 13 Jan 2022 10:19:48 -0700 Subject: [PATCH] remove redundant keys declaration, https://github.com/phetsims/perennial/issues/259 https://github.com/phetsims/phet-core/issues/97 --- js/accessibility/describers/DirectionEnum.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/js/accessibility/describers/DirectionEnum.js b/js/accessibility/describers/DirectionEnum.js index f25f9e3c7..7614e3740 100644 --- a/js/accessibility/describers/DirectionEnum.js +++ b/js/accessibility/describers/DirectionEnum.js @@ -24,13 +24,7 @@ const DirectionEnum = EnumerationDeprecated.byKeys( [ 'DOWN_RIGHT' ], { beforeFreeze: DirectionEnum => { - - - /** - * @type {string[]} - the keys tha make up the enum - */ - DirectionEnum.keys = Object.keys( DirectionEnum ); - + /** * Returns true if direction is one of the primary relative directions "up", "down", "left", "right". *