Skip to content

Commit

Permalink
var -> const in require statements, use arrow function in define requ…
Browse files Browse the repository at this point in the history
…ire call, phetsims/tasks#1010
  • Loading branch information
zepumph committed Sep 19, 2019
1 parent ed4ae30 commit 132e056
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions js/molecule-shapes-basics-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@
*
* @author Jonathan Olson <[email protected]>
*/
define( function( require ) {
define( require => {
'use strict';

// modules
var CanvasWarningNode = require( 'SCENERY_PHET/CanvasWarningNode' );
var ColorProfile = require( 'SCENERY_PHET/ColorProfile' );
var GlobalOptionsNode = require( 'MOLECULE_SHAPES/common/view/GlobalOptionsNode' );
var IE11StencilWarningNode = require( 'SCENERY_PHET/IE11StencilWarningNode' );
var ModelMoleculesScreen = require( 'MOLECULE_SHAPES/model/ModelMoleculesScreen' );
var MoleculeShapesColorProfile = require( 'MOLECULE_SHAPES/common/view/MoleculeShapesColorProfile' );
var MoleculeShapesGlobals = require( 'MOLECULE_SHAPES/common/MoleculeShapesGlobals' );
var RealMoleculesScreen = require( 'MOLECULE_SHAPES/real/RealMoleculesScreen' );
var Sim = require( 'JOIST/Sim' );
var SimLauncher = require( 'JOIST/SimLauncher' );
const CanvasWarningNode = require( 'SCENERY_PHET/CanvasWarningNode' );
const ColorProfile = require( 'SCENERY_PHET/ColorProfile' );
const GlobalOptionsNode = require( 'MOLECULE_SHAPES/common/view/GlobalOptionsNode' );
const IE11StencilWarningNode = require( 'SCENERY_PHET/IE11StencilWarningNode' );
const ModelMoleculesScreen = require( 'MOLECULE_SHAPES/model/ModelMoleculesScreen' );
const MoleculeShapesColorProfile = require( 'MOLECULE_SHAPES/common/view/MoleculeShapesColorProfile' );
const MoleculeShapesGlobals = require( 'MOLECULE_SHAPES/common/MoleculeShapesGlobals' );
const RealMoleculesScreen = require( 'MOLECULE_SHAPES/real/RealMoleculesScreen' );
const Sim = require( 'JOIST/Sim' );
const SimLauncher = require( 'JOIST/SimLauncher' );

// strings
var moleculeShapesBasicsTitleString = require( 'string!MOLECULE_SHAPES_BASICS/molecule-shapes-basics.title' );
const moleculeShapesBasicsTitleString = require( 'string!MOLECULE_SHAPES_BASICS/molecule-shapes-basics.title' );

// constants
var DEFAULT_COLOR_PROFILE_NAME = 'basics';
Expand Down

0 comments on commit 132e056

Please sign in to comment.