From 70032a77f3f3751a338c87bfdffa7424c7c40751 Mon Sep 17 00:00:00 2001 From: Jonathan Olson Date: Tue, 31 Mar 2020 15:36:57 -0600 Subject: [PATCH] Renaming load-runtime-strings.js => load-unbuilt-strings.js, and renaming string module files, see https://github.com/phetsims/chipper/issues/922 --- js/neuron-main.js | 2 +- js/neuron/view/ConcentrationReadoutLayerNode.js | 2 +- js/neuron/view/NeuronScreenView.js | 2 +- js/neuron/view/chart/MembranePotentialChart.js | 2 +- js/neuron/view/controlpanel/AxonCrossSectionControlPanel.js | 2 +- js/neuron/view/controlpanel/IonsAndChannelsLegendPanel.js | 2 +- js/{neuron-strings.js => neuronStrings.js} | 0 neuron_en.html | 4 ++-- 8 files changed, 8 insertions(+), 8 deletions(-) rename js/{neuron-strings.js => neuronStrings.js} (100%) diff --git a/js/neuron-main.js b/js/neuron-main.js index d7273f1..a1b8e2e 100644 --- a/js/neuron-main.js +++ b/js/neuron-main.js @@ -6,7 +6,7 @@ import Sim from '../../joist/js/Sim.js'; import SimLauncher from '../../joist/js/SimLauncher.js'; -import neuronStrings from './neuron-strings.js'; +import neuronStrings from './neuronStrings.js'; import NeuronProfiler from './neuron/common/NeuronProfiler.js'; import NeuronQueryParameters from './neuron/common/NeuronQueryParameters.js'; import NeuronScreen from './neuron/view/NeuronScreen.js'; diff --git a/js/neuron/view/ConcentrationReadoutLayerNode.js b/js/neuron/view/ConcentrationReadoutLayerNode.js index 5b6ab70..218f5a9 100644 --- a/js/neuron/view/ConcentrationReadoutLayerNode.js +++ b/js/neuron/view/ConcentrationReadoutLayerNode.js @@ -14,7 +14,7 @@ import PhetFont from '../../../../scenery-phet/js/PhetFont.js'; import Node from '../../../../scenery/js/nodes/Node.js'; import Rectangle from '../../../../scenery/js/nodes/Rectangle.js'; import Text from '../../../../scenery/js/nodes/Text.js'; -import neuronStrings from '../../neuron-strings.js'; +import neuronStrings from '../../neuronStrings.js'; import neuron from '../../neuron.js'; import PotassiumIon from '../model/PotassiumIon.js'; import SodiumIon from '../model/SodiumIon.js'; diff --git a/js/neuron/view/NeuronScreenView.js b/js/neuron/view/NeuronScreenView.js index ba0cd41..638faab 100644 --- a/js/neuron/view/NeuronScreenView.js +++ b/js/neuron/view/NeuronScreenView.js @@ -30,7 +30,7 @@ import Path from '../../../../scenery/js/nodes/Path.js'; import Rectangle from '../../../../scenery/js/nodes/Rectangle.js'; import SceneryUtils from '../../../../scenery/js/util/Utils.js'; // eslint-disable-line require-statement-match import RectangularPushButton from '../../../../sun/js/buttons/RectangularPushButton.js'; -import neuronStrings from '../../neuron-strings.js'; +import neuronStrings from '../../neuronStrings.js'; import neuron from '../../neuron.js'; import NeuronConstants from '../common/NeuronConstants.js'; import AxonBodyNode from './AxonBodyNode.js'; diff --git a/js/neuron/view/chart/MembranePotentialChart.js b/js/neuron/view/chart/MembranePotentialChart.js index 2bc9696..f535f3b 100644 --- a/js/neuron/view/chart/MembranePotentialChart.js +++ b/js/neuron/view/chart/MembranePotentialChart.js @@ -31,7 +31,7 @@ import Path from '../../../../../scenery/js/nodes/Path.js'; import Text from '../../../../../scenery/js/nodes/Text.js'; import TextPushButton from '../../../../../sun/js/buttons/TextPushButton.js'; import Panel from '../../../../../sun/js/Panel.js'; -import neuronStrings from '../../../neuron-strings.js'; +import neuronStrings from '../../../neuronStrings.js'; import neuron from '../../../neuron.js'; import NeuronConstants from '../../common/NeuronConstants.js'; import ChartCursor from './ChartCursor.js'; diff --git a/js/neuron/view/controlpanel/AxonCrossSectionControlPanel.js b/js/neuron/view/controlpanel/AxonCrossSectionControlPanel.js index 3331547..8470c3e 100644 --- a/js/neuron/view/controlpanel/AxonCrossSectionControlPanel.js +++ b/js/neuron/view/controlpanel/AxonCrossSectionControlPanel.js @@ -14,7 +14,7 @@ import Text from '../../../../../scenery/js/nodes/Text.js'; import VBox from '../../../../../scenery/js/nodes/VBox.js'; import Checkbox from '../../../../../sun/js/Checkbox.js'; import Panel from '../../../../../sun/js/Panel.js'; -import neuronStrings from '../../../neuron-strings.js'; +import neuronStrings from '../../../neuronStrings.js'; import neuron from '../../../neuron.js'; import NeuronConstants from '../../common/NeuronConstants.js'; diff --git a/js/neuron/view/controlpanel/IonsAndChannelsLegendPanel.js b/js/neuron/view/controlpanel/IonsAndChannelsLegendPanel.js index 49332f9..33945fd 100644 --- a/js/neuron/view/controlpanel/IonsAndChannelsLegendPanel.js +++ b/js/neuron/view/controlpanel/IonsAndChannelsLegendPanel.js @@ -19,7 +19,7 @@ import HStrut from '../../../../../scenery/js/nodes/HStrut.js'; import Text from '../../../../../scenery/js/nodes/Text.js'; import VBox from '../../../../../scenery/js/nodes/VBox.js'; import Panel from '../../../../../sun/js/Panel.js'; -import neuronStrings from '../../../neuron-strings.js'; +import neuronStrings from '../../../neuronStrings.js'; import neuron from '../../../neuron.js'; import NeuronConstants from '../../common/NeuronConstants.js'; import PotassiumGatedChannel from '../../model/PotassiumGatedChannel.js'; diff --git a/js/neuron-strings.js b/js/neuronStrings.js similarity index 100% rename from js/neuron-strings.js rename to js/neuronStrings.js diff --git a/neuron_en.html b/neuron_en.html index 399e8e7..7cc7f50 100644 --- a/neuron_en.html +++ b/neuron_en.html @@ -127,13 +127,13 @@ }; // Kick off string loading immediately - loadURL( '../chipper/js/load-runtime-strings.js' ); + loadURL( '../chipper/js/load-unbuilt-strings.js' ); // Queue all of the preloads to be loaded. preloads.forEach( preload => loadURL( preload ) ); // Module loading in compilation-free (development) mode will be kicked off once strings are loaded. - // This is done in load-runtime-strings.js + // This is done in load-unbuilt-strings.js window.phet.chipper.loadModules = () => loadURL( 'js/neuron-main.js', 'module' );