-
Notifications
You must be signed in to change notification settings - Fork 12
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
182 changed files
with
1,165 additions
and
1,165 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
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
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 |
---|---|---|
|
@@ -6,18 +6,18 @@ | |
* @author Jonathan Olson <[email protected]> | ||
*/ | ||
|
||
define( function( require ) { | ||
define( require => { | ||
'use strict'; | ||
|
||
// modules | ||
var AccessibilityTree = require( 'SCENERY/accessibility/AccessibilityTree' ); | ||
var arrayDifference = require( 'PHET_CORE/arrayDifference' ); | ||
var Display = require( 'SCENERY/display/Display' ); | ||
var inherit = require( 'PHET_CORE/inherit' ); | ||
var Node = require( 'SCENERY/nodes/Node' ); | ||
var Permutation = require( 'DOT/Permutation' ); | ||
var Random = require( 'DOT/Random' ); | ||
var scenery = require( 'SCENERY/scenery' ); | ||
const AccessibilityTree = require( 'SCENERY/accessibility/AccessibilityTree' ); | ||
const arrayDifference = require( 'PHET_CORE/arrayDifference' ); | ||
const Display = require( 'SCENERY/display/Display' ); | ||
const inherit = require( 'PHET_CORE/inherit' ); | ||
const Node = require( 'SCENERY/nodes/Node' ); | ||
const Permutation = require( 'DOT/Permutation' ); | ||
const Random = require( 'DOT/Random' ); | ||
const scenery = require( 'SCENERY/scenery' ); | ||
|
||
/** | ||
* @constructor | ||
|
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
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 |
---|---|---|
|
@@ -6,16 +6,16 @@ | |
* @author Jonathan Olson <[email protected]> | ||
*/ | ||
|
||
define( function( require ) { | ||
define( require => { | ||
'use strict'; | ||
|
||
// modules | ||
var AccessibleInstance = require( 'SCENERY/accessibility/AccessibleInstance' ); | ||
var arrayDifference = require( 'PHET_CORE/arrayDifference' ); | ||
var PartialAccessibleTrail = require( 'SCENERY/accessibility/PartialAccessibleTrail' ); | ||
var scenery = require( 'SCENERY/scenery' ); | ||
const AccessibleInstance = require( 'SCENERY/accessibility/AccessibleInstance' ); | ||
const arrayDifference = require( 'PHET_CORE/arrayDifference' ); | ||
const PartialAccessibleTrail = require( 'SCENERY/accessibility/PartialAccessibleTrail' ); | ||
const scenery = require( 'SCENERY/scenery' ); | ||
// commented out so Require.js doesn't balk at the circular dependency | ||
// var Trail = require( 'SCENERY/util/Trail' ); | ||
// const Trail = require( 'SCENERY/util/Trail' ); | ||
|
||
// globals (for restoring focus) | ||
var focusedNode = null; | ||
|
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
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
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 |
---|---|---|
|
@@ -6,13 +6,13 @@ | |
* | ||
* @author Jonathan Olson <[email protected]> | ||
*/ | ||
define( function( require ) { | ||
define( require => { | ||
'use strict'; | ||
|
||
// modules | ||
var inherit = require( 'PHET_CORE/inherit' ); | ||
var Renderer = require( 'SCENERY/display/Renderer' ); | ||
var scenery = require( 'SCENERY/scenery' ); | ||
const inherit = require( 'PHET_CORE/inherit' ); | ||
const Renderer = require( 'SCENERY/display/Renderer' ); | ||
const scenery = require( 'SCENERY/scenery' ); | ||
|
||
/** | ||
* Tracks accessible display information for our given node. | ||
|
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 |
---|---|---|
|
@@ -27,18 +27,18 @@ | |
* @author Jonathan Olson <[email protected]> | ||
*/ | ||
|
||
define( function( require ) { | ||
define( require => { | ||
'use strict'; | ||
|
||
var AccessibilityUtil = require( 'SCENERY/accessibility/AccessibilityUtil' ); | ||
var AccessiblePeer = require( 'SCENERY/accessibility/AccessiblePeer' ); | ||
var cleanArray = require( 'PHET_CORE/cleanArray' ); | ||
var Events = require( 'AXON/Events' ); | ||
var inherit = require( 'PHET_CORE/inherit' ); | ||
var platform = require( 'PHET_CORE/platform' ); | ||
var Poolable = require( 'PHET_CORE/Poolable' ); | ||
var scenery = require( 'SCENERY/scenery' ); | ||
var TransformTracker = require( 'SCENERY/util/TransformTracker' ); | ||
const AccessibilityUtil = require( 'SCENERY/accessibility/AccessibilityUtil' ); | ||
const AccessiblePeer = require( 'SCENERY/accessibility/AccessiblePeer' ); | ||
const cleanArray = require( 'PHET_CORE/cleanArray' ); | ||
const Events = require( 'AXON/Events' ); | ||
const inherit = require( 'PHET_CORE/inherit' ); | ||
const platform = require( 'PHET_CORE/platform' ); | ||
const Poolable = require( 'PHET_CORE/Poolable' ); | ||
const scenery = require( 'SCENERY/scenery' ); | ||
const TransformTracker = require( 'SCENERY/util/TransformTracker' ); | ||
|
||
var globalId = 1; | ||
|
||
|
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
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
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
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
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
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
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
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
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
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 |
---|---|---|
|
@@ -6,12 +6,12 @@ | |
* @author Jonathan Olson <[email protected]> | ||
*/ | ||
|
||
define( function( require ) { | ||
define( require => { | ||
'use strict'; | ||
|
||
// modules | ||
var inherit = require( 'PHET_CORE/inherit' ); | ||
var scenery = require( 'SCENERY/scenery' ); | ||
const inherit = require( 'PHET_CORE/inherit' ); | ||
const scenery = require( 'SCENERY/scenery' ); | ||
|
||
/** | ||
* @constructor | ||
|
Oops, something went wrong.