Skip to content

Commit

Permalink
Run grunt update, see phetsims/chipper#1157
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Aug 15, 2022
1 parent 118addb commit 8c71179
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 53 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ that will automatically transpile new or changed files.

(1) Change directory to the simulation directory: `cd ../projectile-motion`

(2) Build the sim: `grunt --brands=adapted-from-phet`
(2) Build the sim: `grunt --brands=adapted-from-phet`. It is safe to ignore warnings like `>> WARNING404: Skipping potentially non-public dependency`,
which indicate that non-public PhET-iO code is not being included in the build.

(3) Open in the browser: `http://localhost/projectile-motion/build/adapted-from-phet/projectile-motion_en_adapted-from-phet.html` (You will probably need to modify this URL based on your HTTP port and relative path.)

Expand Down
102 changes: 50 additions & 52 deletions js/projectileMotionStrings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,64 +4,62 @@
* Auto-generated from modulify, DO NOT manually modify.
*/
/* eslint-disable */
import getStringModule from "../../chipper/js/getStringModule.js";
import projectileMotion from "./projectileMotion.js";
import getStringModule from '../../chipper/js/getStringModule.js';
import projectileMotion from './projectileMotion.js';

type StringsType = {
"projectile-motion": {
title: string;
'projectile-motion': {
'title': string;
};
screen: {
lab: string;
intro: string;
drag: string;
vectors: string;
stats: string;
'screen': {
'lab': string;
'intro': string;
'drag': string;
'vectors': string;
'stats': string;
};
pattern0Value1Units: string;
pattern0Value1UnitsWithSpace: string;
custom: string;
enter: string;
angle: string;
height: string;
gravity: string;
m: string;
meters: string;
mass: string;
kg: string;
diameter: string;
initialSpeed: string;
altitude: string;
speed: string;
metersPerSecond: string;
metersPerSecondSquared: string;
dragCoefficient: string;
airResistance: string;
time: string;
s: string;
range: string;
cannonball: string;
pumpkin: string;
baseball: string;
car: string;
football: string;
human: string;
piano: string;
golfBall: string;
tankShell: string;
initialValues: string;
velocityVectors: string;
accelerationVectors: string;
forceVectors: string;
total: string;
components: string;
rangeMessage: string;
'pattern0Value1Units': string;
'pattern0Value1UnitsWithSpace': string;
'custom': string;
'enter': string;
'angle': string;
'height': string;
'gravity': string;
'm': string;
'meters': string;
'mass': string;
'kg': string;
'diameter': string;
'initialSpeed': string;
'altitude': string;
'speed': string;
'metersPerSecond': string;
'metersPerSecondSquared': string;
'dragCoefficient': string;
'airResistance': string;
'time': string;
's': string;
'range': string;
'cannonball': string;
'pumpkin': string;
'baseball': string;
'car': string;
'football': string;
'human': string;
'piano': string;
'golfBall': string;
'tankShell': string;
'initialValues': string;
'velocityVectors': string;
'accelerationVectors': string;
'forceVectors': string;
'total': string;
'components': string;
'rangeMessage': string;
};

const projectileMotionStrings = getStringModule(
"PROJECTILE_MOTION"
) as StringsType;
const projectileMotionStrings = getStringModule( 'PROJECTILE_MOTION' ) as StringsType;

projectileMotion.register("projectileMotionStrings", projectileMotionStrings);
projectileMotion.register( 'projectileMotionStrings', projectileMotionStrings );

export default projectileMotionStrings;

0 comments on commit 8c71179

Please sign in to comment.