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 authored and marlitas committed Jun 22, 2022
1 parent e2b65ea commit c5a2d5b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions js/common/view/TriangleNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
*
* @author Sam Reid (PhET Interactive Simulations)
*/
define( function( require ) {
define( require => {
'use strict';

// modules
var inherit = require( 'PHET_CORE/inherit' );
var Matrix3 = require( 'DOT/Matrix3' );
var Path = require( 'SCENERY/nodes/Path' );
var proportionPlayground = require( 'PROPORTION_PLAYGROUND/proportionPlayground' );
var Shape = require( 'KITE/Shape' );
var Side = require( 'PROPORTION_PLAYGROUND/common/model/Side' );
const inherit = require( 'PHET_CORE/inherit' );
const Matrix3 = require( 'DOT/Matrix3' );
const Path = require( 'SCENERY/nodes/Path' );
const proportionPlayground = require( 'PROPORTION_PLAYGROUND/proportionPlayground' );
const Shape = require( 'KITE/Shape' );
const Side = require( 'PROPORTION_PLAYGROUND/common/model/Side' );

// constants
var TRIANGLE_LENGTH = 17;
Expand Down

0 comments on commit c5a2d5b

Please sign in to comment.