From a05322ffde56b3929bcd27ead8c6c8e25a780f91 Mon Sep 17 00:00:00 2001 From: Michael Kauzmann Date: Wed, 27 Nov 2024 15:21:22 -0700 Subject: [PATCH] move browser files in chipper into a sub directory, https://github.com/phetsims/chipper/issues/1534 --- balloons-and-static-electricity-tests.html | 6 +++--- balloons-and-static-electricity_en.html | 4 ++-- js/BalloonsAndStaticElectricityStrings.ts | 4 ++-- js/balloons-and-static-electricity-tests.js | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/balloons-and-static-electricity-tests.html b/balloons-and-static-electricity-tests.html index e5ff8e13..e734f518 100644 --- a/balloons-and-static-electricity-tests.html +++ b/balloons-and-static-electricity-tests.html @@ -117,13 +117,13 @@ '../sherpa/lib/he-1.1.1.js', '../assert/js/assert.js', '../query-string-machine/js/QueryStringMachine.js', - '../chipper/js/initialize-globals.js', + '../chipper/js/browser/initialize-globals.js', '../sherpa/lib/seedrandom-2.4.2.js', '../sherpa/lib/base64-js-1.2.0.js', '../sherpa/lib/TextEncoderLite-3c9f6f0.js', '../tandem/js/PhetioIDUtils.js', '../sherpa/lib/qunit-2.20.0.js', - '../chipper/js/sim-tests/qunit-connector.js' + '../chipper/js/browser/sim-tests/qunit-connector.js' ]; if ( brand === 'phet-io' ) { @@ -146,7 +146,7 @@ }; // Kick off string loading immediately - loadURL( '../chipper/js/load-unbuilt-strings.js' ); + loadURL( '../chipper/js/browser/load-unbuilt-strings.js' ); // Queue all of the preloads to be loaded. preloads.forEach( preload => loadURL( preload ) ); diff --git a/balloons-and-static-electricity_en.html b/balloons-and-static-electricity_en.html index 883e02f8..38c15c96 100644 --- a/balloons-and-static-electricity_en.html +++ b/balloons-and-static-electricity_en.html @@ -117,7 +117,7 @@ '../sherpa/lib/he-1.1.1.js', '../assert/js/assert.js', '../query-string-machine/js/QueryStringMachine.js', - '../chipper/js/initialize-globals.js', + '../chipper/js/browser/initialize-globals.js', '../sherpa/lib/seedrandom-2.4.2.js', '../sherpa/lib/base64-js-1.2.0.js', '../sherpa/lib/TextEncoderLite-3c9f6f0.js', @@ -145,7 +145,7 @@ }; // Kick off string loading immediately - loadURL( '../chipper/js/load-unbuilt-strings.js' ); + loadURL( '../chipper/js/browser/load-unbuilt-strings.js' ); // Queue all of the preloads to be loaded. preloads.forEach( preload => loadURL( preload ) ); diff --git a/js/BalloonsAndStaticElectricityStrings.ts b/js/BalloonsAndStaticElectricityStrings.ts index b8a7a155..b07f0faf 100644 --- a/js/BalloonsAndStaticElectricityStrings.ts +++ b/js/BalloonsAndStaticElectricityStrings.ts @@ -7,8 +7,8 @@ * Auto-generated from modulify, DO NOT manually modify. */ -import getStringModule from '../../chipper/js/getStringModule.js'; -import type LocalizedStringProperty from '../../chipper/js/LocalizedStringProperty.js'; +import getStringModule from '../../chipper/js/browser/getStringModule.js'; +import type LocalizedStringProperty from '../../chipper/js/browser/LocalizedStringProperty.js'; import balloonsAndStaticElectricity from './balloonsAndStaticElectricity.js'; type StringsType = { diff --git a/js/balloons-and-static-electricity-tests.js b/js/balloons-and-static-electricity-tests.js index 46d5cf89..a09d717b 100644 --- a/js/balloons-and-static-electricity-tests.js +++ b/js/balloons-and-static-electricity-tests.js @@ -6,7 +6,7 @@ * @author Jesse Greenberg (PhET Interactive Simulations) */ -import qunitStart from '../../chipper/js/sim-tests/qunitStart.js'; +import qunitStart from '../../chipper/js/browser/sim-tests/qunitStart.js'; import '../../scenery/js/util/Trail.js'; // Why is Trail not added to scenery namespace for these tests?? import './balloons-and-static-electricity/view/BASESummaryNodeTests.js'; import './balloons-and-static-electricity/view/describers/BalloonDescriberTests.js';