diff --git a/js/blast-main.js b/js/blast-main.js index 7a545f7..06705c0 100644 --- a/js/blast-main.js +++ b/js/blast-main.js @@ -5,18 +5,18 @@ * * @author Sam Reid */ -define( function( require ) { +define( require => { 'use strict'; // modules - var BlastScreen = require( 'BLAST/blast/BlastScreen' ); - var Property = require( 'AXON/Property' ); - var Sim = require( 'JOIST/Sim' ); - var SimLauncher = require( 'JOIST/SimLauncher' ); - var Tandem = require( 'TANDEM/Tandem' ); + const BlastScreen = require( 'BLAST/blast/BlastScreen' ); + const Property = require( 'AXON/Property' ); + const Sim = require( 'JOIST/Sim' ); + const SimLauncher = require( 'JOIST/SimLauncher' ); + const Tandem = require( 'TANDEM/Tandem' ); // strings - var blastTitleString = require( 'string!BLAST/blast.title' ); + const blastTitleString = require( 'string!BLAST/blast.title' ); SimLauncher.launch( function() { diff --git a/js/blast.js b/js/blast.js index 38551ce..465ad99 100644 --- a/js/blast.js +++ b/js/blast.js @@ -5,11 +5,11 @@ * * @author Chris Malley (PixelZoom, Inc.) */ -define( function( require ) { +define( require => { 'use strict'; // modules - var Namespace = require( 'PHET_CORE/Namespace' ); + const Namespace = require( 'PHET_CORE/Namespace' ); return new Namespace( 'blast' ); } ); \ No newline at end of file diff --git a/js/blast/BlastScreen.js b/js/blast/BlastScreen.js index cae9616..170722f 100644 --- a/js/blast/BlastScreen.js +++ b/js/blast/BlastScreen.js @@ -5,16 +5,16 @@ * * @author John Blanco */ -define( function( require ) { +define( require => { 'use strict'; // modules - var blast = require( 'BLAST/blast' ); - var BlastModel = require( 'BLAST/blast/model/BlastModel' ); - var BlastScreenView = require( 'BLAST/blast/view/BlastScreenView' ); - var inherit = require( 'PHET_CORE/inherit' ); - var Rectangle = require( 'SCENERY/nodes/Rectangle' ); - var Screen = require( 'JOIST/Screen' ); + const blast = require( 'BLAST/blast' ); + const BlastModel = require( 'BLAST/blast/model/BlastModel' ); + const BlastScreenView = require( 'BLAST/blast/view/BlastScreenView' ); + const inherit = require( 'PHET_CORE/inherit' ); + const Rectangle = require( 'SCENERY/nodes/Rectangle' ); + const Screen = require( 'JOIST/Screen' ); /** * @param {Tandem} tandem diff --git a/js/blast/model/BlastModel.js b/js/blast/model/BlastModel.js index 7936669..7ebfc69 100644 --- a/js/blast/model/BlastModel.js +++ b/js/blast/model/BlastModel.js @@ -5,13 +5,13 @@ * * @author Sam Reid */ -define( function( require ) { +define( require => { 'use strict'; // modules - var blast = require( 'BLAST/blast' ); - var inherit = require( 'PHET_CORE/inherit' ); - var Particle = require( 'BLAST/blast/model/Particle' ); + const blast = require( 'BLAST/blast' ); + const inherit = require( 'PHET_CORE/inherit' ); + const Particle = require( 'BLAST/blast/model/Particle' ); /** * @param {Tandem} tandem diff --git a/js/blast/model/Particle.js b/js/blast/model/Particle.js index 442a17b..82bc3ab 100644 --- a/js/blast/model/Particle.js +++ b/js/blast/model/Particle.js @@ -5,13 +5,13 @@ * * @author Sam Reid */ -define( function( require ) { +define( require => { 'use strict'; // modules - var blast = require( 'BLAST/blast' ); - var inherit = require( 'PHET_CORE/inherit' ); - var NumberProperty = require( 'AXON/NumberProperty' ); + const blast = require( 'BLAST/blast' ); + const inherit = require( 'PHET_CORE/inherit' ); + const NumberProperty = require( 'AXON/NumberProperty' ); /** * @constructor diff --git a/js/blast/view/BlastScreenView.js b/js/blast/view/BlastScreenView.js index 2936071..9706941 100644 --- a/js/blast/view/BlastScreenView.js +++ b/js/blast/view/BlastScreenView.js @@ -5,14 +5,14 @@ * * @author Sam Reid */ -define( function( require ) { +define( require => { 'use strict'; // modules - var blast = require( 'BLAST/blast' ); - var inherit = require( 'PHET_CORE/inherit' ); - var ParticleNode = require( 'BLAST/blast/view/ParticleNode' ); - var ScreenView = require( 'JOIST/ScreenView' ); + const blast = require( 'BLAST/blast' ); + const inherit = require( 'PHET_CORE/inherit' ); + const ParticleNode = require( 'BLAST/blast/view/ParticleNode' ); + const ScreenView = require( 'JOIST/ScreenView' ); /** * @param {BlastModel} model diff --git a/js/blast/view/ParticleNode.js b/js/blast/view/ParticleNode.js index 4b9360e..cbcc5d2 100644 --- a/js/blast/view/ParticleNode.js +++ b/js/blast/view/ParticleNode.js @@ -5,13 +5,13 @@ * * @author Sam Reid */ -define( function( require ) { +define( require => { 'use strict'; // modules - var blast = require( 'BLAST/blast' ); - var inherit = require( 'PHET_CORE/inherit' ); - var Rectangle = require( 'SCENERY/nodes/Rectangle' ); + const blast = require( 'BLAST/blast' ); + const inherit = require( 'PHET_CORE/inherit' ); + const Rectangle = require( 'SCENERY/nodes/Rectangle' ); // constants var PARTICLE_SIZE = 10;