Skip to content

Commit

Permalink
add preloads for fluent in molecules-and-light, see phetsims/greenhou…
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Nov 25, 2024
1 parent 920b6b7 commit df20e3e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 7 additions & 1 deletion molecules-and-light_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
"phet-io",
"adapted-from-phet"
],
"preload": [
"../sherpa/lib/fluent-0.13.0.min.js",
"../chipper/js/load-unbuilt-fluent-strings.js"
],
"simFeatures": {
"supportsSound": true,
"supportsInteractiveDescription": true
Expand Down Expand Up @@ -110,7 +114,9 @@
'../sherpa/lib/seedrandom-2.4.2.js',
'../sherpa/lib/base64-js-1.2.0.js',
'../sherpa/lib/TextEncoderLite-3c9f6f0.js',
'../tandem/js/PhetioIDUtils.js'
'../tandem/js/PhetioIDUtils.js',
'../sherpa/lib/fluent-0.13.0.min.js',
'../chipper/js/load-unbuilt-fluent-strings.js'
];

if ( brand === 'phet-io' ) {
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
"phet-io",
"adapted-from-phet"
],
"preload": [
"../sherpa/lib/fluent-0.13.0.min.js",
"../chipper/js/load-unbuilt-fluent-strings.js"
],
"simFeatures": {
"supportsSound": true,
"supportsInteractiveDescription": true
Expand Down

0 comments on commit df20e3e

Please sign in to comment.