From 48ccbb4499ff151e32fa06ca2b1ca29462285941 Mon Sep 17 00:00:00 2001 From: denz1994 Date: Wed, 30 Jan 2019 11:07:26 -0500 Subject: [PATCH] Addressed REVIEW: Delete SimSpeedChoice https://github.com/phetsims/masses-and-springs-basics/issues/48 --- js/common/enum/SimSpeedChoice.js | 17 ----------------- js/common/view/SpringScreenView.js | 1 - 2 files changed, 18 deletions(-) delete mode 100644 js/common/enum/SimSpeedChoice.js diff --git a/js/common/enum/SimSpeedChoice.js b/js/common/enum/SimSpeedChoice.js deleted file mode 100644 index 0b487fcf..00000000 --- a/js/common/enum/SimSpeedChoice.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2018, University of Colorado Boulder - -/** - * Enumeration for sim speed choices. - * - * @author Denzell Barnett (PhET Interactive Simulations) - */ -define( function( require ) { - 'use strict'; - - // modules - var massesAndSprings = require( 'MASSES_AND_SPRINGS/massesAndSprings' ); - var Enumeration = require( 'PHET_CORE/Enumeration' ); - - // REVIEW: The recent decision was to move enumerations out of enum/ folders. Can you put it in model/? - return massesAndSprings.register( 'SimSpeedChoice', new Enumeration( [ 'NORMAL', 'SLOW' ] ) ); -} ); diff --git a/js/common/view/SpringScreenView.js b/js/common/view/SpringScreenView.js index 3b8e5b21..0f88bf58 100644 --- a/js/common/view/SpringScreenView.js +++ b/js/common/view/SpringScreenView.js @@ -35,7 +35,6 @@ define( function( require ) { var ResetAllButton = require( 'SCENERY_PHET/buttons/ResetAllButton' ); var ScreenView = require( 'JOIST/ScreenView' ); var Shelf = require( 'MASSES_AND_SPRINGS/common/view/Shelf' ); - var SimSpeedChoice = require( 'MASSES_AND_SPRINGS/common/enum/SimSpeedChoice' ); var SpringControlPanel = require( 'MASSES_AND_SPRINGS/common/view/SpringControlPanel' ); var StopperButtonNode = require( 'MASSES_AND_SPRINGS/common/view/StopperButtonNode' ); var StringUtils = require( 'PHETCOMMON/util/StringUtils' );