From 9e1cecdc2facc3a039f84d373c6f3093c991418c Mon Sep 17 00:00:00 2001 From: samreid Date: Fri, 11 Jun 2021 09:32:33 -0600 Subject: [PATCH] Rename Property, see https://github.com/phetsims/bamboo/issues/27 --- js/demo/DemoMultiplePlots.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/demo/DemoMultiplePlots.js b/js/demo/DemoMultiplePlots.js index 9f95749..762fb3b 100644 --- a/js/demo/DemoMultiplePlots.js +++ b/js/demo/DemoMultiplePlots.js @@ -109,8 +109,8 @@ class DemoMultiplePlots extends VBox { } ); const linear = new Transform1( x => x, x => x ); - const logProperty = new Property( linear ); - const controls = new VerticalAquaRadioButtonGroup( logProperty, [ + const transformProperty = new Property( linear ); + const controls = new VerticalAquaRadioButtonGroup( transformProperty, [ { node: new Text( 'linear', { fontSize: 14 } ), value: linear }, { node: new Text( 'log', { fontSize: 14 } ), value: new Transform1( Math.log, Math.exp, { @@ -125,7 +125,7 @@ class DemoMultiplePlots extends VBox { } ) } ] ); - logProperty.link( type => chartTransform.setYTransform( type ) ); + transformProperty.link( type => chartTransform.setYTransform( type ) ); const readout = new Text( 'Press/Drag to show point', { fontSize: 30,