Skip to content

Commit

Permalink
Convert back to JS, see phetsims/chipper#1072
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Sep 4, 2021
1 parent feea89f commit 95a6139
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
5 changes: 2 additions & 3 deletions blast_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
"adapted-from-phet"
],
"simulation": true,
"readmeCreatedManually": true,
"typescript": true
"readmeCreatedManually": true
},
"eslintConfig": {
"extends": "../chipper/eslint/sim_eslintrc.js"
Expand Down Expand Up @@ -124,7 +123,7 @@

// Module loading in compilation-free (development) mode will be kicked off once strings are loaded.
// This is done in load-unbuilt-strings.js
window.phet.chipper.loadModules = () => loadURL( '../chipper/dist/blast/js/blast-main.js', 'module' );
window.phet.chipper.loadModules = () => loadURL( 'js/blast-main.js', 'module' );
</script>
</body>
</html>
3 changes: 0 additions & 3 deletions js/blast/model/BlastModel.ts → js/blast/model/BlastModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
import blast from '../../blast.js';
import Particle from './Particle.js';

const x: number = 'hello';
console.log( x );

class BlastModel {

/**
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"adapted-from-phet"
],
"simulation": true,
"readmeCreatedManually": true,
"typescript": true
"readmeCreatedManually": true
},
"eslintConfig": {
"extends": "../chipper/eslint/sim_eslintrc.js"
Expand Down

0 comments on commit 95a6139

Please sign in to comment.