Skip to content

Commit

Permalink
Run grunt update, see phetsims/chipper#1148
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Nov 19, 2021
1 parent de561e5 commit 301a2a2
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 15 deletions.
2 changes: 1 addition & 1 deletion blackbody-spectrum_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@

// Module loading in compilation-free (development) mode will be kicked off once strings are loaded.
// This is done in load-unbuilt-strings.js
window.phet.chipper.loadModules = () => loadURL( 'js/blackbody-spectrum-main.js', 'module' );
window.phet.chipper.loadModules = () => loadURL( '../chipper/dist/blackbody-spectrum/js/blackbody-spectrum-main.js', 'module' );
</script>
</body>
</html>
14 changes: 0 additions & 14 deletions js/blackbodySpectrumStrings.js

This file was deleted.

40 changes: 40 additions & 0 deletions js/blackbodySpectrumStrings.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// Copyright 2020-2021, University of Colorado Boulder

/**
* Auto-generated from modulify, DO NOT manually modify.
*/
/* eslint-disable */
import getStringModule from '../../chipper/js/getStringModule.js';
import blackbodySpectrum from './blackbodySpectrum.js';

type StringsType = {
'blackbody-spectrum': {
'title': string
},
'spectralPowerDensityLabel': string,
'wavelengthLabel': string,
'subtitleLabel': string,
'b': string,
'g': string,
'r': string,
'siriusA': string,
'sun': string,
'lightBulb': string,
'earth': string,
'blackbodyTemperature': string,
'kelvinUnits': string,
'graphValues': string,
'intensity': string,
'labels': string,
'intensityUnitsLabel': string,
'xRay': string,
'ultraviolet': string,
'visible': string,
'infrared': string
};

const blackbodySpectrumStrings = getStringModule( 'BLACKBODY_SPECTRUM' ) as StringsType;

blackbodySpectrum.register( 'blackbodySpectrumStrings', blackbodySpectrumStrings );

export default blackbodySpectrumStrings;

0 comments on commit 301a2a2

Please sign in to comment.