Skip to content

Commit

Permalink
fix lint in development HTML and a11y view html files, phetsims/chipp…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Sep 29, 2023
1 parent 7ae7e73 commit 9b57e87
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ published version,

### Try it!

<a href="https://phet.colorado.edu/sims/html/arithmetic/latest/arithmetic_en.html" target="_blank">Click here to run "
Arithmetic".</a>
<a href="https://phet.colorado.edu/sims/html/arithmetic/latest/arithmetic_en.html" target="_blank">Click here to
run "Arithmetic".</a>

<a href="https://phet.colorado.edu/sims/html/arithmetic/latest/arithmetic_en.html" target="_blank">
<img src="https://raw.githubusercontent.com/phetsims/arithmetic/main/assets/arithmetic-screenshot.png" alt="Screenshot" style="width: 400px;"/>
Expand Down Expand Up @@ -69,8 +69,8 @@ new or changed files.

(4) In a new terminal/command prompt, start an http-server

(5) Open in the browser: `http://localhost/arithmetic/arithmetic_en.html` (You will probably need to modify this URL
based on your HTTP port and relative path.)
(5) Open in the browser: `http://localhost/arithmetic/arithmetic_en.html` (You will probably need to modify this
URL based on your HTTP port and relative path.)

#### Optional: Build the simulation into a single file

Expand All @@ -80,8 +80,9 @@ based on your HTTP port and relative path.)
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/arithmetic/build/adapted-from-phet/arithmetic_en_adapted-from-phet.html` (You
will probably need to modify this URL based on your HTTP port and relative path.)
(3) Open in the
browser: `http://localhost/arithmetic/build/adapted-from-phet/arithmetic_en_adapted-from-phet.html` (You will
probably need to modify this URL based on your HTTP port and relative path.)

### Get Involved

Expand Down
2 changes: 2 additions & 0 deletions arithmetic_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@


<script type="text/javascript">
/*eslint-disable quotes, quote-props*/

window.phet = window.phet || {};
window.phet.chipper = window.phet.chipper || {};
Expand Down Expand Up @@ -149,6 +150,7 @@

// Module loading in compilation-free (development) mode will be kicked off once strings are loaded.
// This is done in load-unbuilt-strings.js
// eslint-disable-next-line bad-sim-text
window.phet.chipper.loadModules = () => loadURL( '../chipper/dist/js/arithmetic/js/arithmetic-main.js', 'module' );
</script>
</body>
Expand Down

0 comments on commit 9b57e87

Please sign in to comment.