Skip to content

Commit

Permalink
Changes Strings.ts file references to PascalCase, see: phetsims/simul…
Browse files Browse the repository at this point in the history
  • Loading branch information
marlitas committed Sep 7, 2022
1 parent 4256fd7 commit 6db6d9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions js/PhScaleBasicsStrings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ type StringsType = {
}
};

const phScaleBasicsStrings = getStringModule( 'PH_SCALE_BASICS' ) as StringsType;
const PhScaleBasicsStrings = getStringModule( 'PH_SCALE_BASICS' ) as StringsType;

phScaleBasics.register( 'phScaleBasicsStrings', phScaleBasicsStrings );
phScaleBasics.register( 'PhScaleBasicsStrings', PhScaleBasicsStrings );

export default phScaleBasicsStrings;
export default PhScaleBasicsStrings;
4 changes: 2 additions & 2 deletions js/ph-scale-basics-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import PHScaleConstants from '../../ph-scale/js/common/PHScaleConstants.js';
import PHScaleQueryParameters from '../../ph-scale/js/common/PHScaleQueryParameters.js';
import MacroScreen from '../../ph-scale/js/macro/MacroScreen.js';
import Tandem from '../../tandem/js/Tandem.js';
import phScaleBasicsStrings from './phScaleBasicsStrings.js';
import PhScaleBasicsStrings from './PhScaleBasicsStrings.js';

// If autofill query parameter was not in the URL, change the default.
if ( !QueryStringMachine.containsKey( 'autofill' ) ) {
Expand All @@ -27,7 +27,7 @@ simLauncher.launch( () => {
} )
];

const sim = new Sim( phScaleBasicsStrings[ 'ph-scale-basics' ].titleStringProperty, screens, {
const sim = new Sim( PhScaleBasicsStrings[ 'ph-scale-basics' ].titleStringProperty, screens, {
credits: PHScaleConstants.CREDITS,

// phet-io options
Expand Down

0 comments on commit 6db6d9d

Please sign in to comment.