-
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
57 changed files
with
524 additions
and
524 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
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 |
---|---|---|
|
@@ -5,14 +5,14 @@ | |
* | ||
* @author Jonathan Olson <[email protected]> | ||
*/ | ||
define( function( require ) { | ||
define( require => { | ||
'use strict'; | ||
|
||
// modules | ||
var Emitter = require( 'AXON/Emitter' ); | ||
var inherit = require( 'PHET_CORE/inherit' ); | ||
var proportionPlayground = require( 'PROPORTION_PLAYGROUND/proportionPlayground' ); | ||
var Side = require( 'PROPORTION_PLAYGROUND/common/model/Side' ); | ||
const Emitter = require( 'AXON/Emitter' ); | ||
const inherit = require( 'PHET_CORE/inherit' ); | ||
const proportionPlayground = require( 'PROPORTION_PLAYGROUND/proportionPlayground' ); | ||
const Side = require( 'PROPORTION_PLAYGROUND/common/model/Side' ); | ||
|
||
/** | ||
* @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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,11 @@ | |
* | ||
* @author Jonathan Olson <[email protected]> | ||
*/ | ||
define( function( require ) { | ||
define( require => { | ||
'use strict'; | ||
|
||
// modules | ||
var proportionPlayground = require( 'PROPORTION_PLAYGROUND/proportionPlayground' ); | ||
const proportionPlayground = require( 'PROPORTION_PLAYGROUND/proportionPlayground' ); | ||
|
||
var Side = { | ||
LEFT: 'LEFT', | ||
|
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
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 |
---|---|---|
|
@@ -7,16 +7,16 @@ | |
* @author Sam Reid (PhET Interactive Simulations) | ||
* @author Jonathan Olson <[email protected]> | ||
*/ | ||
define( function( require ) { | ||
define( require => { | ||
'use strict'; | ||
|
||
// modules | ||
var Color = require( 'SCENERY/util/Color' ); | ||
var DerivedProperty = require( 'AXON/DerivedProperty' ); | ||
var inherit = require( 'PHET_CORE/inherit' ); | ||
var proportionPlayground = require( 'PROPORTION_PLAYGROUND/proportionPlayground' ); | ||
var ProportionPlaygroundColorProfile = require( 'PROPORTION_PLAYGROUND/common/view/ProportionPlaygroundColorProfile' ); | ||
var Side = require( 'PROPORTION_PLAYGROUND/common/model/Side' ); | ||
const Color = require( 'SCENERY/util/Color' ); | ||
const DerivedProperty = require( 'AXON/DerivedProperty' ); | ||
const inherit = require( 'PHET_CORE/inherit' ); | ||
const proportionPlayground = require( 'PROPORTION_PLAYGROUND/proportionPlayground' ); | ||
const ProportionPlaygroundColorProfile = require( 'PROPORTION_PLAYGROUND/common/view/ProportionPlaygroundColorProfile' ); | ||
const Side = require( 'PROPORTION_PLAYGROUND/common/model/Side' ); | ||
|
||
/** | ||
* Models mixing of watercolor paints with the weighted geometric mean, then with an applied gamma correction. | ||
|
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 |
---|---|---|
|
@@ -5,13 +5,13 @@ | |
* | ||
* @author Jonathan Olson <[email protected]> | ||
*/ | ||
define( function( require ) { | ||
define( require => { | ||
'use strict'; | ||
|
||
// modules | ||
var inherit = require( 'PHET_CORE/inherit' ); | ||
var NumberProperty = require( 'AXON/NumberProperty' ); | ||
var proportionPlayground = require( 'PROPORTION_PLAYGROUND/proportionPlayground' ); | ||
const inherit = require( 'PHET_CORE/inherit' ); | ||
const NumberProperty = require( 'AXON/NumberProperty' ); | ||
const proportionPlayground = require( 'PROPORTION_PLAYGROUND/proportionPlayground' ); | ||
|
||
/** | ||
* @constructor | ||
|
Oops, something went wrong.