-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
var -> const in require statements, use arrow function in define requ…
…ire call, phetsims/tasks#1010
- Loading branch information
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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'; | ||
|