diff --git a/js/StatusBar.js b/js/StatusBar.js index 66ad8b03f..d93200873 100644 --- a/js/StatusBar.js +++ b/js/StatusBar.js @@ -6,15 +6,15 @@ * * @author Chris Malley (PixelZoom, Inc.) */ -define( function( require ) { +define( require => { 'use strict'; // modules - var inherit = require( 'PHET_CORE/inherit' ); - var Node = require( 'SCENERY/nodes/Node' ); - var PhetFont = require( 'SCENERY_PHET/PhetFont' ); - var Rectangle = require( 'SCENERY/nodes/Rectangle' ); - var vegas = require( 'VEGAS/vegas' ); + const inherit = require( 'PHET_CORE/inherit' ); + const Node = require( 'SCENERY/nodes/Node' ); + const PhetFont = require( 'SCENERY_PHET/PhetFont' ); + const Rectangle = require( 'SCENERY/nodes/Rectangle' ); + const vegas = require( 'VEGAS/vegas' ); // constants var DEFAULT_FONT = new PhetFont( 20 );