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 30ed7a8 commit 27139a3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions js/area-model-introduction-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
*
* @author Jonathan Olson <[email protected]>
*/
define( function( require ) {
define( require => {
'use strict';

// modules
var MultiplyScreen = require( 'AREA_MODEL_COMMON/screens/MultiplyScreen' );
var PartitionScreen = require( 'AREA_MODEL_COMMON/screens/PartitionScreen' );
var Sim = require( 'JOIST/Sim' );
var SimLauncher = require( 'JOIST/SimLauncher' );
const MultiplyScreen = require( 'AREA_MODEL_COMMON/screens/MultiplyScreen' );
const PartitionScreen = require( 'AREA_MODEL_COMMON/screens/PartitionScreen' );
const Sim = require( 'JOIST/Sim' );
const SimLauncher = require( 'JOIST/SimLauncher' );

// strings
var areaModelIntroductionTitleString = require( 'string!AREA_MODEL_INTRODUCTION/area-model-introduction.title' );
const areaModelIntroductionTitleString = require( 'string!AREA_MODEL_INTRODUCTION/area-model-introduction.title' );

var simOptions = {
credits: {
Expand Down

0 comments on commit 27139a3

Please sign in to comment.